Re: error on security update
On Fri, Nov 10, 2006 at 09:54:30 -0500, Stephen wrote:
> Good Day:
>
> Just attempted a security update for Sarge (PHP4-PEAR).
>
> I received the following (I'm using aptitude in CLI);
>
> (Reading database ... 47570 files and directories currently installed.)
> Preparing to replace php4-pear 4:4.3.10-16 (using
> .../php4-pear_4%3a4.3.10-18_all.deb) ...
> Unpacking replacement php4-pear ...
> dpkg: error processing
> /var/cache/apt/archives/php4-pear_4%3a4.3.10-18_all.deb (--unpack):
> trying to overwrite `/usr/bin/pear', which is also in package php-pear
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
> /var/cache/apt/archives/php4-pear_4%3a4.3.10-18_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Any ideas on how to fix ?
The root of the problem seems to be "php-pear". I cannot find it in the
Sarge repositories in my sources.list. Where did it come from?
You can try to remove php-pear and install php4-pear with dpkg:
dpkg --force-depends --remove php-pear
dpkg --install /var/cache/apt/archives/php4-pear_4:4.3.10-18_all.deb
There might be more conflicts coming if you have other non-Sarge
packages installed. You might have to remove all those packages before
you can do the upgrade.
--
Regards,
Florian
Reply to: