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 06/04/2014, à 17:08

hidia

[Résolu] En attente de fermeture apt-get

Bonjour,

(Modèle Linux Ubuntu 12.04)

Désole pour mon français... je suis italienne.

Bref,

Chaque fois que j’accède au (Logithèque Ubuntu) je trouve en cours :
"Recherche en cours
En attente de fermeture apt-get"

Donc je n'arrive pas ni à installer programmes, application ni mise à jour, rien de tout...

Que dois-je faire? >.<

MERCI!

Dernière modification par hidia (Le 06/04/2014, à 18:33)

Hors ligne

#2 Le 06/04/2014, à 17:15

Korak

Re : [Résolu] En attente de fermeture apt-get

Bonjour,

Referme tout puis ouvre un terminal et donne le retour complet de la commande:

sudo apt-get update

OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#3 Le 06/04/2014, à 17:17

michel_04

Re : [Résolu] En attente de fermeture apt-get

Bonjour,

Ferme la logithèque et dans le terminal :

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Donne le retour des commandes si erreur.

A+

Hors ligne

#4 Le 06/04/2014, à 17:36

hidia

Re : [Résolu] En attente de fermeture apt-get

J'ai refermé tout puis j'ecrit dans le Terminal

 sudo apt-get update

a commencé l'update et après est sortit :

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.

Hors ligne

#5 Le 06/04/2014, à 17:40

hidia

Re : [Résolu] En attente de fermeture apt-get

j'ai essayé meme

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

il est sortit encore

Atteint http://ubuntu-archive.mirrors.proxad.net precise Release.gpg
Atteint http://majordipass.visascol.fr precise Release.gpg                     
Atteint http://extras.ubuntu.com precise Release.gpg                           
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates Release.gpg   
Atteint http://majordipass.visascol.fr precise Release                         
Atteint http://extras.ubuntu.com precise Release                               
Atteint http://archive.canonical.com precise Release.gpg                       
Atteint http://majordipass.visascol.fr precise/main amd64 Packages             
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports Release.gpg 
Atteint http://extras.ubuntu.com precise/main amd64 Packages                   
Atteint http://majordipass.visascol.fr precise/main i386 Packages              
Ign http://majordipass.visascol.fr precise/main TranslationIndex               
Atteint http://extras.ubuntu.com precise/main i386 Packages                    
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security Release.gpg  
Atteint http://archive.canonical.com precise Release                           
Atteint http://ubuntu-archive.mirrors.proxad.net precise Release               
Atteint http://archive.canonical.com precise/partner amd64 Packages            
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates Release       
Atteint https://private-ppa.launchpad.net precise Release.gpg                  
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports Release     
Atteint http://archive.canonical.com precise/partner i386 Packages             
Ign http://archive.canonical.com precise/partner TranslationIndex              
Atteint https://private-ppa.launchpad.net precise Release                      
Atteint https://private-ppa.launchpad.net precise/main amd64 Packages          
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security Release      
Atteint https://private-ppa.launchpad.net precise/main i386 Packages           
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted Sources    
Ign http://majordipass.visascol.fr precise/main Translation-fr_FR              
Ign http://majordipass.visascol.fr precise/main Translation-fr                 
Réception de : 1 https://private-ppa.launchpad.net precise/main TranslationIndex [369 B]
Ign https://private-ppa.launchpad.net precise/main TranslationIndex            
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main Sources          
Ign http://majordipass.visascol.fr precise/main Translation-en                 
Ign http://extras.ubuntu.com precise/main Translation-fr_FR                    
Ign http://extras.ubuntu.com precise/main Translation-fr                       
Ign http://extras.ubuntu.com precise/main Translation-en                       
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe i386 Packages
Ign https://private-ppa.launchpad.net precise/main Translation-fr_FR
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse i386 Packages
Ign https://private-ppa.launchpad.net precise/main Translation-fr      
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main TranslationIndex
Ign https://private-ppa.launchpad.net precise/main Translation-en      
Ign http://archive.canonical.com precise/partner Translation-fr_FR             
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en          
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/restricted Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/main Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/multiverse Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/universe Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/main amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/restricted amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/universe amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/multiverse amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/main i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/restricted i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/universe i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/multiverse i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/main TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/multiverse TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/restricted TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/universe TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/main Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/restricted Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/universe Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/multiverse Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/main amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/restricted amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/universe amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/multiverse amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/main i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/restricted i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/universe i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/multiverse i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/main TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/multiverse TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/restricted TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/universe TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/restricted Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/main Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/multiverse Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/universe Sources
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/main amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/restricted amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/universe amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/multiverse amd64 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/main i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/restricted i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/universe i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/multiverse i386 Packages
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/main TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/multiverse TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/restricted TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/universe TranslationIndex
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main Translation-fr_FR
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise/main Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse Translation-fr_FR
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise/multiverse Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted Translation-fr_FR
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise/restricted Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe Translation-fr_FR
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise/universe Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/main Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/main Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/multiverse Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/multiverse Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/restricted Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/restricted Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/universe Translation-fr
Atteint http://ubuntu-archive.mirrors.proxad.net precise-updates/universe Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/main Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/multiverse Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/restricted Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-backports/universe Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/main Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/multiverse Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/restricted Translation-en
Atteint http://ubuntu-archive.mirrors.proxad.net precise-security/universe Translation-en
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.

Hors ligne

#6 Le 06/04/2014, à 17:42

michel_04

Re : [Résolu] En attente de fermeture apt-get

Re,

Dans la Documentation ---> Problemes apt : Autres erreurs

sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
sudo killall apt-get

Puis :

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Edit : Pour complèter un post, clique sur Modifier au bas du message.

A+

Dernière modification par michel_04 (Le 06/04/2014, à 17:43)

Hors ligne

#7 Le 06/04/2014, à 17:42

Korak

Re : [Résolu] En attente de fermeture apt-get

Lance la commande:

sudo rm -rf /var/lib/apt/lists/lock

Puis donne le retour complet de la commande:

sudo apt-get update

OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#8 Le 06/04/2014, à 17:48

hidia

Re : [Résolu] En attente de fermeture apt-get

quand j'ai mis

sudo rm -rf /var/lib/apt/lists/lock

rien n'arrive...
et quand j'ai fait

sudo apt-get update

il a fait comme avant...

Hors ligne

#9 Le 06/04/2014, à 17:50

hidia

Re : [Résolu] En attente de fermeture apt-get

ordipass@ORDIPASS:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for ordipass:
rm: impossible de supprimer «/var/lib/apt/lists/lock»: Aucun fichier ou dossier de ce type

Hors ligne

#10 Le 06/04/2014, à 17:52

compte supprimé

Re : [Résolu] En attente de fermeture apt-get

@A tous,
avec cette commande ça peut résoudre le problème!!!

sudo apt-get -f install

Dernière modification par Compte anonymisé (Le 06/04/2014, à 17:59)

#11 Le 06/04/2014, à 17:54

hidia

Re : [Résolu] En attente de fermeture apt-get

rtst-2

j'ai essayé

ordipass@ORDIPASS:~$ sudo apt-get -f install
[sudo] password for ordipass: 
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.

Hors ligne

#12 Le 06/04/2014, à 17:56

michel_04

Re : [Résolu] En attente de fermeture apt-get

Re,

hidia a écrit :

rtst-2

j'ai essayé

Tu as lancé les quatre commandes que je t'ai donné ?

A+

Hors ligne

#13 Le 06/04/2014, à 18:01

hidia

Re : [Résolu] En attente de fermeture apt-get

Oui micheal_04, Il ne fonctionne pas...

Hors ligne

#14 Le 06/04/2014, à 18:07

hidia

Re : [Résolu] En attente de fermeture apt-get

j'ai meme fait :

 sudo killall apt-get
ordipass@ORDIPASS:~$ sudo killall apt-get
[sudo] password for ordipass: 
apt-get: aucun processus trouvé

Hors ligne

#15 Le 06/04/2014, à 18:11

michel_04

Re : [Résolu] En attente de fermeture apt-get

Re,

Tu as bien fermé la Logithèque ? Synaptic ? Aucune autre instance de apt-get lancée ?
Redémarre ta session pour voir.

A+

Dernière modification par michel_04 (Le 06/04/2014, à 18:12)

Hors ligne

#16 Le 06/04/2014, à 18:11

Korak

Re : [Résolu] En attente de fermeture apt-get

hidia a écrit :

ordipass@ORDIPASS:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for ordipass:
rm: impossible de supprimer «/var/lib/apt/lists/lock»: Aucun fichier ou dossier de ce type

C'est normal, tu as oublié -rf .

La bonne commande est:

sudo rm -rf /var/lib/apt/lists/lock

Fais un copier/coller des commandes que l'on te propose, ça évite ce genre d'erreur.


OS: Ubuntu 22.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne

#17 Le 06/04/2014, à 18:12

compte supprimé

Re : [Résolu] En attente de fermeture apt-get

Pour voir le paquet qui bloque avec cette commande

sudo dpkg –configure -a

Dernière modification par Compte anonymisé (Le 06/04/2014, à 18:17)

#18 Le 06/04/2014, à 18:15

hidia

Re : [Résolu] En attente de fermeture apt-get

rtst-2 regarde...

ordipass@ORDIPASS:~$ sudo dpkg –configure -a
dpkg : erreur : requiert une option d'action

Utiliser « dpkg --help » pour une obtenir une aide sur l'installation et la désinstallation des paquets [*] ;
Utiliser « dselect » ou « aptitude » pour gérer les paquets de manière
plus conviviale ;
Utiliser « dpkg -Dhelp » pour obtenir une liste des valeurs drapeaux de débogage ;
Utiliser « dpkg --force-help » pour consulter la liste des options de forçage ;
Utiliser « dpkg-deb --help » pour obtenir une aide sur la manipulation des fichiers *.deb ;

Les options marquées d'un [*] affichent beaucoup d'informations - tubez-les à travers « less » ou « more ».

Hors ligne

#19 Le 06/04/2014, à 18:16

michel_04

Re : [Résolu] En attente de fermeture apt-get

Re,

Et ça c'est quoi, si tu ne donnes pas les infos...

hidia a écrit :

j'ai fait :

ordipass@ORDIPASS:~$ sudo apt-get install ttf-mscorefonts-installer
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront mis à jour :
  ttf-mscorefonts-installer
1 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Il est nécessaire de prendre 27,4 ko dans les archives.
Après cette opération, 133 ko d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://ubuntu-archive.mirrors.proxad.net/ubuntu/ precise/multiverse ttf-mscorefonts-installer all 3.4ubuntu3 [27,4 kB]
27,4 ko réceptionnés en 0s (107 ko/s)              
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Ressource temporairement non disponible
(Lecture de la base de données... 
dpkg : avertissement : le fichier contenant la liste des fichiers du paquet « ttf-mscorefonts-installer » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé.
(Lecture de la base de données... 184290 fichiers et répertoires déjà installés.)
Préparation du remplacement de ttf-mscorefonts-installer 3.4ubuntu3 (en utilisant .../ttf-mscorefonts-installer_3.4ubuntu3_all.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Ressource temporairement non disponible
dpkg : erreur de traitement de /var/cache/apt/archives/ttf-mscorefonts-installer_3.4ubuntu3_all.deb (--unpack) :
 le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/ttf-mscorefonts-installer_3.4ubuntu3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

après j'envoyé signale d'anomalie...

Edit : La solution est sur la page de la Documentation dont j'ai mis le lien.

A+

Dernière modification par michel_04 (Le 06/04/2014, à 18:20)

Hors ligne

#20 Le 06/04/2014, à 18:22

hidia

Re : [Résolu] En attente de fermeture apt-get

Yuppy peut être avec

sudo apt-get install ttf-mscorefonts-installer

j'ai reglée le problemes, maintenant il functionne big_smile

MERCI A TOUS ^_^

Hors ligne

#21 Le 06/04/2014, à 18:23

michel_04

Re : [Résolu] En attente de fermeture apt-get

Re,

Tu peux ajouter [Résolu] au titre de ton post en cliquant sur "Modifier" au bas de ton premier message, merci.

A+

Hors ligne

#22 Le 06/04/2014, à 18:32

compte supprimé

Re : [Résolu] En attente de fermeture apt-get

J'ai fait une erreur dans la commande ou poste 17
sudo dpkg --configure -a
la commande j'ai vue sur le forum mais j'ai pas bien compris il sert quoi!!
ttf-mscorefonts-installer

Dernière modification par Compte anonymisé (Le 06/04/2014, à 18:38)

#23 Le 06/04/2014, à 18:35

hidia

Re : [Résolu] En attente de fermeture apt-get

OUI j'ai fait Michel_04  wink
[Résolu]

rtst-2 t’inquiète j'ai resolu smile

MERCI !

Dernière modification par hidia (Le 06/04/2014, à 18:37)

Hors ligne

#24 Le 02/04/2022, à 15:03

Niko81300

Re : [Résolu] En attente de fermeture apt-get

Merci à Michel_04 j'avais ce problème de gestionnaire de MAJ, grâce à vous tout est rentré dans l'ordre!
Je suis vraiment un boulet sous Linux, c'est génial d'avoir de l'aide comme cela!
Merci encore.

Hors ligne