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 17/09/2008, à 03:21

cedric25000

sens interdit synaptic

bonjour , je n'arrive plus a faire des apt- get install , ni a installer avec synaptics.
dasns ma barre d'outils en haut j'ai un sens interdit et quand je clic dessu il me dit :

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:Impossible de verrouiller /var/lib/dpkg/status - open (2 Aucun fichier ou dossier de ce type), E:Les listes de paquets ou le fichier « status » ne peuvent être analysés ou lus.'

avec le terminal il me dit

root@pc-ced:/home/cedric# apt-get install vlc
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (2 Aucun fichier ou dossier de ce type)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
root@alouqua:/home/cedric#

je ne sais plus comment faire, merci de votre aide

#2 Le 17/09/2008, à 05:57

Raphi974

Re : sens interdit synaptic

Pour installer un paquet, il te faut les droits root.
Donc, dans ta console :

sudo apt-get install vlc

Ubuntu User #10608

Hors ligne

#3 Le 17/09/2008, à 10:27

cedric25000

Re : sens interdit synaptic

non ce n'est pas cela.j'ai essayer plein de fois la commande , ca ne debloque rien

#4 Le 17/09/2008, à 10:31

mixout

Re : sens interdit synaptic

bonjour
peux-tu essayer ceci ?

apt-get update
sudo apt-get -f install

Hors ligne

#5 Le 17/09/2008, à 10:31

poupoul2

Re : sens interdit synaptic

'E:Impossible de verrouiller /var/lib/dpkg/status - open (2 Aucun fichier ou dossier de ce type), E:Les listes de paquets ou le fichier « status » ne peuvent être analysés ou lus.'

As tu tenté un rafraichissement de la liste des paquets ?

#6 Le 17/09/2008, à 10:38

cedric25000

Re : sens interdit synaptic

j'ai essayer apt get update et sudo apt-get -f install
tout reste bloqué, il me dit are you root? a lafin

comment rafraichir la liste des paquets.en tout cas je n'y es pas acces avec synaptics

#7 Le 17/09/2008, à 10:39

Nasman

Re : sens interdit synaptic

Tu n'as pas synaptic de lancé quand tu veux faire apt-get ?


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#8 Le 17/09/2008, à 10:41

cedric25000

Re : sens interdit synaptic

non

#9 Le 17/09/2008, à 10:42

mixout

Re : sens interdit synaptic

bonjour
fais un

groups

et colle le résultat ici STP

Hors ligne

#10 Le 17/09/2008, à 10:44

cedric25000

Re : sens interdit synaptic

merci de vos réponses

cedric@alouqua:~$ sudo su
root@alouqua:/home/cedric# groups
root
je vais cher le dentiste je reprend apres..

#11 Le 17/09/2008, à 10:45

Raphi974

Re : sens interdit synaptic

fait "groups" sans le sudo su.
Fait le en tant qu'utilisateur classique


Ubuntu User #10608

Hors ligne

#12 Le 17/09/2008, à 10:46

mixout

Re : sens interdit synaptic

arf.. roll
tu fais pas ce que je dis mais ça répond à ma question quand même...

Hors ligne

#13 Le 17/09/2008, à 12:01

cedric25000

Re : sens interdit synaptic

me revoila.
alors en utilisateur classique ca donne
cedric@alouqua:~$ groups
cedric adm dialout cdrom floppy audio dip video plugdev fuse lpadmin admin

#14 Le 17/09/2008, à 13:16

mixout

Re : sens interdit synaptic

...rien ce ce coté là

colle ici STP **exactement** la commande que tu lances et le message d'erreur

Hors ligne

#15 Le 17/09/2008, à 13:24

cedric25000

Re : sens interdit synaptic

avec le terminal en shell je lance apt-get install vlc  par exemple :

cedric@alouqua:~$ apt-get install vlc
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (2 Aucun fichier ou dossier de ce type)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
cedric@alouqua:~$ sudo apt-get install vlc
[sudo] password for cedric:
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (2 Aucun fichier ou dossier de ce type)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
cedric@alouqua:~$

et quand je vais sur le bureau gnome et que je fais ( terminal fermé ) systeme->administration ->
gestionnaire de paquet synaptics
il me repond

une erreur est survenue
les details suivant sont fourni

E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (2 Aucun fichier ou dossier de ce type)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
E: _cache->open() failed, please report.

Quand je click sur le sens interdit sur ma barre des taches du dessus a droite de systeme juste a gauche de la
date du jour il me dit

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:Impossible de verrouiller /var/lib/dpkg/status - open (2 Aucun fichier ou dossier de ce type), E:Les listes de paquets ou le fichier « status » ne peuvent être analysés ou lus.'

#16 Le 17/09/2008, à 13:40

mixout

Re : sens interdit synaptic

fais un

cat /etc/sudoers

Hors ligne

#17 Le 17/09/2008, à 13:44

cedric25000

Re : sens interdit synaptic

voici, cela donne :

root@alouqua:/home/cedric# cat /etc/sudoers
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults    env_reset

# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
root@alouqua:/home/cedric#

#18 Le 17/09/2008, à 13:48

mixout

Re : sens interdit synaptic

...ok
fais un

groups

Hors ligne

#19 Le 17/09/2008, à 13:49

cedric25000

Re : sens interdit synaptic

en utilisateur simple :

cedric@alouqua:~$  cat /etc/sudoers
cat: /etc/sudoers: Permission non accordée

#20 Le 17/09/2008, à 13:50

mixout

Re : sens interdit synaptic

..normal

Hors ligne

#21 Le 17/09/2008, à 13:50

cedric25000

Re : sens interdit synaptic

cedric@alouqua:~$ groups
cedric adm dialout cdrom floppy audio dip video plugdev fuse lpadmin admin

#22 Le 17/09/2008, à 13:55

mixout

Re : sens interdit synaptic

hum...
fais voir ton

cat /etc/apt/sources.list

Hors ligne

#23 Le 17/09/2008, à 14:01

cedric25000

Re : sens interdit synaptic

cedric@alouqua:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://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
cedric@alouqua:~$ sudo cat /etc/apt/sources.list
[sudo] password for cedric:
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://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
cedric@alouqua:~$ 5~';5S
cedric@alouqua:~$
cedric@alouqua:~$
cedric@alouqua:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://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
cedric@alouqua:~$

en jaune sur mon sens interdit il me dit

"cela signifie generalement que certaines dependance des paquets installlé ne sont pas satisfaite

#24 Le 17/09/2008, à 14:03

Raphi974

Re : sens interdit synaptic

Si des dépendances n'ont pas été installées :

sudo apt-get -f install

Ubuntu User #10608

Hors ligne

#25 Le 17/09/2008, à 14:05

cedric25000

Re : sens interdit synaptic

cedric@alouqua:~$ sudo apt-get -f install
[sudo] password for cedric:
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (2 Aucun fichier ou dossier de ce type)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
cedric@alouqua:~$