debian:backports:example_use_of_backport
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
debian:backports:example_use_of_backport [2023/07/17 12:41] – created peter | debian:backports:example_use_of_backport [2023/07/17 12:54] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Debian - Backports - Example use of Backport ====== | ====== Debian - Backports - Example use of Backport ====== | ||
+ | |||
+ | Using backports is simple. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Configure Backport ===== | ||
+ | |||
+ | Add this line to the / | ||
+ | |||
+ | <file bash / | ||
+ | deb http:// | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Update ===== | ||
+ | |||
+ | <code bash> | ||
+ | apt-get update | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | < | ||
+ | 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 have not imported the backports keyring. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Import the backports keyring ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install debian-backports-keyring | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Example install of a backport package ===== | ||
+ | |||
+ | To install a newer version of nmap: | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get -t etch-backports install nmap | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * **-t etch-backports**: | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | |||
+ | * A simple solution to this is to use [[Debian: | ||
+ | |||
+ | </ | ||
debian/backports/example_use_of_backport.1689597672.txt.gz · Last modified: 2023/07/17 12:41 by peter