6

I have a number of servers running Ubuntu 18.04, all of which stopped updating anything on Dec 17. No errors seen in the unattended-upgrades or unattended-upgrades-dpkg log files.

If I do apt-get update I see some stuff download, but if I do apt-get upgrade nothing upgrades. This is despite running old kernels that have had recent vulnerabilties for which there are upgrades.

Anyone know the best way to troubleshoot why this is (or isn't!) happening?

Mirror in use is archive.ubuntu.com

Zanna
  • 70,465

2 Answers2

3

Nothing is wrong with your systems, at least that is causing this.

Updates have resumed as of 1/4/21. If you do not receive any updates in the next day or so, please report back.

There haven't been any updates since then to the 18.04 repositories. I suspect they're taking the last two weeks of the year off. I got a google-chrome-unstable update on the 18th, but that is from a PPA.

The "stuff downloaded" is the index files that your systems use to determine if there have been updates or not.

enter image description here

Source: Ubuntu Updates

Organic Marble
  • 23,641
  • 15
  • 70
  • 122
-1

if I do apt-get upgrade nothing upgrades.

This is the wrong command.

Do 'apt full-upgrade' and then reboot all of the affected servers. I additionally recommend 'apt clean' afterwards to empty the package cache, 'apt autoremove' to get rid of any obsoleted packages, and 'apt purge' to remove any lingering configurations.

  • 1
    Surely sudo apt full-upgrade; weird they used apt-get, as apt has been canonical since 16.04. Sounds like full-upgrade is exactly equivalent to dist-upgrade, so I'm a little behind the times too. – pbhj Dec 29 '20 at 10:01
  • 1
    @pbhj Well, they didn't specify sudo so I followed suit. TBH I often do a sudo -s before administrative tasks myself. I think there are some subtle differences between apt-get dist-upgrade and apt full-upgrade but nothing that is normally important and I favour the one with less typing. – Liam Proven Dec 29 '20 at 15:10
  • FWIW I did look and received wisdom is that dist-upgrade and full-upgrade are identical, the latter being a new name as the former was apparently confusing. – pbhj Dec 29 '20 at 15:12