debian:backports:pinning_backports
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
debian:backports:pinning_backports [2023/07/17 12:37] – created peter | debian:backports:pinning_backports [2023/07/17 12:50] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Debian - Backports - Pinning Backports ====== | ====== Debian - Backports - Pinning Backports ====== | ||
- | I’m running Debian Etch because I prefer | + | To force the use of backport for specific packages. |
- | + | ||
- | Using backports is simple | + | |
- | + | ||
- | Add this line to your / | + | |
- | deb http:// | + | |
- | Run | + | |
- | apt-get update | + | |
- | You might get a error message | + | |
- | + | ||
- | Reading package lists... Done | + | |
- | W: GPG error: http:// | + | |
- | 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 | + | |
- | </ | + | |
- | + | ||
- | **NOTE: | + | |
- | + | ||
- | To install a newer version | + | |
- | + | ||
- | <code bash> | + | |
- | apt-get -t etch-backports install nmap | + | |
- | </ | + | |
- | + | ||
- | <WRAP info> | + | |
- | **NOTE: | + | |
- | + | ||
- | * A simple solution to this is to use pinning. | + | |
- | + | ||
- | </ | + | |
---- | ---- |
debian/backports/pinning_backports.1689597440.txt.gz · Last modified: 2023/07/17 12:37 by peter