Ubuntu: Unable to update kernel (or anything), dpkg returns error 1



Question:

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:~$     

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »