Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/08/2009, à 23:35

francoise_peace

[résolu] E:Ligne 53 mal formée /ap suppression de toutes les lignes?

Bonjour, j'ai le problème suivant:

*Gestionnaire de paquets synaptic:
E: Ligne 53 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
E: Impossible de lire la liste des sources.
Vous pouvez essayer de corriger le problème en ouvrant la fenêtre des dépôts.
E: _cache->open() failed, please report.

*Ajouter / supprimer:
Échec de la vérification des applications installées et disponibles

Il s'agit d'une erreur majeure de votre système de gestion de logiciels. Veuillez vérifier les paquets cassés avec Synaptic, vérifiez les droits d'accès aux fichiers et la validité du fichier /etc/apt/sources.list, puis rechargez les informations sur les logiciels avec les commandes : « sudo apt-get update » et « sudo apt-get install -f ».

J'ai lu et exécuté tout ce qu'il y avait dans cet article-là mais rien n'a changé, peut-être parce que je suis débutante (avant j'étais sur cygwin puis j'ai formatté mon ordinateur pour ubuntu):
http://forum.ubuntu-fr.org/viewtopic.php?id=91801

Et donc voici le contenu du terminal:
francoise@Charmmy-Kitty:~$ sudo apt-get upgrade
E: Ligne 53 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
E: La liste des sources ne peut être lue.
francoise@Charmmy-Kitty:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe #Added by software-properties

## 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/ jaunty universe
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-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/ jaunty-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe 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-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu jaunty/
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu jaunty/
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu jaunty/
deb http://cran.miroir-francais.fr/bin/linux/ubuntu/jaunty/ jaunty
francoise@Charmmy-Kitty:~$ ls /etc/apt/sources.list.d/
jaunty-partner.list  jaunty-partner.list.save
francoise@Charmmy-Kitty:~$ cat /etc/apt/sources.list.d/jaunty-partner.list
# channel for the jaunty partner channel
#
#:description:This channel contains the partner software for jaunty
deb http://archive.canonical.com/ubuntu jaunty partner
francoise@Charmmy-Kitty:~$ cd /etc/apt/sources.list.d/ && sudo rm -iv jaunty-*
rm: détruire fichier standard `jaunty-partner.list'? y
détruit `jaunty-partner.list'
rm: détruire fichier standard `jaunty-partner.list.save'? y
détruit `jaunty-partner.list.save'
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ sudo apt-get update
E: Ligne 53 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ ls /etc/apt/sources.list.d/
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ ls /etc/apt/sources.list.d/
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ cd /etc/apt/sources.list.d/ && sudo rm -iv jaunty-*
rm: ne peut enlever `jaunty-*': Aucun fichier ou dossier de ce type
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ ls
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ ls
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ sudo apt-get update
E: Ligne 53 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ sudo apt-get upgrade
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$ sudo apt-get upgrade
E: Ligne 53 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
E: La liste des sources ne peut être lue.
francoise@Charmmy-Kitty:/etc/apt/sources.list.d$

Dernière modification par francoise_peace (Le 08/09/2009, à 15:14)

Hors ligne

#2 Le 29/08/2009, à 23:43

NooP

Re : [résolu] E:Ligne 53 mal formée /ap suppression de toutes les lignes?

Bonjour,

Je pense que l'erreur se situe ici :

deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu jaunty/
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu jaunty/
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu jaunty/

...


Votez Macron, vous l'aurez dans le fion !

Hors ligne

#3 Le 30/08/2009, à 13:29

francoise_peace

Re : [résolu] E:Ligne 53 mal formée /ap suppression de toutes les lignes?

Merci, maintenant tout marche mais j'ai fais une bêtise, dans source de mise à jour, j'ai enlevé tous les sites web et toutes les clés d'authentification.
Où trouver les sites + clés de mise à jour pour UBuntu 9.04 ?

J'ai réussi à re-mettre une clé sur deux en faisant: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com n°de-clé-dans-message-d-erreur:
[url]http://doc.ubuntu-fr.org/apt-key?s[]=no&s[]=pubkey[/url]

Mais je n'ai pas réussi ni à avoir la deuxième clé ni à avoir le site qui correspond à la clé parce que les sites indiqués ne veulent pas apparaître:
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

Ils ne sont pas ajoutés lorsque je les ajoute.

Je vais effacer le fichier en entier alors. Et tout recommencer, après je raconte.

---------------------------------------------------------------------
J'ai effacé: sources.list puis tout remis dedans, voilà ce que j'ai dans Sources de mise à jour:

deb http://archive.canonical.com/ubuntu jaunty partner   (je pense qu'il s'agit des mises à jour de Ubuntu, mais je n'ai pas pu rentrer d'autres lignes, c'est la seule qui marche ?)
deb http://cran.cict.fr/bin/linux/ubuntu jaunty/     (pour avoir R project, mais je ne l'ai pas encore trouvé dans l'ordi)
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"   (pour avoir Wine)
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free   (pour avoir la version complète de la VirtualBox parce que sur OSE, il n'y a pas le USB 2.0)

Et donc après avoir redémarré:
-J'ai compris qu'il ne faut jamais faire 2 téléchargements au même temps sinon sources.list ou une autre liste se plante et il faut la supprimer puis tout re-configurer.
-Et qu'il faut souvent redémarrer quand on désinstalle puis re-installe quelque chose, la virtualbox ne voulait plus fonctionner avant le redémarrage car j'ai trouvé un moyen de lui faire un conflit)

Et donc tout à l'air de fonctionner (sauf le pointeur de souris qui saute de temps en temps quand j'écris, ce qui fait que mes phrases peuvent se chevaucher, ou faire des copier-collers sans moi, on dirait qu'il y a des raccourcis à 1 lettre, je posterais un autre message):

francoise@Charmmy-Kitty:~$ cd /etc/apt/
francoise@Charmmy-Kitty:/etc/apt$ ls
apt.conf.d   sources.list    sources.list.save  trusted.gpg
secring.gpg  sources.list.d  trustdb.gpg        trusted.gpg~
francoise@Charmmy-Kitty:/etc/apt$ cat sources.list
deb http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty main universe restricted multiverse
deb-src http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty main universe restricted multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu jaunty partner
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb-src http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty-updates universe main multiverse restricted
deb-src http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty-updates universe main multiverse restricted
deb http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty-proposed universe main multiverse restricted
deb-src http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty-proposed universe main multiverse restricted
deb http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty-backports universe main multiverse restricted
deb-src http://ftp.free.org/mirrors/archive.ubuntu.com/ubuntu/ jaunty-backports universe main multiverse restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://cran.cict.fr/bin/linux/ubuntu jaunty/
deb http://wine.budgetdedicated.com/apt jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
francoise@Charmmy-Kitty:/etc/apt$ sudo apt-get update
[sudo] password for francoise:
Atteint http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-fr                 
Atteint http://archive.canonical.com jaunty Release                           
Atteint http://wine.budgetdedicated.com jaunty Release.gpg                     
Ign http://wine.budgetdedicated.com jaunty/main Translation-fr                 
Atteint http://wine.budgetdedicated.com jaunty Release                         
Atteint http://archive.canonical.com jaunty/partner Packages                   
Atteint http://security.ubuntu.com jaunty-security Release.gpg                 
Ign http://security.ubuntu.com jaunty-security/main Translation-fr             
Ign http://wine.budgetdedicated.com jaunty/main Packages                       
Ign http://security.ubuntu.com jaunty-security/restricted Translation-fr       
Ign http://security.ubuntu.com jaunty-security/universe Translation-fr         
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-fr       
Atteint http://ftp.free.org jaunty Release.gpg                                 
Atteint http://ftp.free.org jaunty/main Translation-fr                         
Atteint http://ftp.free.org jaunty/universe Translation-fr                     
Atteint http://ftp.free.org jaunty/restricted Translation-fr                   
Atteint http://ftp.free.org jaunty/multiverse Translation-fr                   
Atteint http://ftp.free.org jaunty-updates Release.gpg                         
Ign http://ftp.free.org jaunty-updates/universe Translation-fr                 
Ign http://ftp.free.org jaunty-updates/main Translation-fr                     
Ign http://ftp.free.org jaunty-updates/multiverse Translation-fr               
Atteint http://security.ubuntu.com jaunty-security Release                     
Atteint http://fr.archive.ubuntu.com jaunty Release.gpg                       
Atteint http://fr.archive.ubuntu.com jaunty/main Translation-fr               
Atteint http://fr.archive.ubuntu.com jaunty/restricted Translation-fr         
Atteint http://fr.archive.ubuntu.com jaunty/universe Translation-fr           
Atteint http://fr.archive.ubuntu.com jaunty/multiverse Translation-fr         
Atteint http://wine.budgetdedicated.com jaunty/main Packages                   
Atteint http://cran.cict.fr jaunty/ Release.gpg                               
Ign http://ftp.free.org jaunty-updates/restricted Translation-fr               
Atteint http://ftp.free.org jaunty-proposed Release.gpg                       
Ign http://ftp.free.org jaunty-proposed/universe Translation-fr               
Ign http://ftp.free.org jaunty-proposed/main Translation-fr                   
Ign http://ftp.free.org jaunty-proposed/multiverse Translation-fr             
Ign http://ftp.free.org jaunty-proposed/restricted Translation-fr             
Atteint http://ftp.free.org jaunty-backports Release.gpg                       
Ign http://ftp.free.org jaunty-backports/universe Translation-fr               
Ign http://ftp.free.org jaunty-backports/main Translation-fr                   
Ign http://ftp.free.org jaunty-backports/multiverse Translation-fr             
Atteint http://security.ubuntu.com jaunty-security/main Packages               
Atteint http://fr.archive.ubuntu.com jaunty Release                           
Atteint http://download.virtualbox.org jaunty Release.gpg                     
Ign http://download.virtualbox.org jaunty/non-free Translation-fr             
Ign http://ftp.free.org jaunty-backports/restricted Translation-fr             
Atteint http://ftp.free.org jaunty Release                                     
Atteint http://ftp.free.org jaunty-updates Release                             
Atteint http://ftp.free.org jaunty-proposed Release                           
Atteint http://ftp.free.org jaunty-backports Release                           
Atteint http://security.ubuntu.com jaunty-security/restricted Packages         
Atteint http://security.ubuntu.com jaunty-security/universe Packages           
Atteint http://security.ubuntu.com jaunty-security/multiverse Packages         
Atteint http://fr.archive.ubuntu.com jaunty/main Packages                     
Atteint http://security.ubuntu.com jaunty-security/universe Sources           
Atteint http://security.ubuntu.com jaunty-security/main Sources               
Atteint http://security.ubuntu.com jaunty-security/multiverse Sources         
Atteint http://security.ubuntu.com jaunty-security/restricted Sources         
Atteint http://fr.archive.ubuntu.com jaunty/restricted Packages               
Atteint http://fr.archive.ubuntu.com jaunty/universe Packages                 
Atteint http://fr.archive.ubuntu.com jaunty/multiverse Packages               
Atteint http://fr.archive.ubuntu.com jaunty/main Sources                       
Atteint http://fr.archive.ubuntu.com jaunty/restricted Sources                 
Atteint http://fr.archive.ubuntu.com jaunty/universe Sources                   
Atteint http://fr.archive.ubuntu.com jaunty/multiverse Sources                 
Atteint http://ftp.free.org jaunty/main Packages                               
Atteint http://ftp.free.org jaunty/universe Packages                           
Atteint http://ftp.free.org jaunty/restricted Packages                         
Atteint http://ftp.free.org jaunty/multiverse Packages                         
Atteint http://ftp.free.org jaunty/main Sources                               
Atteint http://ftp.free.org jaunty/universe Sources                           
Atteint http://ftp.free.org jaunty/restricted Sources                         
Atteint http://ftp.free.org jaunty/multiverse Sources                         
Atteint http://ftp.free.org jaunty-updates/universe Packages                   
Atteint http://ftp.free.org jaunty-updates/main Packages                       
Atteint http://ftp.free.org jaunty-updates/multiverse Packages                 
Ign http://cran.cict.fr jaunty/ Translation-fr                                 
Atteint http://ftp.free.org jaunty-updates/restricted Packages                 
Atteint http://ftp.free.org jaunty-updates/universe Sources                   
Atteint http://ftp.free.org jaunty-updates/main Sources                       
Atteint http://ftp.free.org jaunty-updates/multiverse Sources                 
Atteint http://ftp.free.org jaunty-updates/restricted Sources                 
Atteint http://download.virtualbox.org jaunty Release                         
Atteint http://ftp.free.org jaunty-proposed/universe Packages                 
Atteint http://ftp.free.org jaunty-proposed/main Packages                     
Atteint http://ftp.free.org jaunty-proposed/multiverse Packages               
Atteint http://ftp.free.org jaunty-proposed/restricted Packages               
Atteint http://ftp.free.org jaunty-proposed/universe Sources                   
Atteint http://ftp.free.org jaunty-proposed/main Sources                       
Atteint http://ftp.free.org jaunty-proposed/multiverse Sources                 
Atteint http://ftp.free.org jaunty-proposed/restricted Sources                 
Atteint http://ftp.free.org jaunty-backports/universe Packages                 
Atteint http://ftp.free.org jaunty-backports/main Packages                     
Atteint http://ftp.free.org jaunty-backports/multiverse Packages               
Atteint http://cran.cict.fr jaunty/ Release                                   
Atteint http://ftp.free.org jaunty-backports/restricted Packages               
Atteint http://ftp.free.org jaunty-backports/universe Sources                 
Atteint http://ftp.free.org jaunty-backports/main Sources                     
Atteint http://ftp.free.org jaunty-backports/multiverse Sources               
Atteint http://ftp.free.org jaunty-backports/restricted Sources               
Atteint http://download.virtualbox.org jaunty/non-free Packages               
Ign http://cran.cict.fr jaunty/ Packages                                       
Atteint http://cran.cict.fr jaunty/ Packages
Lecture des listes de paquets... Fait
francoise@Charmmy-Kitty:/etc/apt$


Et donc merci !

Dernière modification par francoise_peace (Le 30/08/2009, à 15:26)

Hors ligne