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 28/08/2016, à 16:33

laslack

impossible d'acceder à synaptic. RESOLU

Bonjour ,
Avec 12.04 j'étais en train de d'installer mpt selon la méthode 3 lorsque :

jeanpaul@jeanpaul-G41M-ES2H:~$ sudo add-apt-repository ppa:langdalepl/gvfs-mtp
[sudo] password for jeanpaul: 
You are about to add the following PPA to your system:
 These builds of gvfs have my native mtp backend backported from gvfs master. Use this to easily access MTP based devices with Nautilus.

13.10 (Saucy) and newer versions of Ubuntu contain all of these changes, so you don't need to use this ppa any more.
 More info: https://launchpad.net/~langdalepl/+archive/ubuntu/gvfs-mtp
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: le porte-clefs « /tmp/tmpmhz3dE/secring.gpg » a été créé
gpg: le porte-clefs « /tmp/tmpmhz3dE/pubring.gpg » a été créé
gpg: demande de la clef C07BBEC4 sur le serveur hkp keyserver.ubuntu.com
gpg: /tmp/tmpmhz3dE/trustdb.gpg : base de confiance créée
gpg: clef C07BBEC4 : clef publique « Launchpad PPA for Philip Langdale » importée
gpg: Quantité totale traitée : 1
gpg:               importées : 1  (RSA: 1)
OK
jeanpaul@jeanpaul-G41M-ES2H:~$ sudo apt-get update
E: Impossible d'obtenir le verrou /var/lib/apt/lists/lock - open (11: Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire /var/lib/apt/lists/
E: Impossible d'obtenir le verrou /var/lib/dpkg/lock - open (11: Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Il est possible qu'un autre processus l'utilise.
jeanpaul@jeanpaul-G41M-ES2H:~$ 

Alors que je n'ai aucune autre action en cours .J'ai essayé d'acceder à synaptic qui me dit la même chose.
Quelqu'un peut il m'aider ?

Dernière modification par laslack (Le 30/08/2016, à 04:49)

Hors ligne

#2 Le 28/08/2016, à 17:09

gl38

Re : impossible d'acceder à synaptic. RESOLU

As-tu essayé de redémarrer l'ordinateur ?
Cordialement,
Guy

Hors ligne

#3 Le 28/08/2016, à 17:10

laslack

Re : impossible d'acceder à synaptic. RESOLU

Oui ,ça n'a donné aucun résultat.

Hors ligne

#4 Le 28/08/2016, à 19:20

gl38

Re : impossible d'acceder à synaptic. RESOLU

Tu peux essayer de voir s'il n'y a pas un logiciel de mise à jour qui se lance tout seul.
Que donnent

ps auxwww|grep update
ps auxwww|grep apt
ps auxwww|grep dpkg

Cordialement,
Guy

Hors ligne

#5 Le 28/08/2016, à 21:37

laslack

Re : impossible d'acceder à synaptic. RESOLU

Voici le résultat: 

eanpaul@jeanpaul-G41M-ES2H:~$ ps auxwww|grep update
jeanpaul  2857  0.0  0.1  52616 12252 ?        Sl   15:50   0:06 update-notifier
root      2877 99.1  0.8  76752 70804 pts/0    RN+  15:50 235:58 /usr/bin/python /usr/bin/dropbox update
root     13353 99.8  0.8  77132 71036 ?        R    19:23  25:01 /usr/bin/python /usr/bin/dropbox update
root     13679 99.8  0.8  77048 71036 ?        R    19:28  20:33 /usr/bin/python /usr/bin/dropbox update
jeanpaul 14612  0.0  0.0   4404   800 pts/7    R+   19:49   0:00 grep --color=auto update
jeanpaul@jeanpaul-G41M-ES2H:~$ ps auxwww|grep apt
root      2868  1.0  0.5  71732 47340 ?        SNl  15:50   2:34 /usr/bin/python /usr/sbin/aptd
jeanpaul 14620  0.0  0.0   4408   796 pts/7    S+   19:49   0:00 grep --color=auto apt
jeanpaul@jeanpaul-G41M-ES2H:~$ ps auxwww|grep dpkg
root      2874  0.0  0.0   7028  5044 pts/0    SNs+ 15:50   0:00 /usr/bin/dpkg --status-fd 14 --configure -a --force-confdef --force-confold
root      2876  0.0  0.0   2232   540 pts/0    SN+  15:50   0:00 /bin/sh /var/lib/dpkg/info/nautilus-dropbox.postinst configure 
root     13352  0.0  0.0   2232   540 ?        S    19:23   0:00 /bin/sh /var/lib/dpkg/info/nautilus-dropbox.postinst configure 
root     13678  0.0  0.0   2232   540 ?        S    19:28   0:00 /bin/sh /var/lib/dpkg/info/nautilus-dropbox.postinst configure 
jeanpaul 14629  0.0  0.0   4404   796 pts/7    R+   19:49   0:00 grep --color=auto dpkg
jeanpaul@jeanpaul-G41M-ES2H:~$ 

Hors ligne

#6 Le 29/08/2016, à 07:35

gl38

Re : impossible d'acceder à synaptic. RESOLU

Le dernier résultat dit qu'une instance de dpkg est en train de tourner.
Il y a un souci avec dropbox.
Tu peux essayer de tuer ces processus avec un

sudo kill -9 2874

Peut-être que cela suffira mais il y a des chances qu'ils renaissent aussitôt.
Cordialement,
Guy

Hors ligne

#7 Le 29/08/2016, à 23:07

laslack

Re : impossible d'acceder à synaptic. RESOLU

J 'ai fait la commande .voici le résultat :

jeanpaul@jeanpaul-G41M-ES2H:~$ sudo kill -9 2874
[sudo] password for jeanpaul: 
kill: No such process
jeanpaul@jeanpaul-G41M-ES2H:~$ sudo kill -9 2874
kill: No such process
jeanpaul@jeanpaul-G41M-ES2H:~$ 

voici maintenant le résultat des commandes précédentes , il semble y avoir un changement  :

eanpaul@jeanpaul-G41M-ES2H:~$ ps auxwww|grep update
jeanpaul  2921  0.0  0.1  52572 12152 ?        Sl   22:55   0:00 update-notifier
root      2938 71.2  0.8  76788 70808 pts/0    RN+  22:55   5:09 /usr/bin/python /usr/bin/dropbox update
jeanpaul  4172  0.0  0.0   4408   800 pts/4    S+   23:02   0:00 grep --color=auto update
jeanpaul@jeanpaul-G41M-ES2H:~$ ps auxwww|grep apt
root      2929 33.8  0.1  36140 15812 ?        SNl  22:55   2:31 /usr/bin/python /usr/sbin/aptd
jeanpaul  4181  0.0  0.0   4404   796 pts/4    S+   23:02   0:00 grep --color=auto apt
jeanpaul@jeanpaul-G41M-ES2H:~$ ps auxwww|grep dpkg
root      2935  0.0  0.0   7028  5112 pts/0    SNs+ 22:55   0:00 /usr/bin/dpkg --status-fd 14 --configure -a --force-confdef --force-confold
root      2937  0.0  0.0   2232   540 pts/0    SN+  22:55   0:00 /bin/sh /var/lib/dpkg/info/nautilus-dropbox.postinst configure 
jeanpaul  4189  0.0  0.0   4404   796 pts/4    S+   23:02   0:00 grep --color=auto dpkg
jeanpaul@jeanpaul-G41M-ES2H:~$ 

Hors ligne

#8 Le 30/08/2016, à 04:47

laslack

Re : impossible d'acceder à synaptic. RESOLU

j y suis arrivé : dans un terminal j'ai fait "top" qui m'a permis de voir que l2 processus dropbox étaitntoujours en cours et j'ai fait un sudo kill 'n°PID' et ça a fonctionné
Je passe en résolu
MERCI

Dernière modification par laslack (Le 30/08/2016, à 04:49)

Hors ligne