#1 Le 10/09/2015, à 17:49
- Mélanie75
Problème lors de mise à jour
Bonjour, Lorsque je tente de faire les mises à jour, j'ai ces messages :
...
Calcul de la mise à jour... Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
linux-tools-3.19.0-27 linux-tools-3.19.0-27-generic
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Fait
Les paquets suivants seront ENLEVÉS :
linux-image-extra-3.19.0-26-generic
0 mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 161 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n]
dpkg : avertissement : le fichier contenant la liste des fichiers du paquet « linux-image-3.19.0-26-generic » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé
(Lecture de la base de données... 566664 fichiers et répertoires déjà installés.)
Suppression de linux-image-extra-3.19.0-26-generic (3.19.0-26.28) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-26-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-26-generic /boot/vmlinuz-3.19.0-26-generic
/usr/sbin/grub-mkconfig: 38: /etc/default/grub: usbhid.quirks=0x056a:0x0319:0x40000000: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
dpkg: erreur de traitement du paquet linux-image-extra-3.19.0-26-generic (--remove) :
le sous-processus script post-removal installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
linux-image-extra-3.19.0-26-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@ubuntu:~$
... que puis-je faire ?
Merci
Hors ligne
#2 Le 10/09/2015, à 18:55
- Vysserk3
Re : Problème lors de mise à jour
Salut,
Peux-tu poster le contenu du fichier /etc/default/grub ?
Hors ligne
#3 Le 10/09/2015, à 19:12
- Mélanie75
Re : Problème lors de mise à jour
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="drm.debug=0xe plymouth:debug"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="2560x1080x24"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_DISABLE_OS_PROBER="false"GRUB_GFXPAYLOAD_LINUX=None
GRUB_GFXPAYLOAD_LINUX=keep
usbhid.quirks=0x056a:0x0319:0x40000000
Hors ligne
#4 Le 10/09/2015, à 19:13
- Mélanie75
Re : Problème lors de mise à jour
... heu, pardon Vysserk3, salut et merci de ton aide.
Hors ligne
#5 Le 10/09/2015, à 19:31
- Vysserk3
Re : Problème lors de mise à jour
Supprime la dernière ligne :
usbhid.quirks=0x056a:0x0319:0x40000000
sauvegarde les modifications et relance dans un terminal :
sudo update-grub
C'est toi qui a modifié ce fichier à la base ?
Dernière modification par Vysserk3 (Le 10/09/2015, à 19:31)
Hors ligne
#6 Le 11/09/2015, à 10:45
- Mélanie75
Re : Problème lors de mise à jour
Merci beaucoup, Vysserk3, ça a marché.
Je n'ai pas modifié ce fichier et ne sais pas comment cela a pu être fait. Il reste néanmoins un problème mineur, je suis obligée de choisir, lors du boot, une autre image que "linux-image-extra-3.19.0-26-generic", car celle-ci ne fonctionne pas. Y a t-il un moyen de supprimer ce noyau défectueux et de démarrer sur un valide automatiquemment ?
Hors ligne
#7 Le 12/09/2015, à 15:07
- Vysserk3
Re : Problème lors de mise à jour
Salut,
D'après http://packages.ubuntu.com/source/vivid/linux, la dernière version du kernel pour Ubuntu 15.04, c'est 3.19.0-28 donc déjà tu n'es pas à jour
Pour vérifier ça, que donne :
uname -a
Pour supprimer les anciens noyaux, je te conseille de regarder par là https://forum.ubuntu-fr.org/viewtopic.php?id=242358
Hors ligne
#8 Le 15/09/2015, à 10:01
- Mélanie75
Re : Problème lors de mise à jour
Désolée pour le délai de réponse, mais j'ai du m'absenter.
Je te remercie pour ton aide, Vysserk3. Tous mes problèmes sont réglés, ou presque puisque Ubuntu démarre systématiquement sur un noyau corrompu que j'ai supprimé... je dois donc sélectionner ma version à la main.
Hors ligne
#9 Le 15/09/2015, à 10:16
- Vysserk3
Re : Problème lors de mise à jour
Peux-tu donner le retour de la commande suivante :
ls -l /boot
Hors ligne
#10 Le 16/09/2015, à 10:43
- Mélanie75
Re : Problème lors de mise à jour
ubuntu@ubuntu:~$ ls -l /boot
total 98748
-rw-r--r-- 1 root root 1207327 avril 10 21:03 abi-3.16.0-34-generic
-rw-r--r-- 1 root root 1270417 juil. 25 01:35 abi-3.19.0-25-generic
-rw-r--r-- 1 root root 1270654 août 11 17:44 abi-3.19.0-26-generic
-rw-r--r-- 1 root root 171819 avril 10 21:03 config-3.16.0-34-generic
-rw-r--r-- 1 root root 177771 juil. 25 01:35 config-3.19.0-25-generic
-rw-r--r-- 1 root root 177624 août 11 17:44 config-3.19.0-26-generic
drwxr-xr-x 6 root root 4096 sept. 11 17:12 grub
-rw-r--r-- 1 root root 20613451 avril 26 22:32 initrd.img-3.16.0-34-generic
-rw-r--r-- 1 root root 31710346 août 14 08:53 initrd.img-3.19.0-25-generic
-rw-r--r-- 1 root root 13583041 sept. 10 19:42 initrd.img-3.19.0-26-generic
-rw-r--r-- 1 root root 164216 mars 6 2015 memtest86+.bin
-rw-r--r-- 1 root root 165892 mars 6 2015 memtest86+.elf
-rw-r--r-- 1 root root 166396 mars 6 2015 memtest86+_multiboot.bin
-rw------- 1 root root 3502413 avril 10 21:03 System.map-3.16.0-34-generic
-rw------- 1 root root 3617653 juil. 25 01:35 System.map-3.19.0-25-generic
-rw------- 1 root root 3621128 août 11 17:44 System.map-3.19.0-26-generic
-rw------- 1 root root 6412672 avril 10 21:03 vmlinuz-3.16.0-34-generic
-rw------- 1 root root 6616704 juil. 25 01:35 vmlinuz-3.19.0-25-generic
-rw------- 1 root root 6620928 août 11 17:44 vmlinuz-3.19.0-26-generic
ubuntu@ubuntu:~$
Hors ligne
#11 Le 16/09/2015, à 10:55
- Vysserk3
Re : Problème lors de mise à jour
Tu n'es pas à jour avec les noyaux. Le dernier est 3.19.0-28
Tu utilises le 3.19.0-26 (vérifie quand même avec la commande uname -a)
Il te reste en résidu le 3.16.0-34 (vieux) et 3.19.0-25 (à la rigueur celui-là, tu peux le garder).
Tu as regardé le lien https://forum.ubuntu-fr.org/viewtopic.php?id=242358 ?
Hors ligne
#12 Le 16/09/2015, à 11:38
- Mélanie75
Re : Problème lors de mise à jour
En fait, j'utilise le noyau 3.19.0-25, car le 26 ne boote pas :
ubuntu@ubuntu:~$ uname -a
Linux papa 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$
J'ai bien utilisé "kclean" comme tu me l'as suggéré, mais j'ai toujours un noyau corrompu (le 26) :
ubuntu@ubuntu:~$ sudo update-grub
[sudo] password for ubuntu:
Création du fichier de configuration GRUB…
Attention : Définir GRUB_TIMEOUT à une valeur non nulle si GRUB_HIDDEN_TIMEOUT est définie n’est plus possible.
Image Linux trouvée : /boot/vmlinuz-3.19.0-26-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-26-generic
Image Linux trouvée : /boot/vmlinuz-3.19.0-25-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.19.0-25-generic
Image Linux trouvée : /boot/vmlinuz-3.16.0-34-generic
Image mémoire initiale trouvée : /boot/initrd.img-3.16.0-34-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
Windows 7 (loader) trouvé sur /dev/sdd1
fait
ubuntu@ubuntu:~$
Hors ligne
#13 Le 16/09/2015, à 12:11
- Vysserk3
Re : Problème lors de mise à jour
Déjà, il te faut faire en sorte d'avoir la dernière version du noyau 3.19.0-28.
Est-ce que tu es bien à jour ?
Fais
sudo apt-get update
puis donne le retour de :
sudo apt-get -s -u -V upgrade
Ensuite il faudra nettoyer à la main ce qu'il reste.
Dernière modification par Vysserk3 (Le 16/09/2015, à 16:21)
Hors ligne
#14 Le 18/09/2015, à 10:24
- Mélanie75
Re : Problème lors de mise à jour
ubuntu@ubuntu:~$ sudo apt-get -s -u -V 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... Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libreoffice-help-fr (4.4.2-0ubuntu1)
libreoffice-l10n-fr (4.4.2-0ubuntu1)
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Fait
Les paquets suivants seront mis à jour :
evolution-data-server (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
evolution-data-server-common (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
evolution-data-server-online-accounts (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
gcc-5-base (5.1~rc1-0ubuntu1 => 5.1~rc1-0ubuntu1.1)
gcc-5-base:i386 (5.1~rc1-0ubuntu1 => 5.1~rc1-0ubuntu1.1)
lib32gcc1 (5.1~rc1-0ubuntu1 => 5.1~rc1-0ubuntu1.1)
libcamel-1.2-49 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libebackend-1.2-7 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libebook-1.2-14 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libebook-contacts-1.2-0 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libecal-1.2-16 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libedata-book-1.2-20 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libedata-cal-1.2-23 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libedataserver-1.2-18 (3.12.11-0ubuntu1 => 3.12.11-0ubuntu1.15.04.1)
libgcc1 (5.1~rc1-0ubuntu1 => 5.1~rc1-0ubuntu1.1)
libgcc1:i386 (5.1~rc1-0ubuntu1 => 5.1~rc1-0ubuntu1.1)
numix-icon-theme (0.3+555~201509151346~ubuntu15.04.1 => 0.3+567~201509171946~ubuntu15.04.1)
17 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Inst gcc-5-base:i386 [5.1~rc1-0ubuntu1] (5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [i386]) [gcc-5-base:amd64 on gcc-5-base:i386] [gcc-5-base:i386 on gcc-5-base:amd64] [gcc-5-base:amd64 libgcc1:i386 ]
Inst gcc-5-base [5.1~rc1-0ubuntu1] (5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [amd64]) [lib32gcc1:amd64 libgcc1:amd64 libgcc1:i386 ]
Conf gcc-5-base (5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [amd64]) [lib32gcc1:amd64 libgcc1:amd64 libgcc1:i386 ]
Conf gcc-5-base:i386 (5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [i386]) [lib32gcc1:amd64 libgcc1:amd64 libgcc1:i386 ]
Inst lib32gcc1 [1:5.1~rc1-0ubuntu1] (1:5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [amd64]) [libgcc1:amd64 libgcc1:i386 ]
Inst libgcc1 [1:5.1~rc1-0ubuntu1] (1:5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [amd64]) [libgcc1:amd64 on libgcc1:i386] [libgcc1:i386 on libgcc1:amd64] [libgcc1:i386 ]
Inst libgcc1:i386 [1:5.1~rc1-0ubuntu1] (1:5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [i386])
Inst evolution-data-server-online-accounts [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64]) []
Inst evolution-data-server [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64]) []
Inst libcamel-1.2-49 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64]) []
Inst evolution-data-server-common [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [all])
Inst libedataserver-1.2-18 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst libebackend-1.2-7 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst libebook-contacts-1.2-0 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst libedata-book-1.2-20 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst libebook-1.2-14 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst libecal-1.2-16 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst libedata-cal-1.2-23 [3.12.11-0ubuntu1] (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Inst numix-icon-theme [0.3+555~201509151346~ubuntu15.04.1] (0.3+567~201509171946~ubuntu15.04.1 PPA for the Numix Project Ltd.:15.04/vivid [all])
Conf lib32gcc1 (1:5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libgcc1:i386 (1:5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [i386])
Conf libgcc1 (1:5.1~rc1-0ubuntu1.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libcamel-1.2-49 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf evolution-data-server-common (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [all])
Conf libedataserver-1.2-18 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libebackend-1.2-7 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf evolution-data-server-online-accounts (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libebook-contacts-1.2-0 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libedata-book-1.2-20 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libebook-1.2-14 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libecal-1.2-16 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf libedata-cal-1.2-23 (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf evolution-data-server (3.12.11-0ubuntu1.15.04.1 Ubuntu:15.04/vivid-proposed [amd64])
Conf numix-icon-theme (0.3+567~201509171946~ubuntu15.04.1 PPA for the Numix Project Ltd.:15.04/vivid [all])
ubuntu@ubuntu:~$
Hors ligne
#15 Le 18/09/2015, à 17:06
- Vysserk3
Re : Problème lors de mise à jour
Bizarre qu'il ne te propose pas la màj du noyau....tu as bien fait la commande avec update avant ?
Hors ligne
#16 Le 19/09/2015, à 12:30
- Mélanie75
Re : Problème lors de mise à jour
Oui, tout à fait.... et aujourd'hui, j'ai un problème de mémoire : sur 8 go, j'ai 2 % de disponible !
Hors ligne
#17 Le 19/09/2015, à 18:08
- Vysserk3
Re : Problème lors de mise à jour
Oui, tout à fait.... et aujourd'hui, j'ai un problème de mémoire : sur 8 go, j'ai 2 % de disponible !
Salut, comment détermines-tu ce pourcentage ?
Hors ligne
#18 Le 19/09/2015, à 18:20
- nam1962
Re : Problème lors de mise à jour
Donne le retour de
free -m
[ Modéré ]
Hors ligne
#19 Le 19/09/2015, à 18:29
- michel_04
Re : Problème lors de mise à jour
Bonjour,
Souvent on lit mémoire et c'est partition/disque.
df -h
df -i
A+
Dernière modification par michel_04 (Le 19/09/2015, à 18:29)
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#20 Le 19/09/2015, à 18:30
- nany
Re : Problème lors de mise à jour
Bonjour,
Bizarre qu'il ne te propose pas la màj du noyau....tu as bien fait la commande avec update avant ?
Le méta-paquet n’est peut-être tout simplement plus installé.
sudo apt-get install linux-generic
Hors ligne
#21 Le 20/09/2015, à 09:54
- Mélanie75
Re : Problème lors de mise à jour
Merci nany, ça a réglé mon problème. Maintenant, je boote sur le noyau 3.19.0-29, mais j'ai des résidus du 3.19.0-26...
J"attends la prochaine version d'Ubuntu, car la 15.04 me pose que des problèmes.
Merci Vysserk3 pour ton aide précieuse,jj'ai eu le pourcentage par "Psensor".
Merci à vous michel_04 et nam1962, je reviendrai vers vous pour ces histoires de mémoire qui me pourrissent la vie.
Hors ligne