Score:1

apt-get stuck on "Setting up libc-bin"

in flag

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).

Someone avatar
my flag
Looks wierd , can you run any apt commands ? If not then it looks like you need to wait until libc-bin is being settled up ( 1 - 2 hours to be maximum )
Bene avatar
in flag
Also other apt commands like 'sudo apt-get install vim' are stuck at Setting up libc-bin. I will try again waiting for 2 hours, but I waited for at least an hour already.
Bene avatar
in flag
Waiting for longer time didn't solve the issue, the process remains stuck on 'Setting up libc-bin'
Someone avatar
my flag
Hi Just curious to know that is your problem solved ?
Bene avatar
in flag
Hi Algnis, unfortunately I wasn't able to solve it yet..
Someone avatar
my flag
[edit] the question and add a "." Which will just make the question active again
Someone avatar
my flag
Again curious to know if the problem is solved or not
Someone avatar
my flag
https://askubuntu.com/a/1216429/1460940
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.