#1 Le 04/06/2009, à 09:19
- carolune
[RESOLU] Ligne mal formée apt-get
bonjour
ca fais un moment que mes mise a jour dérailles, et aujourd'hui c'est pire!
j'ai tanté de faire une mise a jours et quand je fais installé ca me donne ca:
E: Ligne 50 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
carolune@carolune-laptop:~$ apt-get
apt 0.7.9ubuntu17.2 pour i386 compilé sur Apr 17 2009 16:29:24
Usage : apt-get [options] commandes
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
que faire?
Dernière modification par carolune (Le 04/06/2009, à 09:56)
Hors ligne
#2 Le 04/06/2009, à 09:24
- quark
Re : [RESOLU] Ligne mal formée apt-get
Bonjour,
sur quelle distribution ?
Le fichier "sources.list" est-il adapté à ta distribution ?
la connaissance ? Quelques lacunes dans l'ignorance
Hors ligne
#3 Le 04/06/2009, à 09:26
- carolune
Re : [RESOLU] Ligne mal formée apt-get
je suis sous unbuntu hardy
(c'est bien ca la distribution?)
Hors ligne
#4 Le 04/06/2009, à 09:35
- ®om
Re : [RESOLU] Ligne mal formée apt-get
Donne le résultat de :
cat -n /etc/apt/sources.list
Hors ligne
#5 Le 04/06/2009, à 09:37
- carolune
Re : [RESOLU] Ligne mal formée apt-get
carolune@carolune-laptop:~$ cat -n /etc/apt/sources.list
1 # deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
3 # newer versions of the distribution.
4
5 deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
6 deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy restricted main multiverse universe #Added by software-properties
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
11 deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe
19 deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
27 deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
28
29 ## Uncomment the following two lines to add software from the 'backports'
30 ## repository.
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://fr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository. This software is not part of Ubuntu, but is
41 ## offered by Canonical and the respective vendors as a service to Ubuntu
42 ## users.
43 # deb http://archive.canonical.com/ubuntu gutsy partner
44 # deb-src http://archive.canonical.com/ubuntu gutsy partner
45
46 deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security main restricted
47 deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
48 # deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe
49 deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security multiverse
50 deb http://deb.mulx.net hardy
51 deb http://security.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe
52 deb-src http://security.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe
Hors ligne
#6 Le 04/06/2009, à 09:39
- carolune
Re : [RESOLU] Ligne mal formée apt-get
d'accord mais comment on édite déjà...je l'ai fais une fois mais je me souviens plus...
Hors ligne
#7 Le 04/06/2009, à 09:44
- ®om
Re : [RESOLU] Ligne mal formée apt-get
Supprime la ligne 50, elle est mal formée.
gksudo gedit /etc/apt/sources.list
Hors ligne
#8 Le 04/06/2009, à 09:55
- carolune
Re : [RESOLU] Ligne mal formée apt-get
trop biennnnn ca marche!!
merci beaucoup!
probleme enfin résolut!
Hors ligne