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
Bonjour,
Bonjour, en tentant de mettre a jour "sources.list" sous Ubuntu Hardy Heron, message d'erreur :

Toute tentative de mise a jour du sources.list se solde par un
============================
"E: Ligne 24 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution) "
============================
Je suis novice: qu'est-ce que ca veut dire, que dois je faire au juste ? ?

(J'ai deja pose la question a " bounces@canonical.com " qui m' a repondu :
"Les demandes de support se font sur le site d'ubuntu-fr, http://www
.ubuntu-fr.org
** Changed in: ubuntu-fr-website
Status: New => Invalid

>> Je n'ai rien compris du tout.......)

Est ce que VOUS ? vous pourriez m'aider ? ? D'avance merci et salutations.
-----------------------------
NB : C'est la toute premiere fois que je tombe sur un ennui avec Ubuntu,
ca me surprend beaucoup....car ca n'a plus rien a voir avec Windows et
ses blocages.....
A voir également:

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
Affiche le retour de :

cat /etc/apt/sources.list
0
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 à 09:44
Voila ce que j'obtiens :
================

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 ? ?
0
Franzux Messages postés 8907 Date d'inscription mercredi 5 décembre 2007 Statut Contributeur Dernière intervention 27 octobre 2015 1 145 > 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 à 12:05
J'en pense qu'il y a une belle erreur là :
## 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


et qu'il faudrait donc commencer par supprimer ce que j'ai mis en gras.

Il faudrait aussi transformer :
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security # deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security

en
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security


Et
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security # deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security

en
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security
0
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
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.
0
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
Pour modifier ton fichier, dans un terminal tu tapes :

gksudo gedit /etc/apt/sources.list
0
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
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.....
0
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
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 ?
0

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
bonjour,
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+
0
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
avec des lunettes l'erreur apparait

effectivement !


ps : même sans lunettes, une fois mise en évidence ! :-)
0
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
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.....
0
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
Desolé, en fait c'est "jeanbi" et non "bob31" qui a fait la proposition de rajouter "fr"
0
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
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 .......
0