[php-maint] Bug#443524: Bug#443524: Bug#443524: Bug#443524: Bug#443524: php-pear: manually installed PEAR modules shouldn't go to /usr/share/php

Ondřej Surý ondrej at debian.org
Fri Mar 18 16:38:48 UTC 2011


On Fri, Mar 18, 2011 at 17:25, Thomas Goirand <thomas at goirand.fr> wrote:
>
> ----- Original message -----
>> if we provide pear/pecl commands for the local admin (which i hope
>> nobody argues we shouldn't), they should (a) work, and (b) not
>> clobber/collide with the packaging namespace.   so i think that kinda
>> requires that we do have seperate directories.
>
> As much as I know, "pear install X" does install a
> PEAR package named X and does work in Debian.
>
> Also, we do package the .reg files in our PEAR
> packages, so the pear utility see them installed...
>
> I don't think we have any issue here...

We have a issue...

apt-get install php-pear/stable
pear upgrade
apt-get -f install php-pear/stable-security

would create pile of mess in /usr/share/php

User installed pear modules have to go into some other directory -
/usr/local/share/php f.e.

O.
-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/





More information about the pkg-php-maint mailing list