#1 Le 19/06/2017, à 19:59
- feuillebois54
[RESOLU] problème de mise a jour par le terminal
Bonjour,
J'ai un petit problème de mise a jour système, je passe par l'application logiciel Ubuntu, ça bloque.
Donc j'essaie par le terminal et voilà ce que j'obtiens:
$ sudo apt update
Lecture des listes de paquets... Fait
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/
Quelqu'un a-t-il une solution pour un novice, SVP ?
Dernière modification par feuillebois54 (Le 20/06/2017, à 20:30)
Hors ligne
#2 Le 19/06/2017, à 20:12
- nam1962
Re : [RESOLU] problème de mise a jour par le terminal
Redémarre et retente.
si ça te raconte la même chose, passe :
sudo rm -f /var/lib/dpkg/lock
Puis donne nous les retours de :
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d -1
df -Th
df -i
Tout cela entre balises code :
Dernière modification par nam1962 (Le 19/06/2017, à 20:12)
[ Modéré ]
Hors ligne
#3 Le 19/06/2017, à 21:15
- feuillebois54
Re : [RESOLU] problème de mise a jour par le terminal
J'ai redémarré et cela semble aller cette fois
voilà les retours
$ cat /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial 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/ xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## 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/ xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
ls /etc/apt/sources.list.d -1
google-chrome.list
$ df -Th
Sys. de fichiers Type Taille Utilisé Dispo Uti% Monté sur
udev devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs tmpfs 802M 9,4M 793M 2% /run
/dev/sda2 ext4 3,6T 1,4T 2,1T 39% /
tmpfs tmpfs 4,0G 35M 3,9G 1% /dev/shm
tmpfs tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs tmpfs 4,0G 0 4,0G 0% /sys/fs/cgroup
tmpfs tmpfs 802M 40K 802M 1% /run/user/1000
$ df -i
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
udev 1012673 501 1012172 1% /dev
tmpfs 1025913 682 1025231 1% /run
/dev/sda2 243671040 238111 243432929 1% /
tmpfs 1025913 46 1025867 1% /dev/shm
tmpfs 1025913 5 1025908 1% /run/lock
tmpfs 1025913 16 1025897 1% /sys/fs/cgroup
tmpfs 1025913 25 1025888 1% /run/user/1000
Hors ligne
#4 Le 20/06/2017, à 05:51
- nam1962
Re : [RESOLU] problème de mise a jour par le terminal
Pour contrôle.
sudo apt clean
sudo apt update
sudo apt full-upgrade
sudo apt autoremove
[ Modéré ]
Hors ligne
#5 Le 20/06/2017, à 20:21
- feuillebois54
Re : [RESOLU] problème de mise a jour par le terminal
bonsoir,
J'ai effectué les manip. tout semble bon, retour sur terminal pas de défault.
Dans le magasin Ubuntu, tous les logiciels à jour.
Un grand merci, je clos le sujet.
Hors ligne
#6 Le 20/06/2017, à 20:29
- nam1962
Re : [RESOLU] problème de mise a jour par le terminal
Ok, tu peux mettre [Résolu] dans le titre de ton premier post.
Pour la prochaine fois, donne le retour complet de chaque commande indiquée : ça permet d'être sûr qu'aucun blip n'a eu lieu et... ça aide les futurs visiteurs du fil qui auraient le même souci.
[ Modéré ]
Hors ligne
#7 Le 20/06/2017, à 20:35
- feuillebois54
Re : [RESOLU] problème de mise a jour par le terminal
Oups j'ai été un peu vite.
$ sudo apt update
Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
Atteint:2 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease
Atteint:3 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease
Atteint:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:5 https://dl.google.com/linux/chrome/deb stable InRelease
Réception de:6 https://dl.google.com/linux/chrome/deb stable Release [1 189 B]
Réception de:7 https://dl.google.com/linux/chrome/deb stable Release.gpg [916 B]
Réception de:8 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1 418 B]
3 523 o réceptionnés en 0s (4 691 o/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
All packages are up to date.
$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
$ sudo apt autoremove
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Hors ligne
#8 Le 20/06/2017, à 20:37
- nam1962
Re : [RESOLU] problème de mise a jour par le terminal
Bing ! Tu es passé de novice à expert !
[ Modéré ]
Hors ligne