0

My internet dropped while I was updating. Suddenly I couldn't install or upgrade anything. When I do this message loops and eats my RAM until I have to reset:

`update-initramfs: Generating /boot/initrd.img-3/12/0-57-generic`

When I run sudo apt-get xxxx it gives me:

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

dpkg --configure -a causes the same infite loop above.

Any ideas? I considered reinstalling but I don't have the installation disk and I have a data cap on my internet and can't download the iso.

EDIT1:

It seems that /etc/modprobe.d/iwlwifi.conf was causing problems. I had previously added lines to this file to fix my wifi, which I have now removed. Now I get this output recurring:

Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.13.0-57-generic Found initrd image: /boot/initrd.img-3.13.0-57-generic Found linux image: /boot/vmlinuz-3.13.0-48-generic Found initrd image: /boot/initrd.img-3.13.0-48-generic Found linux image: /boot/vmlinuz-3.13.0-46-generic Found initrd image: /boot/initrd.img-3.13.0-46-generic Found linux image: /boot/vmlinuz-3.13.0-45-generic Found initrd image: /boot/initrd.img-3.13.0-45-generic Found linux image: /boot/vmlinuz-3.13.0-32-generic Found initrd image: /boot/initrd.img-3.13.0-32-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Found Windows 7 (loader) on /dev/sda1 done

I've been running it for a few hours and it keeps spitting out the same thing.

EDIT 2:

I have decided to reformat and install another distro. Thanks for your help.

1 Answers1

0

The creation of the initramfs is a bit a lenghty process. And depending on how fast your system is, it can takeup to minute. Upon each new Kernel installation it has to be created newly. Let the process finish - I admit it's confusing if you don't see a progress bar!

Further reading: wikipedia!

man update-initramfs explains a little bit about the process.

You can also run the command on it's own:

sudo update-initramfs -u

If you get errors just post them. No need to install newly. :-)