0

Since a couple of days, when I log in Ubuntu 18.04, I receive the following message:

13 updates could not be installed automatically. For more details,
see /var/log/unattended-upgrades/unattended-upgrades.log

I do not see anything particular in the log file. The following lines are repeated every day (sometimes with an update):

2019-12-17 05:03:16,572 INFO Paquets faisant initialement partie de la liste noire : 
2019-12-17 05:03:16,580 INFO Paquets initialement sur la liste blanche: 
2019-12-17 05:03:16,580 INFO Démarrage du script de mise à niveau automatique
2019-12-17 05:03:16,580 INFO Les origines autorisées sont : o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2019-12-17 06:40:06,184 INFO Paquets faisant initialement partie de la liste noire : 
2019-12-17 06:40:06,201 INFO Paquets initialement sur la liste blanche: 
2019-12-17 06:40:06,201 INFO Démarrage du script de mise à niveau automatique
2019-12-17 06:40:06,201 INFO Les origines autorisées sont : o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESM,a=bionic
2019-12-17 06:40:12,125 INFO Aucun paquet à mettre à niveau automatiquement ni à supprimer automatiquement

If I manually force an update, the system says everything is up to date:

sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Is this above-mentioned message important? What can I do to eliminate it?

karel
  • 110,292
  • 102
  • 269
  • 299
Marc Vanhoomissen
  • 2,198
  • 6
  • 24
  • 36
  • @OrganicMarble: yes, partially: if I remove the file 'kept-back', the message disappears. But I do not know why that list suddenly contains 13 packages. Anyway, congratulations for finding it out! – Marc Vanhoomissen Dec 18 '19 at 13:58
  • You can use the command `apt-mark showhold` to get a list of packages that are held back from updating on your system. In my system, this list was identical to what was shown at login. I believe there was a recent update (12/4/2019) of `unattended-upgrades` that caused this message to be displayed at login. I never saw it before that date. – Organic Marble Dec 18 '19 at 14:03
  • @OrganicMarble I had tried that command and just retried. Same result: empty list, contrary to the content of `kept-back`. I wonder what will happen with the next execution of `unatended-upgrades`. – Marc Vanhoomissen Dec 18 '19 at 14:21
  • That's odd! Perhaps tomorrow the login message won't be there. – Organic Marble Dec 18 '19 at 14:36
  • Unattended-upgrades default settings are only to upgrade packages in the -security pocket of the Ubuntu repos. Unless you have changed the settings, packages in -updates, -backports, PPAs, third-party repos, etc., will be in `kept-back` – user535733 Dec 18 '19 at 16:10
  • 1
    After execution of `unattended-upgrades`this morning, the message is not there and there is no `kept-back`anymore. – Marc Vanhoomissen Dec 19 '19 at 10:52

0 Answers0