Debian trying to overwrite add-shell with passwd

{{{
Preparing to replace debianutils 2.8.4 (using …/debianutils_2.23.1_i386.deb) …
Unpacking replacement debianutils …
dpkg: error processing /var/cache/apt/archives/debianutils_2.23.1_i386.deb (–unpack):
ย trying to overwrite `/usr/sbin/add-shell’, which is also in package passwd
Errors were encountered while processing:
ย /var/cache/apt/archives/debianutils_2.23.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
}}}

Simply run
{{{
dpkg -r –force all passwd
apt-get -f install
}}}

28 thoughts on “Debian trying to overwrite add-shell with passwd

  1. Thanks. Maybe this will help someone to find this site:
    dpkg: error processing /var/cache/apt/archives/debianutils_2.30_i386.deb

  2. thanks for the solution. I ran the same thing when trying to upgrade from Sarge to Lenny (which is kinda strange upgrade path to begin with… should’ve been sarge -> etch -> lenny)

  3. this might be a stupid question
    but, where exactly can i run the following on WinSCP:

    dpkg -r –force all passwd
    apt-get -f install

Leave a Reply

Your email address will not be published. Required fields are marked *