jason-vas-dias
September 24th, 2014, 11:36 AM
Good day - sorry if this question has been answered somewhere before, but I couldn't find it -
I'd like to understand why my Ubuntu "14.04.1 LTS, Trusty Tahr" x86_64 (Haswell) system
never upgrades the kernel automatically as part of the 'apt-get dist-upgrade' process.
The updated kernel is not even shown in 'dpkg-query -l 'linux-image*' , and I have
to specifically request it , as happened again this morning :
$ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libssh2-1 libtar0 libx265-27 libx265-30 linux-headers-3.13.0-34
linux-headers-3.13.0-34-generic linux-tools-3.13.0-30
linux-tools-3.13.0-30-generic linux-tools-3.13.0-32
linux-tools-3.13.0-32-generic linux-tools-3.13.0-34
linux-tools-3.13.0-34-generic vlc-plugin-pulse
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic
linux-tools-3.13.0-36 linux-tools-3.13.0-36-generic
The following packages will be upgraded:
apt apt-transport-https apt-utils chromium-browser chromium-browser-l10n
chromium-codecs-ffmpeg-extra dbus dbus-x11 libapt-inst1.5 libapt-pkg4.12
libdbus-1-3 libdbus-1-3:i386 libdbus-1-dev linux-doc linux-headers-generic
linux-libc-dev linux-tools-common linux-tools-generic linux-tools-virtual
19 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 72.0 MB of archives.
After this operation, 70.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
This upgrade completed OK, but did NOT install the new kernel.
Now I could see there were new 'linux-headers' and 'linux-tools' packages available,
(but not for the 3.13.0-36 version!)
so I had to guess 'Aha! there must be a new kernel ..' and specifically request it - it
wasn't even listed in available packages:
$ dpkg-query -l 'linux-image*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================================== ===-===============================-===============================-================================================== ================================================== ===========
un linux-image <none> <none> (no description available)
un linux-image-3.0 <none> <none> (no description available)
rc linux-image-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc linux-image-3.13.0-30-generic 3.13.0-30.55 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-32-generic 3.13.0-32.57 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-32-lowlatency 3.13.0-32.57 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-35-generic 3.13.0-35.62 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-35-lowlatency 3.13.0-35.62 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc linux-image-extra-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
rc linux-image-extra-3.13.0-30-generic 3.13.0-30.55 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-35-generic 3.13.0-35.62 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
But if I actually ask for the latest kernel, it magically appears :
$ apt-get install linux-image-3.13.0-36-lowlatency linux-headers-3.13.0-36-lowlatency
...
The following NEW packages will be installed:
linux-image-3.13.0-36-lowlatency
linux-headers-3.13.0-36-lowlatency
...
done
ie. the last upgrade succeeded in installing the linux-image-3.13.0-36-lowlatency and linux-headers-3.13.0-36-lowlatency packages, which
were not even listed in 'dpkg-query -l linux-*' .
So the questions arise:
1. How can I ensure that 'dpkg-query -l' is showing me ALL available packages ? ( it evidently isn't wrt linux-image /linux-header packages ).
2. How can I ensure that the kernel is automatically upgraded along with other packages ? (it isn't unless I specifically request a particular new kernel package, whose name I have to guess because it is not listed).
Any answers would be greatly appreciated.
Thanks & Regards,
Jason
I'd like to understand why my Ubuntu "14.04.1 LTS, Trusty Tahr" x86_64 (Haswell) system
never upgrades the kernel automatically as part of the 'apt-get dist-upgrade' process.
The updated kernel is not even shown in 'dpkg-query -l 'linux-image*' , and I have
to specifically request it , as happened again this morning :
$ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libssh2-1 libtar0 libx265-27 libx265-30 linux-headers-3.13.0-34
linux-headers-3.13.0-34-generic linux-tools-3.13.0-30
linux-tools-3.13.0-30-generic linux-tools-3.13.0-32
linux-tools-3.13.0-32-generic linux-tools-3.13.0-34
linux-tools-3.13.0-34-generic vlc-plugin-pulse
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic
linux-tools-3.13.0-36 linux-tools-3.13.0-36-generic
The following packages will be upgraded:
apt apt-transport-https apt-utils chromium-browser chromium-browser-l10n
chromium-codecs-ffmpeg-extra dbus dbus-x11 libapt-inst1.5 libapt-pkg4.12
libdbus-1-3 libdbus-1-3:i386 libdbus-1-dev linux-doc linux-headers-generic
linux-libc-dev linux-tools-common linux-tools-generic linux-tools-virtual
19 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 72.0 MB of archives.
After this operation, 70.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
This upgrade completed OK, but did NOT install the new kernel.
Now I could see there were new 'linux-headers' and 'linux-tools' packages available,
(but not for the 3.13.0-36 version!)
so I had to guess 'Aha! there must be a new kernel ..' and specifically request it - it
wasn't even listed in available packages:
$ dpkg-query -l 'linux-image*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================================== ===-===============================-===============================-================================================== ================================================== ===========
un linux-image <none> <none> (no description available)
un linux-image-3.0 <none> <none> (no description available)
rc linux-image-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc linux-image-3.13.0-30-generic 3.13.0-30.55 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-32-generic 3.13.0-32.57 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-32-lowlatency 3.13.0-32.57 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-35-generic 3.13.0-35.62 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.13.0-35-lowlatency 3.13.0-35.62 amd64 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
rc linux-image-extra-3.13.0-24-generic 3.13.0-24.47 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
rc linux-image-extra-3.13.0-30-generic 3.13.0-30.55 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii linux-image-extra-3.13.0-35-generic 3.13.0-35.62 amd64 Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
But if I actually ask for the latest kernel, it magically appears :
$ apt-get install linux-image-3.13.0-36-lowlatency linux-headers-3.13.0-36-lowlatency
...
The following NEW packages will be installed:
linux-image-3.13.0-36-lowlatency
linux-headers-3.13.0-36-lowlatency
...
done
ie. the last upgrade succeeded in installing the linux-image-3.13.0-36-lowlatency and linux-headers-3.13.0-36-lowlatency packages, which
were not even listed in 'dpkg-query -l linux-*' .
So the questions arise:
1. How can I ensure that 'dpkg-query -l' is showing me ALL available packages ? ( it evidently isn't wrt linux-image /linux-header packages ).
2. How can I ensure that the kernel is automatically upgraded along with other packages ? (it isn't unless I specifically request a particular new kernel package, whose name I have to guess because it is not listed).
Any answers would be greatly appreciated.
Thanks & Regards,
Jason