Ben oui, tu as du copier coller un truc dans /etc/apt/sources.list car il y a des lignes qui sont des commandes et d'autres qui sont valides :-)
En plus il y a un mix entre des dépôts natty et lucid, bref ça ne va pas du tout :-) Je rappelle au passage que plus on avance dans les versions d'ubuntu, plus on avance dans l'alphabet (là on est en oneiric de nos jours) donc c'est peut être l'occasion de corriger ce fichier pour se placer sur la dernière version.
Attention car si tu décides de passer en oneiric, tu t'apprêtes à faire une migration, ce qui est lent et pas forcément trivial. Si tu ne connais pas trop linux, je te conseille de rester en natty et ensuite d'utiliser la procédure de migration "automatisée" :
http://doc.ubuntu-fr.org/migration
1) Commence par ouvrir ce fichier :
gksudo gedit /etc/apt/sources.list &
2) Corrige le fichier en remplaçant sont contenu par ce qui suit : je te conseille de faire un copier coller car certaines des lignes qui suivent sont trop longues et sont écrites sur deux lignes. Normalement les lignes commencent soit par un #, soit par "deb".
- Dépôts oneiric (déconseillé si tu débutes) :
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas, enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ oneiric main restricted
# deb-src http://security.ubuntu.com/ubuntu/ oneiric-security main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric universe multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ oneiric-updates universe multiverse
# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas, enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ oneiric universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ oneiric-security universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ oneiric-updates universe multiverse
## Commercial
deb http://archive.canonical.com/ubuntu/ oneiric partner
## Sources
# deb-src http://archive.canonical.com/ubuntu/ oneiric partner
- Dépôts natty (ceux que je te conseille pour éviter la migration le temps de la réparation) :
deb http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas, enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
# deb-src http://security.ubuntu.com/ubuntu/ natty-security main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ natty universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe multiverse
# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas, enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ natty-security universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe multiverse
## Commercial
deb http://archive.canonical.com/ubuntu/ natty partner
## Sources
# deb-src http://archive.canonical.com/ubuntu/ natty partner
3) Ensuite sauve et quitte. Puis lance les commandes :
sudo apt-get update
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude safe-upgrade
... et dis moi si ces commandes se passent bien.
Bonne chance
charlotte@Charlotte:~$ cat /etc/apt/sources.list
# medibuntu
deb http://fr.packages.medibuntu.org/ lucid free non-free
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
$ sudo aptitude update
$ sudo aptitude install libdvdcss2
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty universe
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted
deb http://security.ubuntu.com/ubuntu natty-security universe
deb-src http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu natty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu natty partner
# deb-src http://archive.canonical.com/ubuntu natty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main
charlotte@Charlotte:~$ cat /etc/lsb-release
Une idée de ce que je peux faire pour réparer le problème ?
Merci pour ton aide !