PDA

View Full Version : [ubuntu] dpkg hangs on update-initramfs: Generating /boot/initrd.img-3.5.0-21-generic



schmii
December 26th, 2012, 07:08 PM
Hey guys, when ever I try to install anything usiong dpkg or apt-get, it tells me to run 'dpkg --configure -a'
When I run that, it hangs infinitely at:
update-initramfs: Generating /boot/initrd.img-3.5.0-21-generic

Any help would be greatly appreciated, as I can't install any new packages.

radicaledward
December 27th, 2012, 11:40 PM
I am having the same problem. Any help would be appreciated.

psilva261
January 18th, 2013, 12:07 PM
Guess what, I have the same problem too. I just discovered that dpkg is running since 5 hours (automatic update), and I killed it. Then when trying to do apt-get install something, I was suggested to run 'sudo dpkg --configure -a', which I did. So same thing again...

Did anyone of you open a bug ticket yet? (Or even solve the problem?)

ibjsb4
January 18th, 2013, 12:21 PM
Is this 12o4 with the new 3.5 kernel?

psilva261
January 18th, 2013, 12:25 PM
Hi,

It's 12.04:

$ uname -a
Linux ubuntu 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l

And it hangs while generating 3.2.0-36-generic.

Cheers, Philip