Differences

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

Link to this comparison view

Next revision
Previous revision
topics:apt-disable-package [2017/12/19 18:05]
orzfly created
topics:apt-disable-package [2017/12/19 18:06]
orzfly
Line 1: Line 1:
-====== Prevent specific packages from installed in apt======+====== Prevent specific packages from being installed in apt======
  
 <code - /​etc/​apt/​preferences>​ <code - /​etc/​apt/​preferences>​
Line 34: Line 34:
 </​code>​ </​code>​
  
 +<​code>​
 +root@misaka:​~#​ lsb_release -a
 +No LSB modules are available.
 +Distributor ID: Debian
 +Description: ​   Debian GNU/Linux 9.3 (stretch)
 +Release: ​       9.3
 +Codename: ​      ​stretch
 +root@misaka:​~#​ apt --version
 +apt 1.4.8 (amd64)
 +root@misaka:​~#​ apt-get --version
 +apt 1.4.8 (amd64)
 +Supported modules:
 +*Ver: Standard .deb
 +*Pkg:  Debian dpkg interface (Priority 30)
 + ​Pkg: ​ Debian APT solver interface (Priority -1000)
 + ​Pkg: ​ Debian APT planner interface (Priority -1000)
 + S.L: '​deb'​ Debian binary tree
 + S.L: '​deb-src'​ Debian source tree
 + Idx: Debian Source Index
 + Idx: Debian Package Index
 + Idx: Debian Translation Index
 + Idx: Debian dpkg status file
 + Idx: Debian deb file
 + Idx: Debian dsc file
 + Idx: Debian control file
 + Idx: EDSP scenario file
 + Idx: EIPP scenario file
 +</​code>​
 ===== See Alsos ===== ===== See Alsos =====
   * https://​askubuntu.com/​questions/​75895/​how-to-forbid-a-specific-package-to-be-installed   * https://​askubuntu.com/​questions/​75895/​how-to-forbid-a-specific-package-to-be-installed
  
 {{tag>​apt}} {{tag>​apt}}