Problems with Update Manager (dpkg was interrupted)
Every time I run update manager, an error window shows: 'Not all updates can be installed', 'Partial Upgrade suggested'. When I click 'Check' for new updates, an error message shows:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
So I ran 'sudo dpkg --configure -a', and I got the following:
*******
Setting up initramfs-tools (0.85eubuntu20) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
/usr/sbin/
Terminating...
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of realplay:
realplay depends on libstdc++5 (>= 1:3.3.4-1); however:
Package libstdc++5 is not installed.
dpkg: error processing realplay (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
/usr/sbin/
Terminating...
update-initramfs: failed for /boot/initrd.
dpkg: subprocess post-installation script returned error exit status 1
*******
I tried 'sudo apt-get install -f' as well. Same error with the first one...
How can I fix this? Many thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- kiroro
- Solved:
- Last query:
- Last reply: