Server packages "kept back" on update  [SOLVED]

Locked
Eoler
Posts: 17
Joined: Tue 2. Jul 2019, 01:20

Server packages "kept back" on update

Post by Eoler »

Ciao,
some of the services are not being updated automatically on Ubuntu 18.04 LTS @Hetzner, here's the relevant part of the log:

Code: Select all

Get:92 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,060 B]
Fetched 63.6 MB in 12s (5,404 kB/s)
Reading package lists...
[26-Aug-2019 03:06:40] INFO  --> ... successful
[26-Aug-2019 03:06:40] INFO  --> upgrade installed packages...
[26-Aug-2019 03:06:41] INFO  -->
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
  linux-image-virtual
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[26-Aug-2019 03:06:41] INFO  --> ... successful
Is this a problem or not?
Blackmoon
Posts: 345
Joined: Sat 1. Dec 2018, 16:42

Re: Server packages "kept back" on update

Post by Blackmoon »

Hey,
i looks like, that you had execute only apt-get install upgrade. To install the new kernel you have to run apt-get dist-upgrade.

Regards
Eoler
Posts: 17
Joined: Tue 2. Jul 2019, 01:20

Re: Server packages "kept back" on update

Post by Eoler »

Blackmoon wrote: Tue 27. Aug 2019, 21:12 i looks like, that you had execute only apt-get install upgrade. To install the new kernel you have to run apt-get dist-upgrade.
Yeah, that could be kernel upgrade from 18.04.1 to 18.04.3
Now, let's see if it was a safe one... :shock:
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Server packages "kept back" on update

Post by Martin »

Hello,

18.04.1 and 18.04.3 are the same distribution, this indicates only a newer patchlevel. A full dist-upgrade would be switching to 18.10, which does not happen (only when you manually modify sources.list)
Viele Grüße,
Martin
Eoler
Posts: 17
Joined: Tue 2. Jul 2019, 01:20

Re: Server packages "kept back" on update  [SOLVED]

Post by Eoler »

Martin wrote: Wed 28. Aug 2019, 09:31 18.04.1 and 18.04.3 are the same distribution, this indicates only a newer patchlevel. A full dist-upgrade would be switching to 18.10, which does not happen (only when you manually modify sources.list)
In the end I cautiously executed

Code: Select all

sudo apt-get --with-new-pkgs upgrade
(explanation: https://askubuntu.com/questions/601/the ... i-solve-it) and all is well now, thanks.
Locked