Navigation Menu

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

Mention unattended-upgrades configuration. #1332

Closed
wants to merge 1 commit into from

Conversation

richardkmichael
Copy link
Contributor

The notation to add the Phusion APT repository to an unattended-upgrades configuration is not particularly obvious, so mention it in the installation documentation as an optional step.

Helpful discussion in Ubuntu forums: http://askubuntu.com/questions/64318/how-can-i-enable-silent-automatic-updates-for-google-chrome

The notation to add the Phusion APT repository to an unattended-upgrades configuration is not particularly obvious, so mention it in the installation documentation as an optional step.

Helpful discussion in Ubuntu forums: http://askubuntu.com/questions/64318/how-can-i-enable-silent-automatic-updates-for-google-chrome
@OnixGH
Copy link
Contributor

OnixGH commented Apr 7, 2015

Merged with fixes in: 4b53d3e

@OnixGH OnixGH closed this Apr 7, 2015
@tsparber
Copy link

Hi,

The unattended-upgrades packages provides two ways to specify the allowed origin and archive.

Using in Ubuntu 12.04:

# grep "Origin\|Suite" /var/lib/apt/lists/oss-binaries.phusionpassenger.com*
/var/lib/apt/lists/oss-binaries.phusionpassenger.com_apt_passenger_dists_trusty_Release:Origin: https://packagecloud.io/phusion/passenger
/var/lib/apt/lists/oss-binaries.phusionpassenger.com_apt_passenger_dists_trusty_Release:Suite: trusty

As the passengers origin contains a colon, this causes a problem (s.split(':')), when parsing the /etc/apt/apt.conf.d/50unattended-upgrades file. For example when using sudo unattended-upgrades --dry-run --debug

My suggestion would be to provide the other method as an example (Adding a new block Origins-Pattern to the 50unattended-upgrades):

Unattended-Upgrade::Origins-Pattern {
        "o=https://packagecloud.io/phusion/passenger,a=trusty";
};

This works for on Ubuntu 12.04 using the Version 0.82.1ubuntu2 of the unattended-upgrades.

Related: http://serverfault.com/a/485907

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

Successfully merging this pull request may close these issues.

None yet

3 participants