Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document configuration of unattended upgrades #1774

Open
1 task done
ThomasLandauer opened this issue May 20, 2022 · 2 comments
Open
1 task done

Document configuration of unattended upgrades #1774

ThomasLandauer opened this issue May 20, 2022 · 2 comments

Comments

@ThomasLandauer
Copy link

Frequently asked questions

With the default configuration of unattended upgrades on Debian, these packages are not being updated. I'm suggesting to include some hints to the FAQ - if you give me some information, I'll write that.

First question would be: Is it at all a good idea for "normal" users to include it in unattended upgrades? Is the way shown at https://blog.christosoft.de/2018/08/unattended-upgrades-mono-debian/ right?:

"site=packages.sury.org";

What will be upgraded then? => Just patch versions (e.g. 8.1.2 -> 8.1.3) or major/minor versions too? How can this be configured?

@rnseb
Copy link

rnseb commented Mar 1, 2024

bump

@mpesari
Copy link

mpesari commented Mar 1, 2024

Following the documentation at https://github.com/mvo5/unattended-upgrades/blob/master/README.md

# Debian
$ apt policy
1000 https://packages.sury.org/php bullseye/main amd64 Packages
     release o=deb.sury.org,a=bullseye,n=bullseye,c=main,b=amd64
     origin packages.sury.org

# Ubuntu
$ apt policy
 500 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 Packages
     release v=22.04,o=LP-PPA-ondrej-php,a=jammy,n=jammy,l=***** The main PPA for supported PHP versions with many PECL extensions *****,c=main,b=amd64
     origin ppa.launchpadcontent.net

I put this in /etc/apt/apt.conf.d/50unattended-upgrades:

Unattended-Upgrade::Origins-Pattern {
  // Debian
  "origin=deb.sury.org,archive=${distro_codename}";

  // Ubuntu
  "origin=LP-PPA-ondrej-php,archive=${distro_codename}";
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants