User Tools

Site Tools


debian:backports:pinning_backports

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
debian:backports:pinning_backports [2023/07/17 12:40] peterdebian:backports:pinning_backports [2023/07/17 12:50] (current) peter
Line 1: Line 1:
 ====== Debian - Backports - Pinning Backports ====== ====== Debian - Backports - Pinning Backports ======
  
- +To force the use of backport for specific packages.
-Using backports is simple +
- +
-Add this line to your /etc/apt/sources.list +
-deb http://www.backports.org/debian etch-backports main contrib non-free +
-Run +
-apt-get update +
-You might get a error message +
- +
-Reading package lists... Done +
-W: GPG error: http://www.backports.org etch-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C +
-W: You may want to run apt-get update to correct these problems +
-This message comes on Debian Etch because you haven’t imported the backports keyring. It’s easily fixed by running the command +
- +
-<code bash> +
-sudo apt-get install debian-backports-keyring +
-</code> +
- +
-**NOTE:**  Since all backports are deactivated by default, you need to tell the package manager to use the backports repository. +
- +
-To install a newer version of nmap: +
- +
-<code bash> +
-apt-get -t etch-backports install nmap +
-</code> +
- +
-<WRAP info> +
-**NOTE:**  It is important to remember that if you forget to tell apt-get that nmap is installed from backports and run another apt-get install nmap it will remove the backports package. +
- +
-  * A simple solution to this is to use pinning. +
- +
-</WRAP>+
  
 ---- ----
debian/backports/pinning_backports.1689597617.txt.gz · Last modified: 2023/07/17 12:40 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki