1

Whenever I try to apt-get install a package I get the message:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

So I run sudo dpkg --configure -a but then I always get stuck for very long on

Setting up libc-bin (2.27-3ubuntu1.2) ...

Full log:

user@dell:~$ sudo apt-get remove libc-bin
[sudo] password for user:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
user@dell:~$ sudo dpkg --configure -a
Setting up libc-bin (2.27-3ubuntu1.4) ...

I already tried several things:

  • update and upgrade: sudo apt-get update, 'sudo apt-get upgrade', same issue
  • Reinstall libc-bin with sudo apt-get install --reinstall libc-bin, but it still only reminds me to run 'sudo dpkg --configure -a'
  • download libc-bin deb package manually from https://packages.ubuntu.com/de/bionic/libc-bin and install it with sudo dpkg --force-all -i libc-bin_2.27-3ubuntu1.2_amd64.deb, same error

Another idea would be to completely delete libc-bin package, but I read that in this case I would not be able to use my bash anymore... (Can I delete libc-bin?)

I am using Ubuntu 18.04.05 LTS (I considered an upgrade to 20.04 but for this I would need to run sudo apt-get upgrade again which raises the same error).

Bene
  • 11

0 Answers0