Partial upgrade hangs at run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
When I run sudo apt-get install -f, I get the message
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
When I run that command or Update Manager or update-manager -d, it hangs (even overnight) when it gets to
run-parts: executing /etc/kernel/
So I couldn't run all the commands listed under Step 4 of https:/
When I use Ctrl-C when it hangs, it says
Errors were encountered while processing:
linux-
Here is the terminal output from Step 4:
michael@doulos:~$ sudo fuser -vvv /var/lib/dpkg/lock
michael@doulos:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
michael@doulos:~$ uname -a
Linux doulos 2.6.38-
michael@doulos:~$ sudo rm /var/lib/
michael@doulos:~$ sudo cp -arf /var/lib/dpkg /var/lib/
michael@doulos:~$ sudo cp /var/lib/
michael@doulos:~$ sudo cp /var/lib/
michael@doulos:~$ sudo rm -rf /var/lib/
michael@doulos:~$ sudo rm -rf /var/lib/apt/lists
michael@doulos:~$ sudo rm /var/cache/
michael@doulos:~$ sudo mkdir /var/lib/apt/lists
michael@doulos:~$ sudo mkdir /var/lib/
michael@doulos:~$ LANG=C;sudo apt-get clean
michael@doulos:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
michael@doulos:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.38-11.48 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.38-11.48 was configured last, according to dpkg)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
* dkms: running auto installation service for kernel 2.6.38-
* virtualbox-ose (4.0.4)... [ OK ]
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- mdmcginn
- Solved:
- Last query:
- Last reply: