#1 Le 23/10/2009, à 21:44
- joriz
Problème lors de l'installation d'un fichier
Bonjour, il m'est impossible de mettre à jour sun-java6-bin et sun-java6-jre
Comment faire pour réussir à les mettre à jour ??
Dernière modification par joriz (Le 23/10/2009, à 21:47)
Lucid 10.04
Hors ligne
#2 Le 23/10/2009, à 21:46
- wido
Re : Problème lors de l'installation d'un fichier
Bonjour,
http://doc.ubuntu-fr.org/java#installation
lance cette commande dans le terminal et colle le résultat sur le forum:
sudo apt-get update && sudo apt-get upgrade
Hors ligne
#3 Le 23/10/2009, à 21:49
- joriz
Re : Problème lors de l'installation d'un fichier
Voilà ce que ça me dit :
joriz@joriz-laptop:~$ sudo apt-get update && sudo apt-get upgrade
Atteint http://ftp.free.org jaunty Release.gpg
Atteint http://ftp.free.org jaunty/main Translation-fr
Atteint http://ftp.free.org jaunty/restricted Translation-fr
Atteint http://ftp.free.org jaunty/universe Translation-fr
Atteint http://ftp.free.org jaunty/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-updates Release.gpg
Ign http://ftp.free.org jaunty-updates/main Translation-fr
Ign http://ftp.free.org jaunty-updates/restricted Translation-fr
Ign http://ftp.free.org jaunty-updates/universe Translation-fr
Atteint http://ppa.launchpad.net jaunty Release.gpg
Ign http://ppa.launchpad.net jaunty/main Translation-fr
Ign http://ftp.free.org jaunty-updates/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-security Release.gpg
Ign http://ftp.free.org jaunty-security/main Translation-fr
Atteint http://ppa.launchpad.net jaunty Release
Ign http://ftp.free.org jaunty-security/restricted Translation-fr
Ign http://ftp.free.org jaunty-security/universe Translation-fr
Ign http://ftp.free.org jaunty-security/multiverse Translation-fr
Atteint http://ftp.free.org jaunty Release
Atteint http://ftp.free.org jaunty-updates Release
Atteint http://ftp.free.org jaunty-security Release
Atteint http://ppa.launchpad.net jaunty/main Packages
Atteint http://ftp.free.org jaunty/main Packages
Atteint http://ftp.free.org jaunty/restricted Packages
Atteint http://ftp.free.org jaunty/main Sources
Atteint http://ftp.free.org jaunty/restricted Sources
Atteint http://ftp.free.org jaunty/universe Packages
Atteint http://ftp.free.org jaunty/universe Sources
Atteint http://ftp.free.org jaunty/multiverse Packages
Atteint http://ftp.free.org jaunty/multiverse Sources
Atteint http://ftp.free.org jaunty-updates/main Packages
Atteint http://ftp.free.org jaunty-updates/restricted Packages
Atteint http://ftp.free.org jaunty-updates/main Sources
Atteint http://ftp.free.org jaunty-updates/restricted Sources
Atteint http://ftp.free.org jaunty-updates/universe Packages
Atteint http://ftp.free.org jaunty-updates/universe Sources
Atteint http://ftp.free.org jaunty-updates/multiverse Packages
Atteint http://ftp.free.org jaunty-updates/multiverse Sources
Atteint http://ftp.free.org jaunty-security/main Packages
Atteint http://ftp.free.org jaunty-security/restricted Packages
Atteint http://ftp.free.org jaunty-security/main Sources
Atteint http://ftp.free.org jaunty-security/restricted Sources
Atteint http://ftp.free.org jaunty-security/universe Packages
Atteint http://ftp.free.org jaunty-security/universe Sources
Atteint http://ftp.free.org jaunty-security/multiverse Packages
Atteint http://ftp.free.org jaunty-security/multiverse Sources
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Lucid 10.04
Hors ligne
#4 Le 23/10/2009, à 21:58
- Michel Leunen
Re : Problème lors de l'installation d'un fichier
Tu as une deuxième instance de synaptic qui tourne ou une autre instance de apt-get.
Autre possibilité, le fichier lock n'a pas été relaché par Synaptic. Si tu es sûr de n'avoir aucune autre instance de Synaptic qui tourne (ou d'apt-get), supprime le fichier :
$ sudo rm /var/lib/dpkg/lock
Michel Leunen
http://linux.leunen.com
Hors ligne
#5 Le 23/10/2009, à 22:00
- joriz
Re : Problème lors de l'installation d'un fichier
Ca ne marche toujours pas :
joriz@joriz-laptop:~$ sudo rm /var/lib/dpkg/lock
[sudo] password for joriz:
joriz@joriz-laptop:~$ sudo apt-get update && sudo apt-get upgrade
Atteint http://ftp.free.org jaunty Release.gpg
Atteint http://ftp.free.org jaunty/main Translation-fr
Atteint http://ftp.free.org jaunty/restricted Translation-fr
Atteint http://ftp.free.org jaunty/universe Translation-fr
Atteint http://ftp.free.org jaunty/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-updates Release.gpg
Ign http://ftp.free.org jaunty-updates/main Translation-fr
Ign http://ftp.free.org jaunty-updates/restricted Translation-fr
Ign http://ftp.free.org jaunty-updates/universe Translation-fr
Ign http://ftp.free.org jaunty-updates/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-security Release.gpg
Ign http://ftp.free.org jaunty-security/main Translation-fr
Ign http://ftp.free.org jaunty-security/restricted Translation-fr
Ign http://ftp.free.org jaunty-security/universe Translation-fr
Ign http://ftp.free.org jaunty-security/multiverse Translation-fr
Atteint http://ftp.free.org jaunty Release
Atteint http://ftp.free.org jaunty-updates Release
Atteint http://ppa.launchpad.net jaunty Release.gpg
Ign http://ppa.launchpad.net jaunty/main Translation-fr
Atteint http://ftp.free.org jaunty-security Release
Atteint http://ppa.launchpad.net jaunty Release
Atteint http://ppa.launchpad.net jaunty/main Packages
Atteint http://ftp.free.org jaunty/main Packages
Atteint http://ftp.free.org jaunty/restricted Packages
Atteint http://ftp.free.org jaunty/main Sources
Atteint http://ftp.free.org jaunty/restricted Sources
Atteint http://ftp.free.org jaunty/universe Packages
Atteint http://ftp.free.org jaunty/universe Sources
Atteint http://ftp.free.org jaunty/multiverse Packages
Atteint http://ftp.free.org jaunty/multiverse Sources
Atteint http://ftp.free.org jaunty-updates/main Packages
Atteint http://ftp.free.org jaunty-updates/restricted Packages
Atteint http://ftp.free.org jaunty-updates/main Sources
Atteint http://ftp.free.org jaunty-updates/restricted Sources
Atteint http://ftp.free.org jaunty-updates/universe Packages
Atteint http://ftp.free.org jaunty-updates/universe Sources
Atteint http://ftp.free.org jaunty-updates/multiverse Packages
Atteint http://ftp.free.org jaunty-updates/multiverse Sources
Atteint http://ftp.free.org jaunty-security/main Packages
Atteint http://ftp.free.org jaunty-security/restricted Packages
Atteint http://ftp.free.org jaunty-security/main Sources
Atteint http://ftp.free.org jaunty-security/restricted Sources
Atteint http://ftp.free.org jaunty-security/universe Packages
Atteint http://ftp.free.org jaunty-security/universe Sources
Atteint http://ftp.free.org jaunty-security/multiverse Packages
Atteint http://ftp.free.org jaunty-security/multiverse Sources
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
joriz@joriz-laptop:~$
Lucid 10.04
Hors ligne
#6 Le 23/10/2009, à 22:04
- wido
Re : Problème lors de l'installation d'un fichier
sudo dpkg --configure -a
Hors ligne
#7 Le 23/10/2009, à 22:07
- joriz
Re : Problème lors de l'installation d'un fichier
J'ai essayé mais quand je fais les mises à jour du 'Gestionnaire de mises à jour', ça me dit :
E: Impossible de verrouiller /var/cache/apt/archives/lock - open (11 Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire de téléchargement
Lucid 10.04
Hors ligne
#8 Le 23/10/2009, à 22:08
- wido
Re : Problème lors de l'installation d'un fichier
arf tu ouvres synaptic et la console, c'est normale que tu as ce "problème".
n'utilise plus pour l'instant synaptic (ferme le ) et passe par la console.
Hors ligne
#9 Le 23/10/2009, à 22:09
- joriz
Re : Problème lors de l'installation d'un fichier
Aucun soucis, par contre explique moi tout ce que je dois faire
Lucid 10.04
Hors ligne
#10 Le 23/10/2009, à 22:24
- wido
Re : Problème lors de l'installation d'un fichier
et bien pour mettre à jour ton pc utilise cette commande:
sudo apt-get update && sudo apt-get upgrade
si c'est pour une mise à jour de sun-java6-bin et sun-java6-jre ils se feront, bien sûr si tu les as installé.
sinon:
sudo apt-get install sun-java6-bin sun-java6-jre
Hors ligne
#11 Le 23/10/2009, à 22:28
- joriz
Re : Problème lors de l'installation d'un fichier
Toujours le même problème en utilisant seulement le terminal :
joriz@joriz-laptop:~$ sudo apt-get update && sudo apt-get upgrade
[sudo] password for joriz:
Atteint http://ftp.free.org jaunty Release.gpg
Atteint http://ftp.free.org jaunty/main Translation-fr
Atteint http://ftp.free.org jaunty/restricted Translation-fr
Atteint http://ftp.free.org jaunty/universe Translation-fr
Atteint http://ftp.free.org jaunty/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-updates Release.gpg
Ign http://ftp.free.org jaunty-updates/main Translation-fr
Ign http://ftp.free.org jaunty-updates/restricted Translation-fr
Ign http://ftp.free.org jaunty-updates/universe Translation-fr
Atteint http://ppa.launchpad.net jaunty Release.gpg
Ign http://ppa.launchpad.net jaunty/main Translation-fr
Ign http://ftp.free.org jaunty-updates/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-security Release.gpg
Ign http://ftp.free.org jaunty-security/main Translation-fr
Atteint http://ppa.launchpad.net jaunty Release
Ign http://ftp.free.org jaunty-security/restricted Translation-fr
Ign http://ftp.free.org jaunty-security/universe Translation-fr
Ign http://ftp.free.org jaunty-security/multiverse Translation-fr
Atteint http://ftp.free.org jaunty Release
Atteint http://ftp.free.org jaunty-updates Release
Atteint http://ftp.free.org jaunty-security Release
Atteint http://ppa.launchpad.net jaunty/main Packages
Atteint http://ftp.free.org jaunty/main Packages
Atteint http://ftp.free.org jaunty/restricted Packages
Atteint http://ftp.free.org jaunty/main Sources
Atteint http://ftp.free.org jaunty/restricted Sources
Atteint http://ftp.free.org jaunty/universe Packages
Atteint http://ftp.free.org jaunty/universe Sources
Atteint http://ftp.free.org jaunty/multiverse Packages
Atteint http://ftp.free.org jaunty/multiverse Sources
Atteint http://ftp.free.org jaunty-updates/main Packages
Atteint http://ftp.free.org jaunty-updates/restricted Packages
Atteint http://ftp.free.org jaunty-updates/main Sources
Atteint http://ftp.free.org jaunty-updates/restricted Sources
Atteint http://ftp.free.org jaunty-updates/universe Packages
Atteint http://ftp.free.org jaunty-updates/universe Sources
Atteint http://ftp.free.org jaunty-updates/multiverse Packages
Atteint http://ftp.free.org jaunty-updates/multiverse Sources
Atteint http://ftp.free.org jaunty-security/main Packages
Atteint http://ftp.free.org jaunty-security/restricted Packages
Atteint http://ftp.free.org jaunty-security/main Sources
Atteint http://ftp.free.org jaunty-security/restricted Sources
Atteint http://ftp.free.org jaunty-security/universe Packages
Atteint http://ftp.free.org jaunty-security/universe Sources
Atteint http://ftp.free.org jaunty-security/multiverse Packages
Atteint http://ftp.free.org jaunty-security/multiverse Sources
E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Lucid 10.04
Hors ligne
#12 Le 23/10/2009, à 22:30
- wido
Re : Problème lors de l'installation d'un fichier
essaye ceci:
sudo rm /var/lib/dpkg/lock
et refais la commande précédente, tu as encore synaptic ouvert quelque part regarde en haut à droite puis ferme le.
Hors ligne
#13 Le 23/10/2009, à 22:33
- joriz
Re : Problème lors de l'installation d'un fichier
C'est bien ce que je croyais mais je n'ai pourtant rien d'autre d'ouvert, j'ai déjà essayé de rallumer le PC et le problème subsiste encore :
joriz@joriz-laptop:~$ sudo rm /var/lib/dpkg/lock
joriz@joriz-laptop:~$ sudo apt-get update && sudo apt-get upgrade
Atteint http://ftp.free.org jaunty Release.gpg
Atteint http://ftp.free.org jaunty/main Translation-fr
Atteint http://ftp.free.org jaunty/restricted Translation-fr
Atteint http://ftp.free.org jaunty/universe Translation-fr
Atteint http://ftp.free.org jaunty/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-updates Release.gpg
Ign http://ftp.free.org jaunty-updates/main Translation-fr
Ign http://ftp.free.org jaunty-updates/restricted Translation-fr
Ign http://ftp.free.org jaunty-updates/universe Translation-fr
Atteint http://ppa.launchpad.net jaunty Release.gpg
Ign http://ppa.launchpad.net jaunty/main Translation-fr
Ign http://ftp.free.org jaunty-updates/multiverse Translation-fr
Atteint http://ftp.free.org jaunty-security Release.gpg
Ign http://ftp.free.org jaunty-security/main Translation-fr
Ign http://ftp.free.org jaunty-security/restricted Translation-fr
Atteint http://ppa.launchpad.net jaunty Release
Ign http://ftp.free.org jaunty-security/universe Translation-fr
Ign http://ftp.free.org jaunty-security/multiverse Translation-fr
Atteint http://ftp.free.org jaunty Release
Atteint http://ftp.free.org jaunty-updates Release
Atteint http://ftp.free.org jaunty-security Release
Atteint http://ppa.launchpad.net jaunty/main Packages
Atteint http://ftp.free.org jaunty/main Packages
Atteint http://ftp.free.org jaunty/restricted Packages
Atteint http://ftp.free.org jaunty/main Sources
Atteint http://ftp.free.org jaunty/restricted Sources
Atteint http://ftp.free.org jaunty/universe Packages
Atteint http://ftp.free.org jaunty/universe Sources
Atteint http://ftp.free.org jaunty/multiverse Packages
Atteint http://ftp.free.org jaunty/multiverse Sources
Atteint http://ftp.free.org jaunty-updates/main Packages
Atteint http://ftp.free.org jaunty-updates/restricted Packages
Atteint http://ftp.free.org jaunty-updates/main Sources
Atteint http://ftp.free.org jaunty-updates/restricted Sources
Atteint http://ftp.free.org jaunty-updates/universe Packages
Atteint http://ftp.free.org jaunty-updates/universe Sources
Atteint http://ftp.free.org jaunty-updates/multiverse Packages
Atteint http://ftp.free.org jaunty-updates/multiverse Sources
Atteint http://ftp.free.org jaunty-security/main Packages
Atteint http://ftp.free.org jaunty-security/restricted Packages
Atteint http://ftp.free.org jaunty-security/main Sources
Atteint http://ftp.free.org jaunty-security/restricted Sources
Atteint http://ftp.free.org jaunty-security/universe Packages
Atteint http://ftp.free.org jaunty-security/universe Sources
Atteint http://ftp.free.org jaunty-security/multiverse Packages
Atteint http://ftp.free.org jaunty-security/multiverse Sources
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
Les paquets suivants ont été conservés :
linux-generic linux-headers-generic linux-image-generic linux-restricted-modules-generic
Les paquets suivants seront mis à jour :
amsn amsn-data libpoppler-glib4 libpoppler4 linux-libc-dev linux-restricted-modules-common poppler-utils sun-java6-bin
sun-java6-jre tzdata
10 mis à jour, 0 nouvellement installés, 0 à enlever et 4 non mis à jour.
2 partiellement installés ou enlevés.
E: Impossible de verrouiller /var/cache/apt/archives/lock - open (11 Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire de téléchargement
joriz@joriz-laptop:~$
Lucid 10.04
Hors ligne