0

running a brand new install, just upgraded, and I hit these errors.

Running apt-get upgrade says kernel has unmet dependencies, suggests apt-get -f install, running that returns dpkg error 1. Tried searching everything, can't find solution.

Running dpkg --configure -a returns same kernel dependency errors.

Using Ubuntu Gnome 16.04.03 LTS.

user@user:~$ sudo apt-get upgrade
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-image-extra-4.13.0-32-generic : Depends: linux-image-4.13.0-32-generic but it is not installed
 linux-image-generic-hwe-16.04 : Depends: linux-image-4.13.0-32-generic but it is not installed
E: Unmet dependencies. Try using -f.
user@user:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  linux-image-4.13.0-32-generic
Suggested packages:
  fdutils linux-tools
The following NEW packages will be installed:
  linux-image-4.13.0-32-generic
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
3 not fully installed or removed.
Need to get 0 B/20.8 MB of archives.
After this operation, 72.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] ys
(Reading database ... 191549 files and directories currently installed.)
Preparing to unpack .../linux-image-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb ...
Done.
Unpacking linux-image-4.13.0-32-generic (4.13.0-32.35~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb (--unpack):
 unable to sync file '/boot/vmlinuz-4.13.0-32-generic.dpkg-new': Input/output error
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.0-32-generic /boot/vmlinuz-4.13.0-32-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.0-32-generic /boot/vmlinuz-4.13.0-32-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@user:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of linux-image-generic-hwe-16.04:
 linux-image-generic-hwe-16.04 depends on linux-image-4.13.0-32-generic; however:
  Package linux-image-4.13.0-32-generic is not installed.
 linux-image-generic-hwe-16.04 depends on linux-image-extra-4.13.0-32-generic; however:
  Package linux-image-extra-4.13.0-32-generic is not configured yet.

dpkg: error processing package linux-image-generic-hwe-16.04 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-hwe-16.04:
 linux-generic-hwe-16.04 depends on linux-image-generic-hwe-16.04 (= 4.13.0.32.52); however:
  Package linux-image-generic-hwe-16.04 is not configured yet.

dpkg: error processing package linux-generic-hwe-16.04 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-generic-hwe-16.04
 linux-generic-hwe-16.04
user@user:~$ 

  • Copy the exact commands you used into the post above,also include the error text. Type <pre> on the line before what you include, and </pre> on the line just after it. – Hannu Feb 8 '18 at 19:29
  • says too many characters for this comment. I'll try to break it up. N/M, added to OP. – Steven Feb 8 '18 at 19:51
  • Please execute df -h and include the output of that command in your question – Charles Green Feb 8 '18 at 20:01
  • unable to sync file '/boot/vmlinuz-4.13.0-32-generic.dpkg-new': Input/output error: That's a problem. Look up how to run a SMART test on your hard drive. dpkg error 1 simply means that some subordinate script had a failure. – user535733 Feb 8 '18 at 20:07
  • re: "dh -f", don't have it installed, when I try to install it, I'm back to same problem. Re: input/output error: This is on a pretty new USB, I'll check it out. – Steven Feb 8 '18 at 20:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.