Skip to content
Snippets Groups Projects
Commit ac2e7638 authored by Claude Becker's avatar Claude Becker
Browse files

notes_on_linux_package_management: created

parent 975c5e9b
No related branches found
No related tags found
No related merge requests found
====== Notes on Linux Package Management ======
===== Debian package version number =====
The version number of a package contains several valuable pieces of information which we try to describe below.
Example: 2:3.6.19-1~bpo70+1
* 2: =
* 3.6.19 = major.minor.micro version number of the package upstream
* -1 = Debian-specific addition
* ~bpo70 = backported to Debian 7.0 aka Squeeze
* +1 =
===== Package pinning =====
In specific cases it may be required to force a certain version of a package and prevent the installation of any upgrades. This can for instance be achieved through package pinning in //apt//. In practice this boils down to creating a config file in ''/etc/apt/preferences.d/'' with a regexp to match the package names, which version to pin and the priority.
Example:
<code>
Package: /samba|smb|wbclient|winbind/
Pin: version 2:3.6.19-1~bpo70+1
Pin-Priority: 991
</code>
Use ''apt-cache policy <packagename>'' and ''apt-get upgrade'' to check that no updates would be installed for the requested packages.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment