Problème sous linux ubuntu 8.04 hardy heron

Résolu/Fermé
aensro Messages postés 7 Date d'inscription mardi 19 mai 2009 Statut Membre Dernière intervention 20 mai 2009 - 19 mai 2009 à 21:46
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 20 mai 2009 à 18:23
Bonjour,
Je suis novice sous linux et j'ai du faire une mauvaise manip car je n'ai plus de lecteur dvd et quand j'essaie d'aller dans le gestionnaires de paquets Synaptic le message d'erreur suivant apparait :

E: Ligne 3 mal formée dans la liste des sources /etc/apt/sources.list.d/winehq.list (type)
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.

pouvez-vous m'aider svp
Merci
A voir également:

9 réponses

avion-f16 Messages postés 19246 Date d'inscription dimanche 17 février 2008 Statut Contributeur Dernière intervention 21 avril 2024 4 499
19 mai 2009 à 21:53
Salut

Pour commencer, ton lecteur CD/DVD n'apparaît que lorsque qu'il y a quelque chose dedans.

Pour ton sources.list (dans un terminal) :
sudo gedit /etc/apt/sources.list

Remplace le contenu par celui-ci :
## DEPOTS PRINCIPAUX
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted universe 
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted universe 

## DEPOTS DE MISES A JOUR DE SECURITE
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe 
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe 

## DEPOTS DE MISES A JOUR IMPORTANTES
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe 
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe 

Enregistre et quitte GEdit puis fais un "apt-get update" (dans le terminal)
0
aensro Messages postés 7 Date d'inscription mardi 19 mai 2009 Statut Membre Dernière intervention 20 mai 2009
19 mai 2009 à 22:09
bonsoir,
Merci mais comme je l'ai dit je suis novice et je ne sais pas quoi remplacer.
J'ai édité ma liste de sources et voila ce que j'ai :
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
# See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy universe
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-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 http://archive.canonical.com/ubuntu/ hardy partner
# deb-src http://archive.canonical.com/ubuntu/ hardy partner

deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ hardy-security main restricted
deb http://security.ubuntu.com/ubuntu/ hardy-security universe
deb-src http://security.ubuntu.com/ubuntu/ hardy-security universe
deb http://security.ubuntu.com/ubuntu/ hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu/ hardy-security multiverse
deb https://medibuntu.org hardy free non-free
deb http://wine.budgetdedicated.com/apt hardy main

Pouvez-vous me dire ce que je dois remplacer ?
Merci
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
19 mai 2009 à 22:29
bonjour,

d'après ceci :

E: Ligne 3 mal formée dans la liste des sources /etc/apt/sources.list.d/winehq.list (type)


je dirai que cela doit gêner à ce niveau :

deb http://wine.budgetdedicated.com/apt hardy main


mais peut-être que je me plante ...

0
aensro Messages postés 7 Date d'inscription mardi 19 mai 2009 Statut Membre Dernière intervention 20 mai 2009
19 mai 2009 à 22:33
que dois-je faire ?
Enlever cette ligne ?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
ben13010 Messages postés 3356 Date d'inscription vendredi 24 septembre 2004 Statut Contributeur Dernière intervention 5 octobre 2012 387
19 mai 2009 à 22:37
oui tu supprimes ce depot et tu enregistres la modification
ensuite tu refais un sudo apt-get update
0
aensro Messages postés 7 Date d'inscription mardi 19 mai 2009 Statut Membre Dernière intervention 20 mai 2009
19 mai 2009 à 22:42
c'est fait mais après le sudo apt-get update le message suivant apparait

E: Ligne 3 mal formée dans la liste des sources /etc/apt/sources.list.d/winehq.list (type)
0
aensro Messages postés 7 Date d'inscription mardi 19 mai 2009 Statut Membre Dernière intervention 20 mai 2009
20 mai 2009 à 08:53
bonjour,
J'ai édité la listes de sources /etc/apt/sources.list.d/winehq.list (type)
et voila ce que ça donne :

deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
deb-src http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
"

quelqu'un peut m'aider svp ?

Merci
0
aensro Messages postés 7 Date d'inscription mardi 19 mai 2009 Statut Membre Dernière intervention 20 mai 2009
20 mai 2009 à 09:40
le probléme est résolu, il suffisait d'enlever les " qui n'avait rien à faire là !

Merci à tous
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 472
20 mai 2009 à 18:23
bingo !

:-)
0