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

Explain limit-unstable file creation #39

Open
dolmen opened this issue Jan 14, 2020 · 2 comments
Open

Explain limit-unstable file creation #39

dolmen opened this issue Jan 14, 2020 · 2 comments

Comments

@dolmen
Copy link

dolmen commented Jan 14, 2020

In the first block I see this line:

printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' | sudo tee --append /etc/apt/preferences.d/limit-unstable

The tutoratial should explain what it does and why it is necessary.

@dolmen
Copy link
Author

dolmen commented Jan 14, 2020

Apparently this line comes from the Wireguard official site: https://www.wireguard.com/install/#debian-module-tools

@dolmen
Copy link
Author

dolmen commented Jan 14, 2020

https://wiki.debian.org/AptConfiguration describes pinning and priority:

When multiple Apt repositories are enabled, a package can exist in several of them. To know which one should be installed, Apt assigns priorities to packages. The default is 500.

  • If the packages have the same priority, the package with a higher version number (most recent) wins.
  • If packages have different priorities, the one with the higher priority wins.

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

1 participant