User Tools

Site Tools


docs:tips_n_tricks:ubuntu:pinning.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:ubuntu:pinning.html [12.02.2022 17:07 CET] peterdocs:tips_n_tricks:ubuntu:pinning.html [12.02.2022 19:04 CET] (current) peter
Line 1: Line 1:
-====== Pinning ======+====== APT Pinning ======
 {{entry>Ubuntu}}{{entry>Debian}}{{entry>apt}}{{entry>apt-preferences}}{{entry>apt-pinning}} {{entry>Ubuntu}}{{entry>Debian}}{{entry>apt}}{{entry>apt-preferences}}{{entry>apt-pinning}}
  
Line 5: Line 5:
  
 This will disable any automatic package installations from origins other then //Ubuntu// or //Canonical//. This will disable any automatic package installations from origins other then //Ubuntu// or //Canonical//.
-<note important>As soon as you have authenticated another repository, nothing prevents it to announce //Ubuntu// or //Canoncial// as origin. So this is a mere conveniance feature then a security measure.</note> +<note important>As soon as you have authenticated another repository, nothing prevents it to announce //Ubuntu// or //Canoncial// as origin. So this is a mere conveniance feature rather than a security measure.</note> 
-<note warning>It seems, repositories which don't set //Origin:// at all don't match ''o=*'', so they circumvent this method completely.((Probably there is a pattern, matching empty //Origin://, but I haven't found out yet.</note> +<code text /etc/apt/preferences.d/ZZZ_paranoia.pref>
-<code text /etc/apt/preferences.d/paranoia.pref>+
 Package: * Package: *
 Pin: release o=Ubuntu Pin: release o=Ubuntu
Line 17: Line 16:
  
 Package: * Package: *
-Pin: release o=*+Pin: origin *
 Pin-Priority: -10 Pin-Priority: -10
 </code> </code>
docs/tips_n_tricks/ubuntu/pinning.html.1644682065.txt.gz · Last modified: 12.02.2022 17:07 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki