Pb installation linux

Résolu
Bonjour,
J'ai un probleme, quand je veux installer un fichier de n'importe quel type,mon terminal me renvoie ce message d'erreur:
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Ps: si qqn sait comment ouvrir le logiciel vfstpd...
Configuration: Linux
Firefox 3.0.14

33 réponses

Résumé de la discussion

Problème d’installation sous Linux dû au verrou dpkg et à des permissions refusées lors du verrouillage du répertoire /var/lib/dpkg, empêchant l’installation de paquets et bloquant l’accès à la gestion des paquets. Parmi les éléments apportés, des messages indiquent des erreurs de signature et l’indisponibilité d’un dépôt, suggérant d’exécuter apt-get update, et des réponses proposent de modifier le fichier sources.list pour désactiver des lignes problématiques. D'autres échanges traitent de l'accès root via su, de la suppression ou du commentaire de lignes dans des sources, et de précautions à prendre lors de l'édition de sources pour éviter les blocages. En cas de doute, il est recommandé d'éviter de toucher à des dépôts critiques et de privilégier des dépôts compatibles avec la version active du système.

Bobot (l’IA à votre service)
  1. Je pensais plutot a probleme dut au fichier "lock"
    mais comme je suis pas un pro je prefere demander que de flinguer mon ordi
    0
    1. Are you root ? Tape ton mot de passe.... Et puis on verra.
      0
  2. Contributeur
    re,
    lorsque tu tapes mettons
    sudo apt-get install monprogramme
    tu dois donner ton mot de passe apres entree
    a+
    0
    1. oui ca je le fait déja
      mais il me renvoie qd meme a ce message d'erreur
      0
      1. je croi que paques synaptic et open ou ajouter/suprimer ou un autre telechargement qlqe par
        0
        1. Ben dans ce cas tu fais su
          puis tu valides
          puis ton mot de passe et tu es en root.
          0
          1. Contributeur
            re
            su -
            c'est mieux
            a+
            0
            1. adrien@adrien-desktop:~$ su
              Mot de passe :
              su : Échec d'authentification
              0
              1. Bonjour,

                E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

                ou bien passer directement en root :
                sudo su -
                0
                1. adrien@adrien-desktop:~$ sudo su -
                  [sudo] password for adrien:
                  root@adrien-desktop:~#
                  0
                  1. Ben voilà. Le ~# ca veut dire que tu es en root.
                    0
                2. alors voila l'installation devrais marcher donc je fait un apt get update et il me renvoie encore un autre message d'erreur...
                  W: Impossible de récupérer http://deb.mulx.net/dists/hardy/Release

                  W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
                  W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
                  Il me demande de lancer apt get update et le meme message d'eereur revient linux me fait déprimer...
                  0
                  1. Excusez moi ,le message d'erreur entier est
                    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://deb.mulx.net hardy Release: Les signatures suivantes ne sont pas valables : NODATA 1 NODATA 2

                    W: Impossible de récupérer http://deb.mulx.net/dists/hardy/Release

                    W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
                    W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
                    1
                    1. Contributeur
                      re,
                      et alors cela t'empeche t'il d'installer un programme ?
                      a+
                      0
                      1. ouai pour winff que j'arrive pas a installer malgré tout mes efforts!!!
                        0
                        1. Contributeur
                          re, je viens d'essayer pas eu de soucis
                          sudo gedit /etc/apt/sources.list
                          et mets un # devant la ligne qui pose probleme
                          a+
                          0
                          1. Je ne vois pas du tout ou mettre le # dans ce fichier texte
                            0
                            1. # deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
                              # See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                              # newer versions of the distribution.

                              deb http://blognux.free.fr/ubuntu hardy main
                              deb-src http://blognux.free.fr/ubuntu hardy main

                              ## Major bug fix updates produced after the final release of the
                              ## distribution.
                              deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
                              deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe
                              ## 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/ intrepid universe
                              deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid universe
                              deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe
                              deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid multiverse
                              deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse
                              deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
                              deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid-backports main restricted universe multiverse
                              # deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid partner
                              # deb-src http://archive.canonical.com/ubuntu/ intrepid partner

                              deb http://security.ubuntu.com/ubuntu/ intrepid-security main restricted
                              deb-src http://security.ubuntu.com/ubuntu/ intrepid-security main restricted
                              deb http://security.ubuntu.com/ubuntu/ intrepid-security universe
                              deb-src http://security.ubuntu.com/ubuntu/ intrepid-security universe
                              deb http://security.ubuntu.com/ubuntu/ intrepid-security multiverse
                              deb-src http://security.ubuntu.com/ubuntu/ intrepid-security multiverse
                              deb http://eric.lavar.de/comp/linux/debian/ experimental/
                              0
                              • 1
                              • 2