Linux: Install automatic package updates for Debian, Ubuntu, Raspi OS & Co.


It’s not that simple: the package unattended-upgrades, which is available in Debian, Ubuntu, Raspberry Pi OS and practically all other Debian-based Linux distributions, is supposed to bring in daily updates of already installed software packages without user intervention. However, depending on the distribution, adjustments are necessary so that all updates are actually carried out.

With Raspberry Pi OS, for example, the configuration adopted from the Debian project does not work, and without adjustments, no packages are updated at all. On the other hand, not all updates are always desired; Server admins, for example, are only interested in security updates – they want to check feature updates for stability and compatibility first, if they think about it at all.

What all distributions have in common is that unattended-upgrades all package sources are updated daily after installation. Which package updates the program then installs differs from distribution to distribution. With Debian and Ubuntu, for example, packages and security updates are automatically imported from the standard distribution. This is specified in the central configuration file /etc/apt/apt.conf.d/50unattended-upgrades, but in different ways.

  • Access to all heise + content
  • exclusive tests, advice & background: independent, critically well-founded
  • Read c’t, iX, MIT Technology Review, Mac & i, Make, c’t photography right in your browser
  • Register once – read on all devices – can be canceled monthly
  • first month free, thereafter € 12.95 per month
  • Weekly newsletter with personal reading recommendations from the editor-in-chief

Start the FREE month

Start your FREE month now

Already subscribed to heise +?

Sign up and read

Register now and read the article right away

More information about heise +

Source link


Leave A Reply