update Kernel after failed upgrade because full /boot partition
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
Today I tried to update my two Linux servers. on one it failed because /boot did not have enough space, which was easy to solve. But now I have different Kernels on this machines because apt update/upgrade does not try to install the newest anymore on the machine where it failed on the first try.
How can I force the update now?
Ubuntu 16.04 LTS where update worked:
$ uname -r
4.4.0-127-generic
Ubuntu 16.04 LTS where update FAILED:
$ uname -r
4.4.0-31-generic
$ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
amd64-microcode intel-microcode iucode-tool
Verwenden Sie ûsudo apt autoremoveë, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
How to get the latest kernel also on this machine?
$ sudo apt list --installed 'linux-image*'
Auflistung... Fertig
linux-image-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
linux-image-extra-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
Output from 'apt-cache plicy linux-image-generic
$ sudo apt-cache policy linux-image-generic
linux-image-generic:
Installiert: (keine)
Installationskandidat: 4.4.0.127.133
Versionstabelle:
4.4.0.127.133 500
500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
4.4.0.21.22 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
apt package-management upgrade kernel
add a comment |Â
up vote
1
down vote
favorite
Today I tried to update my two Linux servers. on one it failed because /boot did not have enough space, which was easy to solve. But now I have different Kernels on this machines because apt update/upgrade does not try to install the newest anymore on the machine where it failed on the first try.
How can I force the update now?
Ubuntu 16.04 LTS where update worked:
$ uname -r
4.4.0-127-generic
Ubuntu 16.04 LTS where update FAILED:
$ uname -r
4.4.0-31-generic
$ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
amd64-microcode intel-microcode iucode-tool
Verwenden Sie ûsudo apt autoremoveë, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
How to get the latest kernel also on this machine?
$ sudo apt list --installed 'linux-image*'
Auflistung... Fertig
linux-image-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
linux-image-extra-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
Output from 'apt-cache plicy linux-image-generic
$ sudo apt-cache policy linux-image-generic
linux-image-generic:
Installiert: (keine)
Installationskandidat: 4.4.0.127.133
Versionstabelle:
4.4.0.127.133 500
500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
4.4.0.21.22 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
apt package-management upgrade kernel
You get only one kernel version on the failing machine which is not normal, APT keeps at least two versions while updating. So let me ask: Has this machine ever updated the Linux kernel? HavenâÂÂt you held any packages related to kernel? How exactly did you clean the boot partition? BTW you should prependLANG=C
if you are about to post the command output (e.g.LANG=C sudo apt-get upgrade
), so the output gets printed in English. I personally can understand German but others may not.
â Melebius
Jun 5 at 10:04
There were more versions before, but because of no space on /boot i deleted some of them using this hint askubuntu.com/a/90219/592185
â Andi S.
Jun 5 at 11:14
1
Please edit your question the include the complete output ofapt-cache policy linux-image-generic
. Let's see if you simply need to reinstall the metapackage (happens if apt is blocked for too long).
â user535733
Jun 5 at 13:46
Output added. 4.4.0.127.133 is exactly the version that it tried to install at morning but broke because of full /boot.
â Andi S.
Jun 5 at 13:59
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Today I tried to update my two Linux servers. on one it failed because /boot did not have enough space, which was easy to solve. But now I have different Kernels on this machines because apt update/upgrade does not try to install the newest anymore on the machine where it failed on the first try.
How can I force the update now?
Ubuntu 16.04 LTS where update worked:
$ uname -r
4.4.0-127-generic
Ubuntu 16.04 LTS where update FAILED:
$ uname -r
4.4.0-31-generic
$ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
amd64-microcode intel-microcode iucode-tool
Verwenden Sie ûsudo apt autoremoveë, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
How to get the latest kernel also on this machine?
$ sudo apt list --installed 'linux-image*'
Auflistung... Fertig
linux-image-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
linux-image-extra-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
Output from 'apt-cache plicy linux-image-generic
$ sudo apt-cache policy linux-image-generic
linux-image-generic:
Installiert: (keine)
Installationskandidat: 4.4.0.127.133
Versionstabelle:
4.4.0.127.133 500
500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
4.4.0.21.22 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
apt package-management upgrade kernel
Today I tried to update my two Linux servers. on one it failed because /boot did not have enough space, which was easy to solve. But now I have different Kernels on this machines because apt update/upgrade does not try to install the newest anymore on the machine where it failed on the first try.
How can I force the update now?
Ubuntu 16.04 LTS where update worked:
$ uname -r
4.4.0-127-generic
Ubuntu 16.04 LTS where update FAILED:
$ uname -r
4.4.0-31-generic
$ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
amd64-microcode intel-microcode iucode-tool
Verwenden Sie ûsudo apt autoremoveë, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
How to get the latest kernel also on this machine?
$ sudo apt list --installed 'linux-image*'
Auflistung... Fertig
linux-image-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
linux-image-extra-4.4.0-31-generic/xenial-updates,xenial-security,now 4.4.0-31.50 amd64 [Installiert,automatisch]
Output from 'apt-cache plicy linux-image-generic
$ sudo apt-cache policy linux-image-generic
linux-image-generic:
Installiert: (keine)
Installationskandidat: 4.4.0.127.133
Versionstabelle:
4.4.0.127.133 500
500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
4.4.0.21.22 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
apt package-management upgrade kernel
edited Jun 5 at 13:57
asked Jun 5 at 6:48
Andi S.
627
627
You get only one kernel version on the failing machine which is not normal, APT keeps at least two versions while updating. So let me ask: Has this machine ever updated the Linux kernel? HavenâÂÂt you held any packages related to kernel? How exactly did you clean the boot partition? BTW you should prependLANG=C
if you are about to post the command output (e.g.LANG=C sudo apt-get upgrade
), so the output gets printed in English. I personally can understand German but others may not.
â Melebius
Jun 5 at 10:04
There were more versions before, but because of no space on /boot i deleted some of them using this hint askubuntu.com/a/90219/592185
â Andi S.
Jun 5 at 11:14
1
Please edit your question the include the complete output ofapt-cache policy linux-image-generic
. Let's see if you simply need to reinstall the metapackage (happens if apt is blocked for too long).
â user535733
Jun 5 at 13:46
Output added. 4.4.0.127.133 is exactly the version that it tried to install at morning but broke because of full /boot.
â Andi S.
Jun 5 at 13:59
add a comment |Â
You get only one kernel version on the failing machine which is not normal, APT keeps at least two versions while updating. So let me ask: Has this machine ever updated the Linux kernel? HavenâÂÂt you held any packages related to kernel? How exactly did you clean the boot partition? BTW you should prependLANG=C
if you are about to post the command output (e.g.LANG=C sudo apt-get upgrade
), so the output gets printed in English. I personally can understand German but others may not.
â Melebius
Jun 5 at 10:04
There were more versions before, but because of no space on /boot i deleted some of them using this hint askubuntu.com/a/90219/592185
â Andi S.
Jun 5 at 11:14
1
Please edit your question the include the complete output ofapt-cache policy linux-image-generic
. Let's see if you simply need to reinstall the metapackage (happens if apt is blocked for too long).
â user535733
Jun 5 at 13:46
Output added. 4.4.0.127.133 is exactly the version that it tried to install at morning but broke because of full /boot.
â Andi S.
Jun 5 at 13:59
You get only one kernel version on the failing machine which is not normal, APT keeps at least two versions while updating. So let me ask: Has this machine ever updated the Linux kernel? HavenâÂÂt you held any packages related to kernel? How exactly did you clean the boot partition? BTW you should prepend
LANG=C
if you are about to post the command output (e.g. LANG=C sudo apt-get upgrade
), so the output gets printed in English. I personally can understand German but others may not.â Melebius
Jun 5 at 10:04
You get only one kernel version on the failing machine which is not normal, APT keeps at least two versions while updating. So let me ask: Has this machine ever updated the Linux kernel? HavenâÂÂt you held any packages related to kernel? How exactly did you clean the boot partition? BTW you should prepend
LANG=C
if you are about to post the command output (e.g. LANG=C sudo apt-get upgrade
), so the output gets printed in English. I personally can understand German but others may not.â Melebius
Jun 5 at 10:04
There were more versions before, but because of no space on /boot i deleted some of them using this hint askubuntu.com/a/90219/592185
â Andi S.
Jun 5 at 11:14
There were more versions before, but because of no space on /boot i deleted some of them using this hint askubuntu.com/a/90219/592185
â Andi S.
Jun 5 at 11:14
1
1
Please edit your question the include the complete output of
apt-cache policy linux-image-generic
. Let's see if you simply need to reinstall the metapackage (happens if apt is blocked for too long).â user535733
Jun 5 at 13:46
Please edit your question the include the complete output of
apt-cache policy linux-image-generic
. Let's see if you simply need to reinstall the metapackage (happens if apt is blocked for too long).â user535733
Jun 5 at 13:46
Output added. 4.4.0.127.133 is exactly the version that it tried to install at morning but broke because of full /boot.
â Andi S.
Jun 5 at 13:59
Output added. 4.4.0.127.133 is exactly the version that it tried to install at morning but broke because of full /boot.
â Andi S.
Jun 5 at 13:59
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Your system is missing the linux-image-generic
package and probably also linux-generic
which depends on the former. You should reinstall it using the command:
sudo apt install linux-generic
The packages linux-image-generic
and linux-image-4.4.0-127-generic
(the currently latest version) should be included automatically to be installed by APT.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Your system is missing the linux-image-generic
package and probably also linux-generic
which depends on the former. You should reinstall it using the command:
sudo apt install linux-generic
The packages linux-image-generic
and linux-image-4.4.0-127-generic
(the currently latest version) should be included automatically to be installed by APT.
add a comment |Â
up vote
1
down vote
accepted
Your system is missing the linux-image-generic
package and probably also linux-generic
which depends on the former. You should reinstall it using the command:
sudo apt install linux-generic
The packages linux-image-generic
and linux-image-4.4.0-127-generic
(the currently latest version) should be included automatically to be installed by APT.
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Your system is missing the linux-image-generic
package and probably also linux-generic
which depends on the former. You should reinstall it using the command:
sudo apt install linux-generic
The packages linux-image-generic
and linux-image-4.4.0-127-generic
(the currently latest version) should be included automatically to be installed by APT.
Your system is missing the linux-image-generic
package and probably also linux-generic
which depends on the former. You should reinstall it using the command:
sudo apt install linux-generic
The packages linux-image-generic
and linux-image-4.4.0-127-generic
(the currently latest version) should be included automatically to be installed by APT.
answered Jun 7 at 8:30
Melebius
3,61041636
3,61041636
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043719%2fupdate-kernel-after-failed-upgrade-because-full-boot-partition%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You get only one kernel version on the failing machine which is not normal, APT keeps at least two versions while updating. So let me ask: Has this machine ever updated the Linux kernel? HavenâÂÂt you held any packages related to kernel? How exactly did you clean the boot partition? BTW you should prepend
LANG=C
if you are about to post the command output (e.g.LANG=C sudo apt-get upgrade
), so the output gets printed in English. I personally can understand German but others may not.â Melebius
Jun 5 at 10:04
There were more versions before, but because of no space on /boot i deleted some of them using this hint askubuntu.com/a/90219/592185
â Andi S.
Jun 5 at 11:14
1
Please edit your question the include the complete output of
apt-cache policy linux-image-generic
. Let's see if you simply need to reinstall the metapackage (happens if apt is blocked for too long).â user535733
Jun 5 at 13:46
Output added. 4.4.0.127.133 is exactly the version that it tried to install at morning but broke because of full /boot.
â Andi S.
Jun 5 at 13:59