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

Related posts:

  1. X.Org 7.1 on Debian with FGLRX drivers
  2. Java + Firefox + Debian
  3. Debian RealPlayer + Opera

26 comments

  1. mariutsch says:

    Worked fine, thanks.

  2. tim says:

    I had the same problem. Thank you very much.

  3. Minken says:

    Thanks a lot Erik, it worked like a charm.

  4. ewoh7nix says:

    well, it's very usefull for me.

    thanks guys

  5. NiteLite says:

    Excellent. Works perfectly :)

  6. dave says:

    this helped a lot, thanks.

  7. RK says:

    Helped me too. Thanks.

  8. robert says:

    Ah, that worked. Thanks!

  9. jeremy says:

    you made my day! thank you!

  10. deco says:

    thanks. works perfectly

  11. FirK says:

    Thanks! Works like charm!

  12. Noir says:

    Thanks! Works.

  13. moileroi says:

    Thanks. Maybe this will help someone to find this site:

    dpkg: error processing /var/cache/apt/archives/debianutils_2.30_i386.deb

  14. gr8linux says:

    Nice ;) thanx

  15. Adar says:

    Helped me too. Thanks :)

  16. Stacey Richards says:

    Thank you so much, works great!

  17. Marek says:

    +1

    Cheers for that

  18. Mindless says:

    Thanks! It Works!

  19. FrankOF says:

    great, helped me a lot!

  20. maniac15 says:

    Great hint. It works fine :D

  21. Christian says:

    Thanks a lot for your Help!

  22. netking17 says:

    +1 Thanks :-)

  23. Cygon says:

    Saves my ass :)

    Got stuck on this conflict with an embedded system.

  24. Val Booth says:

    *Thank you*

    This solved my problem during my upgrade from sarge to lenny.

  25. up0 says:

    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)

  26. ewoh7nix says:

    thnx bro, you solve my problem & save my time too :)

Leave a Reply

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

*