Add Origin: and Label: fields to Debian package releases#39
Merged
algobolson merged 3 commits intoalgorand:masterfrom Jun 18, 2019
jecassis:debian
Merged
Add Origin: and Label: fields to Debian package releases#39algobolson merged 3 commits intoalgorand:masterfrom jecassis:debian
algobolson merged 3 commits intoalgorand:masterfrom
jecassis:debian
Conversation
Contributor
|
I think @algobolson is working on fixing this. |
Contributor
|
This is about what I'd had planned. Will try to test it Monday. |
algobolson
suggested changes
Jun 17, 2019
Contributor
algobolson
left a comment
There was a problem hiding this comment.
confirmed that I can get a local aptly repo to pass unattended-upgrades with this. One tweak then good to go.
algobolson
suggested changes
Jun 17, 2019
algobolson
approved these changes
Jun 17, 2019
algobolson
pushed a commit
that referenced
this pull request
Jun 18, 2019
* Add Origin: and Label: fields to Debian package releases * Add configuration file-handling directives for the Debian package
pzbitskiy
pushed a commit
to pzbitskiy/go-algorand
that referenced
this pull request
Apr 17, 2020
Add app_global_gets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Origin and Label from the Debian repo are set to ". stable" and therefore unattended-upgrades does not work because 'Unattended-Upgrade::Allowed-Origins:: "Algorand:stable";' does not match the repository Origin.
As currently published:
Three changes are proposed here:
At the moment unattended-upgrades still will not work on a live system even when /etc/apt/apt.conf.d/50algorand-upgrades is changed to ". stable:stable" from "Algorand:stable" because of conffiles (in this case genesis.json was changed to mainnet version). However it does identify algorand as a package to upgrade which did not happen previously:
Adding dpkg options (as suggested in 3 above) results in this: