2514
Comment:
|
2887
Edited section on verifying packages
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
You are running [[DebianStable|Debian stable]], because you prefer the stable Debian tree. It runs great, there is just one problem: the software is a little bit outdated compared to other distributions. That is where backports come in. | You are running [[DebianStable|Debian stable]], because you prefer the stable Debian tree. It runs great, there is just one problem: The software is a little bit outdated compared to other distributions. That is where backports come in. |
Line 8: | Line 8: |
Backports are recompiled packages from [[DebianTesting|testing]] (mostly) and [[DebianUnstable|unstable]] (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution. It is recommended to pick out single backports which fits your needs, and not to use all backports available. | Backports are recompiled packages from [[DebianTesting|testing]] (mostly) and [[DebianUnstable|unstable]] (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution. It is recommended to pick out single backports which fit your needs, and not to use all backports available. |
Line 10: | Line 10: |
Note that this page refers to etch as stable, but your can substitute with lenny for the latest stable (April 2009). | Note that this page refers to etch as stable, but you can substitute with lenny for the latest stable (April 2009). |
Line 14: | Line 14: |
## If your page gets really long, uncomment this Table of Contents <<TableOfContents(2)>> = Configure your Debian/Stable = |
## If your page gets really long, uncomment this Table of Contents <<TableOfContents(3)>> = Configuring your stable system = |
Line 18: | Line 18: |
== Key == To start, install the DebPkg:debian-backports-keyring ( you need this to check that the signature of each backport package is correct ) |
== Verifying backports == In order to verify the integrity of downloaded backports before installing them, apt needs the Backports.org archive key. The package DebPkg:debian-backports-keyring contains this key. So you should install it frist. |
Line 21: | Line 22: |
== Using Synaptic == | == Adding the repository == === Using Synaptic === |
Line 29: | Line 32: |
== Using sources.list == * Open {{{/etc/apt/sources.list}}} * Add this line: |
=== Using the command line === Become root and open the file {{{/etc/apt/sources.list}}} in your favorite editor: {{{ human@debian:~$ su Password: debian:/home/human# nano /etc/apt/sources.list}}} Add the following lines: |
Line 33: | Line 40: |
deb http://www.backports.org/debian/ etch-backports main contrib non-free }}} |
# Backports.org repository deb http://www.backports.org/debian/ etch-backports main contrib non-free}}} If you are a free software enthusiast, you might want to remove the {{{contrib}}} and {{{non-free}}} sections. (See [[http://www.debian.org/doc/manuals/debian-reference/ch-system.de.html#s-stable|Debian sections]] for details.) |
Line 36: | Line 45: |
Now that you have added the repository, update apt's cache to include the backports in the list of available packages: {{{ debian:/home/human# aptitude update}}} Done. |
|
Line 37: | Line 50: |
== Advanced usage (command-line setup and APT pinning) == | = Using backports = |
Line 39: | Line 52: |
Information about advanced use, including command-line based setup, and APT pinning can be found at: http://backports.org/dokuwiki/doku.php?id=instructions | coming soon... |
Line 45: | Line 58: |
* http://eakcorp.com/2009/11/how-to-install-adobe-flash-in-debian-etchlennysid/ How to Install Adobe Flash in Debian Etch/Lenny/Sid from backports. |
You are running Debian stable, because you prefer the stable Debian tree. It runs great, there is just one problem: The software is a little bit outdated compared to other distributions. That is where backports come in.
Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution. It is recommended to pick out single backports which fit your needs, and not to use all backports available.
Note that this page refers to etch as stable, but you can substitute with lenny for the latest stable (April 2009).
There's a useful comparison of package versions available for backporting to lenny at this page.
Configuring your stable system
Verifying backports
In order to verify the integrity of downloaded backports before installing them, apt needs the Backports.org archive key. The package debian-backports-keyring contains this key. So you should install it frist.
Adding the repository
Using Synaptic
- Open Synaptic
- Go to:
Configuration > Repository
- Add this repository:
Using the command line
Become root and open the file /etc/apt/sources.list in your favorite editor:
human@debian:~$ su Password: debian:/home/human# nano /etc/apt/sources.list
Add the following lines:
# Backports.org repository deb http://www.backports.org/debian/ etch-backports main contrib non-free
If you are a free software enthusiast, you might want to remove the contrib and non-free sections. (See Debian sections for details.)
Now that you have added the repository, update apt's cache to include the backports in the list of available packages:
debian:/home/human# aptitude update
Done.
Using backports
coming soon...
External links
http://www.backports.org for more information
http://doc.cliss21.com/index.php?title=Backports contains information on how to backport packages, as well as some step-by-steps simple examples to start with.
http://svn.madduck.net/pub/bin/debian/bpoprep script automates that process. You need some functions from http://svn.madduck.net/pub/bin/debian/dfunctions.
?CategoryDistributionRelease