Ubuntu 8.04 impossible faire MAJ sources.list
Fermé
labscom
Messages postés
12
Date d'inscription
jeudi 10 mars 2005
Statut
Membre
Dernière intervention
22 août 2008
-
21 août 2008 à 21:10
labscom Messages postés 12 Date d'inscription jeudi 10 mars 2005 Statut Membre Dernière intervention 22 août 2008 - 22 août 2008 à 23:05
labscom Messages postés 12 Date d'inscription jeudi 10 mars 2005 Statut Membre Dernière intervention 22 août 2008 - 22 août 2008 à 23:05
A voir également:
- Ubuntu 8.04 impossible faire MAJ sources.list
- È maj - Guide
- Ubuntu iso - Télécharger - Systèmes d'exploitation
- Ubuntu 32 bits - Télécharger - Systèmes d'exploitation
- Min en maj - Guide
- Ubuntu 24.04 - Guide
7 réponses
Franzux
Messages postés
8907
Date d'inscription
mercredi 5 décembre 2007
Statut
Contributeur
Dernière intervention
27 octobre 2015
1 145
21 août 2008 à 21:20
21 août 2008 à 21:20
Affiche le retour de :
cat /etc/apt/sources.list
labscom
Messages postés
12
Date d'inscription
jeudi 10 mars 2005
Statut
Membre
Dernière intervention
22 août 2008
22 août 2008 à 16:20
22 août 2008 à 16:20
Je ne comprends pas tres bien :
Une belle erreur - en gras
comment corriger dans ce cas ? car ce qui est "en gras" est
l'adresse de retour de la question dans le terminal......
Que dois je faire ? ? Merci. Christian.
Une belle erreur - en gras
comment corriger dans ce cas ? car ce qui est "en gras" est
l'adresse de retour de la question dans le terminal......
Que dois je faire ? ? Merci. Christian.
Franzux
Messages postés
8907
Date d'inscription
mercredi 5 décembre 2007
Statut
Contributeur
Dernière intervention
27 octobre 2015
1 145
22 août 2008 à 16:31
22 août 2008 à 16:31
Pour modifier ton fichier, dans un terminal tu tapes :
gksudo gedit /etc/apt/sources.list
labscom
Messages postés
12
Date d'inscription
jeudi 10 mars 2005
Statut
Membre
Dernière intervention
22 août 2008
22 août 2008 à 16:56
22 août 2008 à 16:56
Merci beaucoup. j'ai corrige et aussi trouve un "espace" en trop.
Voici le nouveau resultat de "cat /etc/apt/sources.list"
cat /etc/apt/sources.list
###############################################################################
## UBUNTU VERSION HARDY HERON - 8.04 - Date : 17/08/2008
##
##
## SOURCES.LIST GENERATOR Version 0.1a
## http://sources-list.ubuntu-fr-secours.org
###############################################################################
## DEPOTS DE MISES A JOUR DE SECURITE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
###############################################################################
## DEPOTS NON PRIS EN CHARGE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-backports
###############################################################################
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates
deb http://archive.ubuntu.com/ubuntu/ hardy main universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
==================
Et apres cela, "apt-get update" me renvoie :
E: Ligne 25 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
Je ne "vois rien" en ligne 25 qui puisse etre anormal ...... Je tourne en rond.....
Voici le nouveau resultat de "cat /etc/apt/sources.list"
cat /etc/apt/sources.list
###############################################################################
## UBUNTU VERSION HARDY HERON - 8.04 - Date : 17/08/2008
##
##
## SOURCES.LIST GENERATOR Version 0.1a
## http://sources-list.ubuntu-fr-secours.org
###############################################################################
## DEPOTS DE MISES A JOUR DE SECURITE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
###############################################################################
## DEPOTS NON PRIS EN CHARGE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-backports
###############################################################################
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates
deb http://archive.ubuntu.com/ubuntu/ hardy main universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
==================
Et apres cela, "apt-get update" me renvoie :
E: Ligne 25 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
Je ne "vois rien" en ligne 25 qui puisse etre anormal ...... Je tourne en rond.....
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
472
22 août 2008 à 18:32
22 août 2008 à 18:32
bonjour,
deux remarques :
1) le message suivant :
"E: Ligne 24 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution) "
j'ai beau compter et recompter dans tous les sens, même les comptages les plus aberrants, la ligne soulignée par Franzux ne tombe jamais sur 24 ! comment fais-tu ?
2) le message suivant :
E: Ligne 25 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
le fichier sources.list correspondant à l'après correction me semble plus court que le premier fichier sources.list (avant correction). comment fais-tu ?
deux remarques :
1) le message suivant :
"E: Ligne 24 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution) "
j'ai beau compter et recompter dans tous les sens, même les comptages les plus aberrants, la ligne soulignée par Franzux ne tombe jamais sur 24 ! comment fais-tu ?
2) le message suivant :
E: Ligne 25 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
le fichier sources.list correspondant à l'après correction me semble plus court que le premier fichier sources.list (avant correction). comment fais-tu ?
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
jeanbi
Messages postés
15118
Date d'inscription
samedi 9 décembre 2006
Statut
Contributeur
Dernière intervention
6 février 2023
2 181
22 août 2008 à 18:37
22 août 2008 à 18:37
bonjour,
avec des lunettes l'erreur apparait
et comme ça
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main universe restricted
a+
avec des lunettes l'erreur apparait
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates deb http://archive.ubuntu.com/ubuntu/ hardy main universe restricted
et comme ça
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main universe restricted
a+
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
472
22 août 2008 à 18:43
22 août 2008 à 18:43
avec des lunettes l'erreur apparait
effectivement !
ps : même sans lunettes, une fois mise en évidence ! :-)
effectivement !
ps : même sans lunettes, une fois mise en évidence ! :-)
labscom
Messages postés
12
Date d'inscription
jeudi 10 mars 2005
Statut
Membre
Dernière intervention
22 août 2008
>
bob031
Messages postés
8158
Date d'inscription
samedi 7 août 2004
Statut
Membre
Dernière intervention
1 septembre 2014
22 août 2008 à 22:32
22 août 2008 à 22:32
Ce n'est pas moi qui compte 24, c'est le systeme qui me dit que l'erreur s'y trouve.
Et je suis bien incapable de savoir quelle est est la ligne 24 ....
Faut il compter les interlignes ?
Faut il compter les " ******* " ? ?
Donc, je vais rajouter le " fr " qu'on vient de me conseiller (bob031)
et on va voir.....
Et je suis bien incapable de savoir quelle est est la ligne 24 ....
Faut il compter les interlignes ?
Faut il compter les " ******* " ? ?
Donc, je vais rajouter le " fr " qu'on vient de me conseiller (bob031)
et on va voir.....
labscom
Messages postés
12
Date d'inscription
jeudi 10 mars 2005
Statut
Membre
Dernière intervention
22 août 2008
22 août 2008 à 22:36
22 août 2008 à 22:36
Desolé, en fait c'est "jeanbi" et non "bob31" qui a fait la proposition de rajouter "fr"
labscom
Messages postés
12
Date d'inscription
jeudi 10 mars 2005
Statut
Membre
Dernière intervention
22 août 2008
22 août 2008 à 23:05
22 août 2008 à 23:05
Desolé, en fait c'est "jeanbi" et non "bob31" qui a fait la proposition de rajouter "fr"
Apres nouvel essai, toujours erreur ligne 25 (mais laquelle est-ce la ligne 25 ? ? )
J'ai essaye de mettre un "s" a "archive" à la 3 ème ligne avant la fin et aussi
de l'enlever a "archives" a la 2 ème ligne avant la fin, RIEN n'y fait
Toujours "E: Ligne 25 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)"
Je ne sais plus quoi faire .......
Apres nouvel essai, toujours erreur ligne 25 (mais laquelle est-ce la ligne 25 ? ? )
J'ai essaye de mettre un "s" a "archive" à la 3 ème ligne avant la fin et aussi
de l'enlever a "archives" a la 2 ème ligne avant la fin, RIEN n'y fait
Toujours "E: Ligne 25 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)"
Je ne sais plus quoi faire .......
22 août 2008 à 09:44
================
cat /etc/apt/sources.list
###############################################################################
## UBUNTU VERSION HARDY HERON - 8.04 - Date : 17/08/2008
##
##
## SOURCES.LIST GENERATOR Version 0.1a
## http://sources-list.ubuntu-fr-secours.org
###############################################################################
## DEPOTS DE MISES A JOUR DE SECURITEchris@chris-desktop:~$ cat /etc/apt/sources.list
###############################################################################
## UBUNTU VERSION HARDY HERON - 8.04 - Date : 17/08/2008
##
##
## SOURCES.LIST GENERATOR Version 0.1a
## http://sources-list.ubuntu-fr-secours.org
###############################################################################
## DEPOTS DE MISES A JOUR DE SECURITE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
###############################################################################
## DEPOTS NON PRIS EN CHARGE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-backports
###############################################################################
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security # deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates
deb http://archive.ubuntu.com/ubuntu/ hardy main universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
chris@chris-desktop:~$
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
###############################################################################
## DEPOTS NON PRIS EN CHARGE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-backports
###############################################################################
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security # deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archives.ubuntu.com/ubuntu hardy-updates
deb http://archive.ubuntu.com/ubuntu/ hardy main universe restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates
================
Qu'en penses tu ? ?
22 août 2008 à 12:05
et qu'il faudrait donc commencer par supprimer ce que j'ai mis en gras.
Il faudrait aussi transformer :
en
Et
en