2

I have tried searching and found many articles, posts, and discussions around this error but I have yet to find anything that tells me how to fix it.


I have run the following:

$ sudo apt-get clean && sudo apt-get autoremove

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-extra-3.11.0-15-generic (3.11.0-15.25) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.img-3.11.0-15-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-extra-3.11.0-15-generic.postinst line 614.
dpkg: error processing linux-image-extra-3.11.0-15-generic (--configure):
 subprocess installed post-installation script returned error exit status 17
Errors were encountered while processing:
 linux-image-extra-3.11.0-15-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo dpkg --configure -a

Setting up linux-image-extra-3.11.0-15-generic (3.11.0-15.25) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.img-3.11.0-15-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-extra-3.11.0-15-generic.postinst line 614.
dpkg: error processing linux-image-extra-3.11.0-15-generic (--configure):
 subprocess installed post-installation script returned error exit status 17
Errors were encountered while processing:
 linux-image-extra-3.11.0-15-generic
$ sudo apt-get install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-extra-3.11.0-15-generic (3.11.0-15.25) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.img-3.11.0-15-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-extra-3.11.0-15-generic.postinst line 614.
dpkg: error processing linux-image-extra-3.11.0-15-generic (--configure):
 subprocess installed post-installation script returned error exit status 17
Errors were encountered while processing:
 linux-image-extra-3.11.0-15-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm at a loss and do not know where to go from here.

Any help you could provide will be greatly appreciated.

  • what was the output of uname -r? – Avinash Raj Feb 20 '14 at 2:56
  • The output of uname -r 3.11.0-15-generic – TealTiger Feb 20 '14 at 4:16
  • did you able to install any package via apt-get? – Avinash Raj Feb 20 '14 at 4:19
  • And also provide the output of apt-cache policy linux-image-generic. – Avinash Raj Feb 20 '14 at 4:26
  • I am not able to install anything using apt-get... I get this error every time also the output of the apt-cache policy linux-image-generic linux-image-generic: Installed: 3.11.0.15.16 Candidate: 3.11.0.17.18 Version table: 3.11.0.17.18 0 500 us.archive.ubuntu.com/ubuntu saucy-updates/main i386 Packages 500 security.ubuntu.com/ubuntu saucy-security/main i386 Packages *** 3.11.0.15.16 0 100 /var/lib/dpkg/status 3.11.0.12.13 0 500 us.archive.ubuntu.com/ubuntu saucy/main i386 Packages – TealTiger Feb 20 '14 at 5:50

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.