Differences between revisions 41 and 42
Revision 41 as of 2010-03-09 15:16:25
Size: 2887
Comment: Edited section on verifying packages
Revision 42 as of 2010-03-10 12:53:48
Size: 3331
Comment: Edited Using backports section. Added command line install instructions.
Deletions are marked like this. Additions are marked like this.
Line 52: Line 52:
coming soon... == Intalling backports on the command line ==

The backports repository is deactivated by default. So, if you want to install a backported package, you will have to state that explicitly.

An example:
{{{
debian:/home/human# aptitude -t lenny-backports iceweasel}}}
The {{{-t}}} option here specifies {{{lenny-backports}}} as the target release. This will install Iceweasel 3.5 from Backports.org instead of version 3.0 from the Debian stable release.

Translation(s): Français- Italiano

(!) Discussion


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:

    synaptic.png

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

Intalling backports on the command line

The backports repository is deactivated by default. So, if you want to install a backported package, you will have to state that explicitly.

An example:

debian:/home/human# aptitude -t lenny-backports iceweasel

The -t option here specifies lenny-backports as the target release. This will install Iceweasel 3.5 from Backports.org instead of version 3.0 from the Debian stable release.

External links


  • ?CategoryDistributionRelease