not able to upgrade

Asked by neelu

Hi,

I am not able to upgrade any package

when I run apt-get upgrade

I get below error
====
Error! Your kernel headers for kernel 3.13.0-38-generic cannot be found.
Please install the linux-headers-3.13.0-38-generic package,
Error! or use the --kernelsourcedir option to tell DKMS where it's located
Your kernel headers for kernel 3.13.0-38-generic cannot be found.
Please install the linux-headers-3.13.0-38-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.13.0-38-generic cannot be found.
Please install the linux-headers-3.13.0-38-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 3.13.0-38-generic cannot be found.
Please install the linux-headers-3.13.0-38-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-38-generic /boot/vmlinuz-3.13.0-38-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-38-generic
grep: /boot/config-3.13.0-38-generic: No such file or directory
WARNING: missing /lib/modules/3.13.0-38-generic
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.13.0-38-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_beszZr/lib/modules/3.13.0-38-generic/modules.order: No such file or directory
depmod: WARNING: could not open /tmp/mkinitramfs_beszZr/lib/modules/3.13.0-38-generic/modules.builtin: No such file or directory
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-38-generic /boot/vmlinuz-3.13.0-38-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-38-generic /boot/vmlinuz-3.13.0-38-generic
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-38-generic /boot/vmlinuz-3.13.0-38-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.13.0-80-generic...
P: Writing config for /boot/vmlinuz-3.13.0-34-generic...
  No volume groups found
P: Writing config for FreeDOS on /dev/sda1...
P: Installing debian theme...ln: failed to create symbolic link ‘/boot/extlinux/themes/debian’: Operation not permitted
run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
dpkg: error processing package linux-image-extra-3.13.0-38-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-3.13.0-73-generic
 linux-image-3.13.0-73-generic
 linux-image-extra-3.13.0-38-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
===================

I tried sudo aptitude install linux-image*, I get the following below, please help on this

===========
root@celestial123:/home/celestial# sudo aptitude install linux-image*
Couldn't find any package whose name or description matched "linux-image*"
Couldn't find any package whose name or description matched "linux-image*"
The following partially installed packages will be configured:
  extlinux linux-image-3.13.0-80-generic linux-image-extra-3.13.0-80-generic
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
 linux-image-extra-3.13.0-38-generic : Depends: linux-image-3.13.0-38-generic which is a virtual package.
E: Can't find a source to download version '3.13.0-73.116' of 'linux-image-3.13.0-73-generic:amd64'
The following actions will resolve these dependencies:

     Remove the following packages:
1) linux-image-extra-3.13.0-38-generic

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
  linux-image-extra-3.13.0-38-generic{a}
The following partially installed packages will be configured:
  extlinux linux-image-3.13.0-80-generic linux-image-extra-3.13.0-80-generic
0 packages upgraded, 0 newly installed, 1 to remove and 32 not upgraded.
Need to get 0 B of archives. After unpacking 152 MB will be freed.
Do you want to continue? [Y/n/?] Y
E: Can't find a source to download version '3.13.0-73.116' of 'linux-image-3.13.0-73-generic:amd64'
E: Can't find a source to download version '3.13.0-73.116' of 'linux-image-3.13.0-73-generic:amd64'
E: Internal error: couldn't generate list of packages to download
===================

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
neelu (somkadam76) said :
#1

Anyone can point to some pointers howto solve this issue

thanks in advance

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

uname -a; lsb_release -a; df -h; dpkg -l | grep linux-image

Thanks

Revision history for this message
neelu (somkadam76) said :
#3

Hi Andrew,
thanks for the response
 here are the details below

====
$ uname -a
Linux celestial123 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

=====
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
====

df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.8G 4.0K 7.8G 1% /dev
tmpfs 1.6G 1.3M 1.6G 1% /run
/dev/sda6 38G 12G 24G 34% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 7.8G 21M 7.8G 1% /run/shm
none 100M 32K 100M 1% /run/user
/dev/sda1 196M 75M 122M 39% /boot
/dev/sda5 413G 298G 94G 77% /home

=====
dpkg -l | grep linux-image
ii linux-image-3.13.0-34-generic 3.13.0-34.60 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rH linux-image-3.13.0-73-generic 3.13.0-73.116 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rH linux-image-3.13.0-80-generic 3.13.0-80.124 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-34-generic 3.13.0-34.60 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
rH linux-image-extra-3.13.0-38-generic 3.13.0-38.65stella1 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
rH linux-image-extra-3.13.0-73-generic 3.13.0-73.116 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
rH linux-image-extra-3.13.0-80-generic 3.13.0-80.124 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
neelu (somkadam76) said :
#5

do we have fix for it, or it remains as big blocker