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:06 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}} 
 //This is more a generic debian topic, but as the examples don't include any debian repository, I put it below //Ubuntu. //This is more a generic debian topic, but as the examples don't include any debian repository, I put it below //Ubuntu.
  
 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 15: Line 16:
  
 Package: * Package: *
-Pin: release o=*+Pin: origin *
 Pin-Priority: -10 Pin-Priority: -10
 </code> </code>
Line 30: Line 31:
 (Probably there is a more sophisticated way to list the values of //Origin:// and //Label://, but those two work while I don't need to spend time to find out more.) (Probably there is a more sophisticated way to list the values of //Origin:// and //Label://, but those two work while I don't need to spend time to find out more.)
  
-{{entry>Ubuntu}}{{entry>Debian}}{{entry>apt}}{{entry>apt-preferences}}{{entry>apt-pinning}}{{tag>Ubuntu Debian apt apt-preferences apt-pinning}}+{{tag>Ubuntu Debian apt apt-preferences apt-pinning}}
docs/tips_n_tricks/ubuntu/pinning.html.1644681980.txt.gz · Last modified: 12.02.2022 17:06 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki