Édition du sources.list

2 lignes de commande pour 1) créer une copie de sauvegarde du fichier original 2) éditer le fichier :

sudo cp /etc/apt/sources.list /etc/apt/sources.list.ini
sudo nano /etc/apt/sources.list

Le plus simple étant de tout effacer (Ctrl-k jusqu'à ce qu'il n'y ait plus rien) et de remplacer par ce qui suit.

Le sources.list

##############################################
###                                        ###
###       Ubuntu 7.04 "Feisty Fawn"        ###
###                                        ###
### http://doc.ubuntu-fr.org/depots/feisty ###
##############################################


###========================================###
###                                        ###
###        Dépots officiels Ubuntu         ###
###                                        ###
###========================================###

## Dépots officiels & backports
deb http://fr.archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

## Dépot commercial
deb http://archive.canonical.com/ feisty-commercial main


###========================================###
###                                        ###
###              Méta-dépots               ###
###                                        ###
###========================================###

## Medibuntu
## Infos : http://medibuntu.sos-sts.com/fr/index.php
## Clé : wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
deb http://fr.packages.medibuntu.org/ feisty free non-free

## Tvfreeplayer
## Infos : http://www.tvfreeplayer.com/~linux//falcon/
## ou : http://forum.ubuntu-fr.org/viewtopic.php?id=93416
## Clé : wget http://www.tvfreeplayer.com/linux/falcon/tvfreeplayer.gpg -O- | sudo apt-key add -
deb http://www.tvfreeplayer.com/linux/falcon feisty all


###========================================###
###                                        ###
###         Logiciels particuliers         ###
###                                        ###
###========================================###

## WineHQ - Ubuntu 7.04 "Feisty Fawn"
## Infos : http://wine.budgetdedicated.com/
## Clé : wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
deb http://wine.budgetdedicated.com/apt feisty main

## R (le 2e miroir est une alternative de secours)
## Infos : http://cran.univ-lyon1.fr/bin/linux/ubuntu/
## Miroirs : http://cran.r-project.org/mirrors.html
## Clé : gpg --keyserver subkeys.pgp.net --recv-key E2A11821
## puis : gpg -a --export E2A11821 | sudo apt-key add -
#deb http://cran.univ-lyon1.fr/bin/linux/ubuntu feisty/
deb http://cran.cict.fr//bin/linux/ubuntu feisty/

## Emacs gtk
## Infos : http://doc.ubuntu-fr.org/emacs#installation_d_emacs_version_23.0.0.1_d_alexandre_vassalotti
## Clé : wget http://debs.peadrop.com/DD385D79.gpg -O - | sudo apt-key add -
deb http://debs.peadrop.com feisty backports

## Transmission
## Infos : http://www.ff-irc.net/index.php/post/2007/05/25/Transmission-un-client-Bitorrent-GTK-puissant-intuitif
## Clé : wget http://www.ff-irc.net/ubuntu/8807D916.gpg -O- | sudo apt-key add -
deb http://www.ff-irc.net/ubuntu/ feisty extras