Bug#413447: [php-maint] Bug#413447: Etch upgrade divide php-pear into several packages without warning

sean finney seanius at debian.org
Sat Mar 10 10:59:13 CET 2007


On Sat, 2007-03-10 at 01:51 +0100, Aurélien Le Provost - Ribaltchenko
> > i'm curious how you found yourself in this position.  currently in
> > etch there is a php4-pear package which depends on php-pear plus
> > all of the modules that used to be contained by php4-pear (php-db,
> > etc).  btw, php-log was never part of php4-pear, and was a seperate
> > package (php4-pear-log).
> Yep but the sarge to etch upgrade I decided to upgrade from php4 to 
> php5. Despite the php-pear replaces "php4-pear (<< 4:4.4.0-0)", it 
> only depends of  "php5-cli | php4-cli, php5-common", not php-db, 
> php-log etc. These packages should at least belong to the package 
> recommendx.

i think it's a valid request to add them to recommends, so i'll do that
before closing this bug.  but still, those packages should have been
installed as part of your dist-upgrade, unless:

> > did you remove the php4-pear package before upgrading?
> Yes : as I said I decided to switch to php5, so for me it's mean purge 
> all php4 package since I will not use them anymore. Also, when I do 
> dist-upgrade and that I see a package or many which will be removed, 
> I stop and purge it.

that's why the packages aren't installed.  in etch/sid, php4-pear is the
transitional "compatibility" package responsible for ensuring that
php-db etc are installed.  see:


which also hints at the reasons for the package split. i'm pretty sure
that the dist-upgrade wasn't going to remove php4-pear, and that it was
some over-zealous purging on your part :)

for future reference, i think that upgrading/dist-upgrading first,
switching to php5 second, and purging third instead of all three at once
will help you avoid such potential problems in the future (if you purged
php4* after the upgrade instead of before, you'd have installed all the
php-pear packages).

> > you should probably file a  seperate bug report against this to the
> > php-log package, which is maintained by someone outside the debian
> > php maintainers group
> Okay, I will make it in the days coming.

thanks.  also, any packages which depend only on php-pear but not the
specific packages (maybe the package that led you to all of this) should
have their dependencies updated too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070310/eccddbef/attachment.pgp

More information about the pkg-php-maint mailing list