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 11/06/2008, à 14:28

Michel A.

Problème permission ?

Bonjour à tous,

Je suis sous Ubuntu 8.04

j'avais un message d'erreur (mise à jour synaptic)assez complexe mais j'ai su résoudre tout ce qui avait rapport avec les duplicate file mais il me reste à présent ces deux lignes d'erreur :
E: could not open file /var/cache/apt/srcpkgcache.bin (13 permission denied)
E: the package list or status file could not be parsed or opened

Je n'ai rien trouvé jusqu'à présent qui puisse m'aider.
D'avance merci


Ubuntu 10.04

Hors ligne

#2 Le 11/06/2008, à 16:09

Sir Na Kraïou

Re : Problème permission ?

Hello,
ferme Synaptic, tape ces commandes dans un terminal :

sudo apt-get update && sudo apt-get upgrade
cat /etc/apt/sources.list

et copie-colle ce que ça te renvoie.


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#3 Le 11/06/2008, à 16:27

Michel A.

Re : Problème permission ?

la 'tite gogole a écrit :

Hello,
ferme Synaptic, tape ces commandes dans un terminal :

sudo apt-get update && sudo apt-get upgrade
cat /etc/apt/sources.list

et copie-colle ce que ça te renvoie.

Merci, voilà ce que cela donne :

root@michel-desktop:/home/michel# cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

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

## 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://be.archive.ubuntu.com/ubuntu/ hardy 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://be.archive.ubuntu.com/ubuntu/ hardy 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.

#modifié 11-6-08
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

deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted 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-backports main restricted universe multiverse

## MEDIBUNTU
deb http://fr.packages.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 http://fr.packages.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 http://fr.packages.medibuntu.org/ hardy-staging free non-free
# deb-src http://fr.packages.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




# Ubuntu Muslim Edition
deb http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties

#zekr.org
deb http://zekr.org/apt gutsy main #zekr.org

#ubuntu ME
deb http://ppa.launchpad.net/ubuntume.team/ubuntu hardy main # Ubuntu Muslim Edition
deb-src http://ppa.launchpad.net/ubuntume.team/ubuntu hardy main # Ubuntu Muslim Edition


Ubuntu 10.04

Hors ligne

#4 Le 11/06/2008, à 16:36

Sir Na Kraïou

Re : Problème permission ?

Et la première commande ?


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#5 Le 11/06/2008, à 17:01

Michel A.

Re : Problème permission ?

Michel A. a écrit :

Bonjour à tous,

Je suis sous Ubuntu 8.04

j'avais un message d'erreur (mise à jour synaptic)assez complexe mais j'ai su résoudre tout ce qui avait rapport avec les duplicate file mais il me reste à présent ces deux lignes d'erreur :
E: could not open file /var/cache/apt/srcpkgcache.bin (13 permission denied)
E: the package list or status file could not be parsed or opened

Je n'ai rien trouvé jusqu'à présent qui puisse m'aider.
D'avance merci

Oup's désolé,


root@michel-desktop:/home/michel# sudo apt-get update && sudo apt-get upgrade
Atteint http://be.archive.ubuntu.com hardy Release.gpg
Atteint http://be.archive.ubuntu.com hardy/main Translation-fr                 
Atteint http://security.ubuntu.com hardy-security Release.gpg                 
Ign http://security.ubuntu.com hardy-security/main Translation-fr             
Atteint http://wine.budgetdedicated.com hardy Release.gpg                     
Ign http://wine.budgetdedicated.com hardy/main Translation-fr                 
Atteint http://fr.archive.ubuntu.com hardy Release.gpg                         
Atteint http://fr.archive.ubuntu.com hardy/main Translation-fr                 
Atteint http://be.archive.ubuntu.com hardy/restricted Translation-fr           
Atteint http://be.archive.ubuntu.com hardy/universe Translation-fr             
Atteint http://be.archive.ubuntu.com hardy/multiverse Translation-fr           
Atteint http://be.archive.ubuntu.com hardy-updates Release.gpg                 
Ign http://be.archive.ubuntu.com hardy-updates/main Translation-fr             
Ign http://be.archive.ubuntu.com hardy-updates/restricted Translation-fr       
Atteint http://archive.ubuntu.com hardy-updates Release.gpg                   
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-fr         
Atteint http://be.archive.ubuntu.com hardy Release                             
Ign http://security.ubuntu.com hardy-security/restricted Translation-fr       
Ign http://security.ubuntu.com hardy-security/universe Translation-fr         
Ign http://security.ubuntu.com hardy-security/multiverse Translation-fr       
Atteint http://security.ubuntu.com hardy-security Release                     
Atteint http://fr.packages.medibuntu.org hardy Release.gpg                     
Ign http://fr.packages.medibuntu.org hardy/free Translation-fr                 
Ign http://fr.packages.medibuntu.org hardy/non-free Translation-fr             
Atteint http://wine.budgetdedicated.com hardy Release                         
Ign http://ppa.launchpad.net hardy Release.gpg                                 
Ign http://ppa.launchpad.net hardy/main Translation-fr                         
Atteint http://be.archive.ubuntu.com hardy-updates Release                     
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           
Réception de : 1 http://fr.archive.ubuntu.com hardy-updates Release.gpg [191B]
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         
Ign http://fr.archive.ubuntu.com hardy-updates/multiverse Translation-fr       
Atteint http://fr.archive.ubuntu.com hardy-backports Release.gpg               
Ign http://fr.archive.ubuntu.com hardy-backports/main Translation-fr           
Ign http://fr.archive.ubuntu.com hardy-backports/restricted Translation-fr     
Ign http://fr.archive.ubuntu.com hardy-backports/universe Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-backports/multiverse Translation-fr     
Atteint http://fr.archive.ubuntu.com hardy Release                             
Ign http://archive.ubuntu.com hardy-updates/main Translation-fr               
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-fr         
Ign http://archive.ubuntu.com hardy-updates/universe Translation-fr           
Atteint http://zekr.org gutsy Release.gpg                                     
Ign http://zekr.org gutsy/main Translation-fr                                 
Atteint http://archive.ubuntu.com hardy-updates Release                       
Atteint http://fr.packages.medibuntu.org hardy Release                         
Réception de : 2 http://fr.archive.ubuntu.com hardy-updates Release [58,5kB]   
Atteint http://fr.archive.ubuntu.com hardy-backports Release                   
Atteint http://zekr.org gutsy Release                                         
Réception de : 3 http://ppa.launchpad.net hardy Release [27,6kB]               
Ign http://ppa.launchpad.net hardy/main Packages                               
Ign http://ppa.launchpad.net hardy/main Sources
Atteint http://ppa.launchpad.net hardy/main Packages
Atteint http://ppa.launchpad.net hardy/main Sources
Atteint http://be.archive.ubuntu.com hardy/main Packages 
Atteint http://be.archive.ubuntu.com hardy/restricted Packages
Atteint http://be.archive.ubuntu.com hardy/universe Packages
Atteint http://be.archive.ubuntu.com hardy/multiverse Packages
Atteint http://security.ubuntu.com hardy-security/main Packages
Atteint http://security.ubuntu.com hardy-security/restricted Packages         
Atteint http://security.ubuntu.com hardy-security/universe Packages           
Atteint http://security.ubuntu.com hardy-security/multiverse Packages         
Ign http://wine.budgetdedicated.com hardy/main Packages                       
Atteint http://wine.budgetdedicated.com hardy/main Packages
Atteint http://be.archive.ubuntu.com hardy-updates/main Packages               
Atteint http://be.archive.ubuntu.com hardy-updates/restricted 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 http://archive.ubuntu.com hardy-updates/restricted Packages           
Atteint http://fr.packages.medibuntu.org hardy/free Packages                   
Atteint http://archive.ubuntu.com hardy-updates/main Packages         
Atteint http://archive.ubuntu.com hardy-updates/multiverse Packages   
Atteint http://archive.ubuntu.com hardy-updates/universe Packages     
Atteint http://archive.ubuntu.com hardy-updates/restricted Sources     
Atteint http://archive.ubuntu.com hardy-updates/main Sources           
Atteint http://archive.ubuntu.com hardy-updates/multiverse Sources     
Atteint http://archive.ubuntu.com hardy-updates/universe Sources       
Réception de : 4 http://fr.archive.ubuntu.com hardy-updates/main Packages [206kB]
Atteint http://fr.packages.medibuntu.org hardy/non-free Packages               
Atteint http://fr.packages.medibuntu.org hardy/free Sources                   
Atteint http://fr.packages.medibuntu.org hardy/non-free Sources               
Ign http://zekr.org gutsy/main Packages                                       
Réception de : 5 http://fr.archive.ubuntu.com hardy-updates/restricted Packages [6156B]
Réception de : 6 http://fr.archive.ubuntu.com hardy-updates/universe Packages [41,9kB]
Réception de : 7 http://fr.archive.ubuntu.com hardy-updates/multiverse Packages [7687B]
Atteint http://fr.archive.ubuntu.com hardy-backports/main Packages             
Atteint http://fr.archive.ubuntu.com hardy-backports/restricted Packages       
Atteint http://fr.archive.ubuntu.com hardy-backports/universe Packages         
Atteint http://fr.archive.ubuntu.com hardy-backports/multiverse Packages       
Atteint http://zekr.org gutsy/main Packages                                   
321ko réceptionnés en 10s (31,9ko/s)                                           
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.


Ubuntu 10.04

Hors ligne

#6 Le 11/06/2008, à 17:09

Sir Na Kraïou

Re : Problème permission ?

Hummm... tu l'as en faisant quoi, exactement, ton message d'erreur ? En lançant synaptic ? En installant un paquet ?

Sinon, dans ton sources.list, y a ce dépôt :

#zekr.org
deb http://zekr.org/apt gutsy main #zekr.org

je sais pas ce que c'est, mais c'est embêtant que ce soit un gutsy alors qu'a priori tu es sous Hardy. Faudrait que tu vois ce que c'est, si tu n'en as pas besoin, enlève-le, s'il y a une version hardy, change-le. Mais c'est peut être pas très grave non plus.

[edit] : sinon, je vois que tu es en root. Je sais pas si tu te connectes en root ou si tu lances juste le terminal admin, mais dans tous les cas, c'est potentiellement dangereux. Vaut mieux utiliser sudo : http://doc.ubuntu-fr.org/sudo

Dernière modification par la 'tite gogole (Le 11/06/2008, à 17:11)


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#7 Le 11/06/2008, à 17:27

Michel A.

Re : Problème permission ?

la 'tite gogole a écrit :

Hummm... tu l'as en faisant quoi, exactement, ton message d'erreur ? En lançant synaptic ? En installant un paquet ?

Sinon, dans ton sources.list, y a ce dépôt :

#zekr.org
deb http://zekr.org/apt gutsy main #zekr.org

je sais pas ce que c'est, mais c'est embêtant que ce soit un gutsy alors qu'a priori tu es sous Hardy. Faudrait que tu vois ce que c'est, si tu n'en as pas besoin, enlève-le, s'il y a une version hardy, change-le. Mais c'est peut être pas très grave non plus.

[edit] : sinon, je vois que tu es en root. Je sais pas si tu te connectes en root ou si tu lances juste le terminal admin, mais dans tous les cas, c'est potentiellement dangereux. Vaut mieux utiliser sudo : http://doc.ubuntu-fr.org/sudo

Je ne faisait aucune manipulation particulière, c'est apparé de la même manière qu'apparaît normalement la notification de mise à jour.

Je ne travaille habituellement pas en root, j'ai ma session mais ici j'ai utilisé le terminal admin.

Je vais voir cve qu'il en est de cette version gutsy de Zekr.

Déjà merci et je tiens au courant


Ubuntu 10.04

Hors ligne

#8 Le 11/06/2008, à 19:06

Michel A.

Re : Problème permission ?

j'ai supprimé les paquets "étranges" mais rien n'y fait.
A présent après avoir actualisé Synaptic voici le message:
E: Le fichier de cache des paquets est corrompu
E: _cache->open() failed, please report.

Toutefois le précédent dans la zone de notification mise à jour est aussi toujours là.

Bon je ne désepère pas encore car j'ai déjà eu des gros problèmes sous Ubuntu 7 et j'ai toujours fini pae résoudre les problèmes, avec de l'aide bien entendu.

winkhmm


Ubuntu 10.04

Hors ligne

#9 Le 27/03/2009, à 23:01

fan2linux

Re : Problème permission ?

Je suis sous la 8.10 et j'ai exactement le même message lorsque je lance le gestionnaire de mise à jour.
Ce qui précède n'a rien solutionné chez moi ...
Merci d'avance pour votre aide

Hors ligne