This is a Debian 8 container running on a Mint 17 64 bit host. I did an apt-get update followed by an apt-get upgrade. It just stopped doing anything when it got to setting up “at”. I eventually used ^C to get out. Rebooted the container and did a dpkg --configure -a since I wasn’t able to do anything with apt-get. I attempted to purge at but that hung also, however it appears to be purged.
From dpkg -l I see:
pF at 3.1.16-1 amd64 …
Now it is stuck at Setting up exim4-daemon-light (4.84.2-2+deb8u4) forever. Even after rebooting.
I would like to install strace and run it against dpkg to see what’s up but that’s possible.
I’ve installed Debian about 3 times now as an LXD container and have had similar problems with apt-get install and apt-get upgrade hanging while setting up various packages.
I did a reinstall and everything worked fine WRT the upgrade, however when I went to install the app that I’m trying to get to run in the container, it hung part way through:
Setting up vim (2:7.4.488-7+deb8u3) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode
Setting up haveged (1.9.1-1) ...
It’s been setting up haveged for over an hour. I think I can consider it hung. This is the 4th time I’ve been installing something (or upgrading) that it hung. I have no idea how to recover. I can’t control-c out of it.
I brought up another console and see:
The error I think I searched on to find the solution was “Looping too
fast. Throttling execution a little”. There were other errors in the
output, but that one was being tossed out fairly frequently. I can’t
imagine I’m the only one experience the phenomenon I destroyed and
recreated 4 containers before I found the problem and each time, it
decided to quit in different places. The second time all I did was try
to install openssh-server and it hung. I didn’t even get to the step
where was installing my main app.
Hi,
I had a similar problem.
Any package that is trying to install policykit-1 as dependency is hanging forever at some point with this process:
/bin/systemd-tty-ask-password-agent --watch
I found a solution for this issue.
That policykit-1 installation on debian8 is not stable! It is not, at all…
We just need to install it from the jessie-backports repository. I successfully installed it with the following command: