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

Chapter 10 references old Ubuntu repos. #210

Closed
kevinbowen777 opened this issue Feb 26, 2020 · 2 comments
Closed

Chapter 10 references old Ubuntu repos. #210

kevinbowen777 opened this issue Feb 26, 2020 · 2 comments

Comments

@kevinbowen777
Copy link

@kevinbowen777 kevinbowen777 commented Feb 26, 2020

In the section Automating updates for Debian-based systems, Page 291:

1 # File: /etc/apt/apt.conf.d/50unattended-upgrades
2 Unattended-Upgrade::Automatic-Reboot "false";
3
4 Unattended-Upgrade::Allowed-Origins {
5 "Ubuntu lucid-security";
6 // "Ubuntu lucid-updates";
7 };

Lucid is Ubuntu's 10.04 release. For 18.04, this should be replaced with bionic.

@geerlingguy

This comment has been minimized.

Copy link
Owner

@geerlingguy geerlingguy commented Feb 26, 2020

Yikes, you're right. I must've written that example a very long time ago.

The latest version has placeholders so it should be like:

# File: /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Automatic-Reboot "false";

Unattended-Upgrade::DevRelease "false";

Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-security";
        "${distro_id}ESM:${distro_codename}";
//      "${distro_id}:${distro_codename}-updates";
//      "${distro_id}:${distro_codename}-proposed";
//      "${distro_id}:${distro_codename}-backports";
};
@geerlingguy

This comment has been minimized.

Copy link
Owner

@geerlingguy geerlingguy commented Feb 26, 2020

This has been fixed in the book (as well as the RHEL section which needed to note that it's dnf-automatic in RHEL 8 instead of yum-cron). It will be in the next batch of updates. Thanks!

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.