Problème avec le gestionnaire de paquet

tiitof -  
mamiemando Messages postés 33778 Date d'inscription   Statut Modérateur Dernière intervention   -
Bonjour,
j'ai un problème avec mon gestionnaire de mise à jour de paquets, lorsque je veux ouvrir pour mettre à jour il m'affiche:
""Impossible d'initialiser les données sur les paquets

Un problème insoluble est apparu lors de l'initialisation des données sur les paquets.

Veuillez signaler cette erreur comme un bogue du paquet « update-manager » et inclure le message d'erreur suivant :

'E:Enregistrement invalide dans votre fichier « préférences », aucune entrée « Package ».'"" QUE DOIS-JE FAIRE ???????

si quelqu'un peux m'aide !! merciiii :)

ubuntu 8.04 hardy heron
A voir également:

25 réponses

mamiemando Messages postés 33778 Date d'inscription   Statut Modérateur Dernière intervention   7 884
 
Remets le fichier que je t'ai donné sans les lignes concernant wine. Ensuite :
sudo aptitude clean
sudo aptitude update
sudo aptitude safe-upgrade

Bonne chance
0
tiitof
 
quand je tape sudo aptitude clean dans le terminal il me met sa :
Lecture des listes de paquets... Fait
E: Enregistrement invalide dans votre fichier « préférences », aucune entrée « Package ».
Lecture des listes de paquets... Fait
E: Enregistrement invalide dans votre fichier « préférences », aucune entrée « Package ».

puis je tape sudo aptitude update et il me met sa : Atteint http://fr.archive.ubuntu.com hardy Release.gpg
Atteint http://fr.archive.ubuntu.com hardy/main Translation-fr
Atteint http://fr.archive.ubuntu.com hardy/restricted Translation-fr
Atteint http://fr.archive.ubuntu.com hardy/universe Translation-fr
Atteint http://fr.archive.ubuntu.com hardy/multiverse Translation-fr
Atteint http://fr.archive.ubuntu.com hardy-updates Release.gpg
Ign http://fr.archive.ubuntu.com hardy-updates/main Translation-fr
Ign http://fr.archive.ubuntu.com hardy-updates/restricted Translation-fr
Ign http://fr.archive.ubuntu.com hardy-updates/universe Translation-fr
Atteint https://ubuntu.com/security/notices hardy-security Release.gpg
Ign https://ubuntu.com/security/notices hardy-security/main Translation-fr
Atteint https://medibuntu.org hardy Release.gpg
Ign https://medibuntu.org hardy/free Translation-fr
Ign https://medibuntu.org hardy/non-free Translation-fr
Atteint http://wine.budgetdedicated.com hardy Release.gpg
Ign http://wine.budgetdedicated.com hardy/main Translation-fr
Ign http://fr.archive.ubuntu.com hardy-updates/multiverse Translation-fr
Atteint http://fr.archive.ubuntu.com hardy Release
Ign https://ubuntu.com/security/notices hardy-security/restricted Translation-fr
Ign https://ubuntu.com/security/notices hardy-security/universe Translation-fr
Ign https://ubuntu.com/security/notices hardy-security/multiverse Translation-fr
Atteint https://ubuntu.com/security/notices hardy-security Release
Atteint https://medibuntu.org hardy Release
Atteint http://wine.budgetdedicated.com hardy Release
Atteint http://fr.archive.ubuntu.com hardy-updates Release
Atteint https://ubuntu.com/security/notices hardy-security/main Packages
Atteint https://medibuntu.org hardy/free Packages
Ign http://wine.budgetdedicated.com hardy/main Packages
Atteint http://fr.archive.ubuntu.com hardy/main Packages
Atteint http://fr.archive.ubuntu.com hardy/restricted Packages
Atteint http://fr.archive.ubuntu.com hardy/universe Packages
Atteint http://fr.archive.ubuntu.com hardy/multiverse Packages
Atteint https://medibuntu.org hardy/non-free Packages
Atteint https://ubuntu.com/security/notices hardy-security/restricted Packages
Atteint https://ubuntu.com/security/notices hardy-security/universe Packages
Atteint https://ubuntu.com/security/notices hardy-security/multiverse Packages
Atteint http://wine.budgetdedicated.com hardy/main Sources
Atteint http://fr.archive.ubuntu.com hardy-updates/main Packages
Atteint http://fr.archive.ubuntu.com hardy-updates/restricted Packages
Atteint http://fr.archive.ubuntu.com hardy-updates/universe Packages
Atteint http://wine.budgetdedicated.com hardy/main Packages
Atteint http://fr.archive.ubuntu.com hardy-updates/multiverse Packages
Lecture des listes de paquets... Fait
et pour finir comme ta dit je tape sudo aptitude safe-upgrade et il répond sa : Lecture des listes de paquets... Fait
E: Enregistrement invalide dans votre fichier « préférences », aucune entrée « Package ».
E: Enregistrement invalide dans votre fichier « préférences », aucune entrée « Package ».
0
mamiemando Messages postés 33778 Date d'inscription   Statut Modérateur Dernière intervention   7 884
 
Je suis presque sûre qu'il y a encore n'importe quoi dans /etc/apt/sources.list.
0
tiitof
 
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source.
# Dans ce cas enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
# deb-src http://security.ubuntu.com/ubuntu/ hardy-security main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

## Medibuntu - Ubuntu 8.04 "hardy"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb https://medibuntu.org hardy free non-free

# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source. Dans ce cas enlever les #)
# deb-src https://medibuntu.org hardy free non-free

## Dépôt de paquets en cours de tests -- décommentez les lignes
## pour en activer l'accès. Ceci devrait être réservé à des
## développeurs et des testeurs avancés.
# deb https://medibuntu.org hardy-staging free non-free
# deb-src https://medibuntu.org hardy-staging free non-free

## Wine
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main

## Dépôts de sources (uniquement utiles pour télécharger les sources avec
## apt-get source. Dans ce cas enlever les #)
# deb-src http://wine.budgetdedicated.com/apt hardy main

j'ai collé sa comme tu m'a dit et j'ai activé les dépot wine !!!
0
tiitof
 
j'ai retrouvé le fichier /etc/apt/preferences mais il est blanc , il y a rien d'écrit dedans , qu'est-ce que je dois collé dedans ????
0

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

Posez votre question
mamiemando Messages postés 33778 Date d'inscription   Statut Modérateur Dernière intervention   7 884
 
C'est le contraire je t'ai dit de les commenter/supprimer. Tu as toujours le même message d'erreur ?
0