[dev] horde-translation complains about missing Console_Table

Vilius Sumskas/LNK vilius at lnk.lt
Wed May 13 12:02:29 UTC 2015


> > # pear install Console_Table
> > pear/Console_Table is already installed and is the same as the
> > released version 1.2.1
> > install failed
> 
> And is it actually installed in one of the include_paths?

>  
> Thanks a lot for your help, Vilius, I think I got it now:
>  
> The /usr/local/share/pear/.registry/console_table.reg was there but
> /usr/local/share/pear/Console/Table.php was not.
> 
> I removed the console_table.reg file and did another
> pear install Console_Table.
> 

> Maybe there is more to it and I cannot see it, i.e. more pear-
> modules may seem to be installed by *.reg files but really are not. 
> Here is a listing of the .registry directory. The files from the 
> first (successfull? fast?) installation date Sept or Oct 2014, the 
> new ones May 2015.

> 
> root at luna:/usr/local/share/pear/.registry # ll
> total 1073
> drwxr-xr-x  2 root  wheel       2 May  8 09:54 .channel.__uri/
> drwxr-xr-x  2 root  wheel       2 May  8 09:54 .channel.doc.php.net/
> drwxr-xr-x  2 root  wheel     110 May  8 15:51 .channel.pear.horde.org/
> drwxr-xr-x  2 root  wheel      10 Oct 24  2014 .channel.pear.phpunit.de/
> drwxr-xr-x  2 root  wheel       3 Oct 22  2014 
.channel.pear.symfony.com/
> drwxr-xr-x  2 root  wheel      13 May  8 17:51 .channel.pecl.php.net/
> -rw-r--r--  1 root  wheel   14407 May  8 09:54 archive_tar.reg
> -rw-r--r--  1 root  wheel    9290 Oct 24  2014 auth_sasl.reg
> -rw-r--r--  1 root  wheel   13984 Oct 24  2014 cache.reg
> -rw-r--r--  1 root  wheel   11296 Oct 22  2014 console_getargs.reg
> -rw-r--r--  1 root  wheel    6862 May  8 09:54 console_getopt.reg
> -rw-r--r--  1 root  wheel   19444 May 13 12:46 console_table.reg
> -rw-r--r--  1 root  wheel   23341 Nov 26 08:09 date.reg
> -rw-r--r--  1 root  wheel   30823 Nov 30 22:37 db.reg
> -rw-r--r--  1 root  wheel    7890 Oct 22  2014 event_dispatcher.reg
> -rw-r--r--  1 root  wheel   13225 Oct 22  2014 file_find.reg
> -rw-r--r--  1 root  wheel    9163 Oct 24  2014 file_fstab.reg
> -rw-r--r--  1 root  wheel   17682 Oct 24  2014 http_request.reg
> -rw-r--r--  1 root  wheel    6140 May  5 09:09 math_biginteger.reg
> -rw-r--r--  1 root  wheel   55266 May  4 13:08 net_dns2.reg
> -rw-r--r--  1 root  wheel   19336 Oct 24  2014 net_imap.reg
> -rw-r--r--  1 root  wheel    6360 Oct 24  2014 net_smtp.reg
> -rw-r--r--  1 root  wheel    3462 Oct 24  2014 net_socket.reg
> -rw-r--r--  1 root  wheel   10801 Oct 24  2014 net_url.reg
> -rw-r--r--  1 root  wheel   89121 May  8 09:54 pear.reg
> -rw-r--r--  1 root  wheel   63371 Oct 22  2014 
pear_packagefilemanager.reg
> -rw-r--r--  1 root  wheel   34784 Oct 22  2014 
pear_packagefilemanager2.reg
> -rw-r--r--  1 root  wheel   46812 Oct 22  2014 
> pear_packagefilemanager_plugins.reg
> -rw-r--r--  1 root  wheel  167285 Oct 22  2014 php_compatinfo.reg
> -rw-r--r--  1 root  wheel   14603 Oct 24  2014 services_weather.reg
> -rw-r--r--  1 root  wheel   19431 May  8 09:54 structures_graph.reg
> -rw-r--r--  1 root  wheel   21240 Oct 24  2014 text_captcha.reg
> -rw-r--r--  1 root  wheel    6131 Oct 24  2014 text_figlet.reg
> -rw-r--r--  1 root  wheel    3650 Oct 24  2014 text_password.reg
> -rw-r--r--  1 root  wheel   88550 Nov 28 15:59 text_wiki.reg
> -rw-r--r--  1 root  wheel   27364 Oct 22  2014 xml_parser.reg
> -rw-r--r--  1 root  wheel   53979 Oct 22  2014 xml_serializer.reg
> -rw-r--r--  1 root  wheel   18537 Oct 24  2014 xml_svg.reg
> -rw-r--r--  1 root  wheel    1612 Oct 22  2014 xml_tree.reg
> -rw-r--r--  1 root  wheel   25970 May  8 09:54 xml_util.reg

> 
> 
> I am reluctant to manually repeat the above trick with the deleted 
> *.reg files as it's just too many of them. Isn't there a faster way,
> such as renaming the complete .registry directory and running 
> pear install horde/horde_role
> pear run-scripts horde/horde_role ?

In theory you should be able to just wipe out all pear directory and 
reinstall PEAR and every package again.

As usuall, make a backup.

-- 
   Vilius


More information about the dev mailing list