[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: error on security update



On Fri, Nov 10, 2006 at 09:54:30AM -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 ?
> 
> -- 
> Regards
Hi Stephen,
please report this bug. This is a known error type for Debian. If 2
packages contain the same file (e.g. /usr/bin/pear), then this is
normally illegal. In this case one package is replacing another because
it is an upgrade, so the error is not as severe a problem, just a minor
inconveince, but a bug no less. You can use 'dpkg -i --force-overwrite
PKG.deb' to fix this error. If the problem is not resolved, you may need
to do 'apt-get -f install' to get it resolved, but it should finish the
installation. Otherwise, report back to the list.
Cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: