Question

How to clear login message: 1 updates could not be installed automatically.

Hi, I followed this article (https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-20-04-focal-fossa) to upgrade my droplet from Ubuntu 18.04 Ubuntu 20.04. Everything was smooth without surprise.

However, when I log into the system after the upgrade. The login message has a line:

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

The full log is here:

2022-02-01 15:50:54,107 INFO Initial blacklisted packages: 
2022-02-01 15:50:54,108 INFO Initial whitelisted packages: 
2022-02-01 15:50:54,108 INFO Starting unattended upgrades script
2022-02-01 15:50:54,108 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-02 06:11:56,339 INFO Initial blacklisted packages: 
2022-02-02 06:11:56,340 INFO Initial whitelisted packages: 
2022-02-02 06:11:56,340 INFO Starting unattended upgrades script
2022-02-02 06:11:56,340 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-02 06:12:01,538 INFO Packages that will be upgraded: 
2022-02-02 16:46:10,587 INFO Initial blacklisted packages: 
2022-02-02 16:46:10,588 INFO Initial whitelisted packages: 
2022-02-02 16:46:10,589 INFO Starting unattended upgrades script
2022-02-02 16:46:10,589 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-03 06:38:06,887 INFO Initial blacklisted packages: 
2022-02-03 06:38:06,888 INFO Initial whitelisted packages: 
2022-02-03 06:38:06,889 INFO Starting unattended upgrades script
2022-02-03 06:38:06,889 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-03 06:38:14,126 INFO Packages that will be upgraded: linux-generic linux-headers-generic linux-headers-virtual linux-image-generic linux-image-virtual linux-libc-dev linux-virtual
2022-02-03 06:38:14,127 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2022-02-03 06:39:06,791 INFO All upgrades installed
2022-02-03 16:34:20,476 INFO Initial blacklisted packages: 
2022-02-03 16:34:20,477 INFO Initial whitelisted packages: 
2022-02-03 16:34:20,477 INFO Starting unattended upgrades script
2022-02-03 16:34:20,477 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-04 01:47:57,251 INFO Initial blacklisted packages: 
2022-02-04 01:47:57,252 INFO Initial whitelisted packages: 
2022-02-04 01:47:57,252 INFO Starting unattended upgrades script
2022-02-04 01:47:57,252 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-04 06:46:55,944 INFO Initial blacklisted packages: 
2022-02-04 06:46:55,945 INFO Initial whitelisted packages: 
2022-02-04 06:46:55,946 INFO Starting unattended upgrades script
2022-02-04 06:46:55,946 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-04 06:47:03,321 INFO Removing unused kernel packages: linux-modules-4.15.0-163-generic linux-headers-4.15.0-163 linux-headers-4.15.0-163-generic linux-modules-extra-4.15.0-163-generic linux-image-4.15.0-163-generic
2022-02-04 06:47:19,411 INFO Packages that were successfully auto-removed: linux-headers-4.15.0-163 linux-headers-4.15.0-163-generic linux-image-4.15.0-163-generic linux-modules-4.15.0-163-generic linux-modules-extra-4.15.0-163-generic
2022-02-04 06:47:19,411 INFO Packages that are kept back: 
2022-02-04 06:47:20,237 INFO Packages that will be upgraded: libmysqlclient20
2022-02-04 06:47:20,238 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2022-02-04 06:47:25,791 INFO All upgrades installed
2022-02-05 04:11:28,693 INFO Initial blacklisted packages: 
2022-02-05 04:11:28,694 INFO Initial whitelisted packages: 
2022-02-05 04:11:28,694 INFO Starting unattended upgrades script
2022-02-05 04:11:28,695 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-05 06:20:41,329 INFO Initial blacklisted packages: 
2022-02-05 06:20:41,330 INFO Initial whitelisted packages: 
2022-02-05 06:20:41,330 INFO Starting unattended upgrades script
2022-02-05 06:20:41,331 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-05 06:20:47,254 INFO Packages that will be upgraded: 
2022-02-06 06:14:21,637 INFO Initial blacklisted packages: 
2022-02-06 06:14:21,638 INFO Initial whitelisted packages: 
2022-02-06 06:14:21,638 INFO Starting unattended upgrades script
2022-02-06 06:14:21,639 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-06 06:14:26,702 INFO Packages that will be upgraded: 
2022-02-06 13:22:57,193 INFO Initial blacklisted packages: 
2022-02-06 13:22:57,194 INFO Initial whitelisted packages: 
2022-02-06 13:22:57,194 INFO Starting unattended upgrades script
2022-02-06 13:22:57,194 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-07 00:06:19,163 INFO Initial blacklisted packages: 
2022-02-07 00:06:19,165 INFO Initial whitelisted packages: 
2022-02-07 00:06:19,165 INFO Starting unattended upgrades script
2022-02-07 00:06:19,165 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-07 06:08:59,829 INFO Initial blacklisted packages: 
2022-02-07 06:08:59,830 INFO Initial whitelisted packages: 
2022-02-07 06:08:59,830 INFO Starting unattended upgrades script
2022-02-07 06:08:59,830 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-07 06:09:05,320 INFO Packages that will be upgraded: 
2022-02-08 01:38:54,600 INFO Initial blacklisted packages: 
2022-02-08 01:38:54,602 INFO Initial whitelisted packages: 
2022-02-08 01:38:54,602 INFO Starting unattended upgrades script
2022-02-08 01:38:54,602 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-08 06:57:01,427 INFO Initial blacklisted packages: 
2022-02-08 06:57:01,428 INFO Initial whitelisted packages: 
2022-02-08 06:57:01,428 INFO Starting unattended upgrades script
2022-02-08 06:57:01,428 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-08 06:57:06,835 INFO Packages that will be upgraded: 
2022-02-09 06:12:17,781 INFO Initial blacklisted packages: 
2022-02-09 06:12:17,783 INFO Initial whitelisted packages: 
2022-02-09 06:12:17,783 INFO Starting unattended upgrades script
2022-02-09 06:12:17,783 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-09 06:12:23,128 INFO Packages that will be upgraded: 
2022-02-09 12:51:53,710 INFO Initial blacklisted packages: 
2022-02-09 12:51:53,712 INFO Initial whitelisted packages: 
2022-02-09 12:51:53,712 INFO Starting unattended upgrades script
2022-02-09 12:51:53,712 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-10 03:57:51,134 INFO Initial blacklisted packages: 
2022-02-10 03:57:51,135 INFO Initial whitelisted packages: 
2022-02-10 03:57:51,135 INFO Starting unattended upgrades script
2022-02-10 03:57:51,136 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-10 06:46:48,122 INFO Initial blacklisted packages: 
2022-02-10 06:46:48,124 INFO Initial whitelisted packages: 
2022-02-10 06:46:48,124 INFO Starting unattended upgrades script
2022-02-10 06:46:48,124 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-10 06:46:52,819 INFO Packages that will be upgraded: 
2022-02-11 05:13:52,815 INFO Initial blacklisted packages: 
2022-02-11 05:13:52,817 INFO Initial whitelisted packages: 
2022-02-11 05:13:52,817 INFO Starting unattended upgrades script
2022-02-11 05:13:52,817 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-11 06:24:35,811 INFO Initial blacklisted packages: 
2022-02-11 06:24:35,813 INFO Initial whitelisted packages: 
2022-02-11 06:24:35,813 INFO Starting unattended upgrades script
2022-02-11 06:24:35,813 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-11 06:24:40,868 INFO Packages that will be upgraded: 
2022-02-12 06:08:41,547 INFO Initial blacklisted packages: 
2022-02-12 06:08:41,548 INFO Initial whitelisted packages: 
2022-02-12 06:08:41,548 INFO Starting unattended upgrades script
2022-02-12 06:08:41,548 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-12 06:08:46,111 INFO Packages that will be upgraded: 
2022-02-12 08:20:50,720 INFO Initial blacklisted packages: 
2022-02-12 08:20:50,721 INFO Initial whitelisted packages: 
2022-02-12 08:20:50,721 INFO Starting unattended upgrades script
2022-02-12 08:20:50,721 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-13 03:54:35,184 INFO Initial blacklisted packages: 
2022-02-13 03:54:35,186 INFO Initial whitelisted packages: 
2022-02-13 03:54:35,186 INFO Starting unattended upgrades script
2022-02-13 03:54:35,187 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-13 06:51:35,048 INFO Initial blacklisted packages: 
2022-02-13 06:51:35,049 INFO Initial whitelisted packages: 
2022-02-13 06:51:35,049 INFO Starting unattended upgrades script
2022-02-13 06:51:35,049 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-13 06:51:39,854 INFO Packages that will be upgraded: 
2022-02-14 06:36:08,067 INFO Initial blacklisted packages: 
2022-02-14 06:36:08,069 INFO Initial whitelisted packages: 
2022-02-14 06:36:08,069 INFO Starting unattended upgrades script
2022-02-14 06:36:08,069 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-14 06:36:12,594 INFO Packages that will be upgraded: 
2022-02-14 17:14:58,347 INFO Initial blacklisted packages: 
2022-02-14 17:14:58,348 INFO Initial whitelisted packages: 
2022-02-14 17:14:58,348 INFO Starting unattended upgrades script
2022-02-14 17:14:58,349 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-15 06:53:26,764 INFO Initial blacklisted packages: 
2022-02-15 06:53:26,766 INFO Initial whitelisted packages: 
2022-02-15 06:53:26,766 INFO Starting unattended upgrades script
2022-02-15 06:53:26,766 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-15 06:53:31,581 INFO Packages that will be upgraded: 
2022-02-15 13:27:36,052 INFO Initial blacklisted packages: 
2022-02-15 13:27:36,053 INFO Initial whitelisted packages: 
2022-02-15 13:27:36,053 INFO Starting unattended upgrades script
2022-02-15 13:27:36,053 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-16 02:24:35,607 INFO Initial blacklisted packages: 
2022-02-16 02:24:35,608 INFO Initial whitelisted packages: 
2022-02-16 02:24:35,609 INFO Starting unattended upgrades script
2022-02-16 02:24:35,609 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-16 06:10:01,571 INFO Initial blacklisted packages: 
2022-02-16 06:10:01,572 INFO Initial whitelisted packages: 
2022-02-16 06:10:01,572 INFO Starting unattended upgrades script
2022-02-16 06:10:01,572 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-16 06:10:07,720 INFO Packages that will be upgraded: 
2022-02-17 06:40:26,748 INFO Initial blacklisted packages: 
2022-02-17 06:40:26,749 INFO Initial whitelisted packages: 
2022-02-17 06:40:26,749 INFO Starting unattended upgrades script
2022-02-17 06:40:26,749 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-17 06:40:31,304 INFO Packages that will be upgraded: 
2022-02-17 11:29:02,347 INFO Initial blacklisted packages: 
2022-02-17 11:29:02,348 INFO Initial whitelisted packages: 
2022-02-17 11:29:02,349 INFO Starting unattended upgrades script
2022-02-17 11:29:02,349 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-18 03:52:38,417 INFO Initial blacklisted packages: 
2022-02-18 03:52:38,419 INFO Initial whitelisted packages: 
2022-02-18 03:52:38,419 INFO Starting unattended upgrades script
2022-02-18 03:52:38,419 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-18 06:56:01,743 INFO Initial blacklisted packages: 
2022-02-18 06:56:01,745 INFO Initial whitelisted packages: 
2022-02-18 06:56:01,745 INFO Starting unattended upgrades script
2022-02-18 06:56:01,745 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-18 06:56:08,934 INFO Packages that will be upgraded: snapd ubuntu-core-launcher
2022-02-18 06:56:08,934 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2022-02-18 06:56:24,635 INFO All upgrades installed
2022-02-19 06:14:08,569 INFO Initial blacklisted packages: 
2022-02-19 06:14:08,571 INFO Initial whitelisted packages: 
2022-02-19 06:14:08,571 INFO Starting unattended upgrades script
2022-02-19 06:14:08,571 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-19 06:14:13,927 INFO Packages that will be upgraded: 
2022-02-19 16:59:28,305 INFO Initial blacklisted packages: 
2022-02-19 16:59:28,306 INFO Initial whitelisted packages: 
2022-02-19 16:59:28,306 INFO Starting unattended upgrades script
2022-02-19 16:59:28,306 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-20 05:50:25,814 INFO Initial blacklisted packages: 
2022-02-20 05:50:25,816 INFO Initial whitelisted packages: 
2022-02-20 05:50:25,816 INFO Starting unattended upgrades script
2022-02-20 05:50:25,816 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-20 06:05:13,359 INFO Initial blacklisted packages: 
2022-02-20 06:05:13,360 INFO Initial whitelisted packages: 
2022-02-20 06:05:13,360 INFO Starting unattended upgrades script
2022-02-20 06:05:13,360 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-20 06:05:19,450 INFO Packages that will be upgraded: snapd ubuntu-core-launcher
2022-02-20 06:05:19,450 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2022-02-20 06:05:33,233 INFO All upgrades installed
2022-02-21 06:17:04,856 INFO Initial blacklisted packages: 
2022-02-21 06:17:04,857 INFO Initial whitelisted packages: 
2022-02-21 06:17:04,858 INFO Starting unattended upgrades script
2022-02-21 06:17:04,858 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-21 06:17:09,546 INFO Packages that will be upgraded: 
2022-02-21 08:41:26,848 INFO Initial blacklisted packages: 
2022-02-21 08:41:26,850 INFO Initial whitelisted packages: 
2022-02-21 08:41:26,850 INFO Starting unattended upgrades script
2022-02-21 08:41:26,850 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security
2022-02-22 01:26:28,607 INFO Initial blacklisted packages: 
2022-02-22 01:26:28,609 INFO Initial whitelisted packages: 
2022-02-22 01:26:28,609 INFO Starting unattended upgrades script
2022-02-22 01:26:28,609 INFO Allowed origins are: o=Ubuntu,a=bionic, o=Ubuntu,a=bionic-security, o=UbuntuESMApps,a=bionic-apps-security, o=UbuntuESM,a=bionic-infra-security

Tried to search online without results. Anyone could give me a hint on why this message? and how should I clear it?

Thanks very much!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Found this discussion: https://askubuntu.com/questions/1187641/bogus-message-from-automatic-updates

In my case, the /var/lib/unattended-upgrades/kept-back content is

cloud-init

Deleted it and the message is gone.

Not sure if there’s any side effect though.