Re: Problem upgrading system
On Tue, 2006-11-21 at 13:35 +0100, Alexander Derenbach wrote:
> Hi,
>
> I just tried to upgrade my system with apt-get upgrade. An I get the
> following output:
>
> Preparing to replace passwd 1:4.0.3-30.4 (using
> .../passwd_1%3a4.0.3-31sarge9_i386.deb) ...
> Unpacking replacement passwd ...
> dpkg: error processing
> /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge9_i386.deb (--unpack):
> trying to overwrite `/usr/sbin/add-shell', which is also in package
> debianutils
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
> /var/cache/apt/archives/passwd_1%3a4.0.3-31sarge9_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
Overwriting this file should not be a problem.
So you can solve this issue with the following command,
dpkg -i --force-overwrite /var/cache/apt/archives/$PACKAGENAME
Regards,
Marcel
Reply to: