En cours Mise à jour impossible Linux Mint 21.1

Postez ici toutes vos demandes d’assistance.
Répondre
Enzo.M
Messages : 3
Enregistré le : jeu. 14 déc. 2023 10:03

Mise à jour impossible Linux Mint 21.1

Message par Enzo.M »

Bonjour à tous,
Je rencontre un problème avec ma distribution lorsque que je souhaite faire mes mises à jour. Je passe par l'interface Gestionnaire de mises à jour.
Tout se passe bien jusqu'au moment où une fenetre externe s'ouvre et cela reste bloqué pendant des jours dessus avec les lignes si dessous :

Code : Tout sélectionner

Paramétrage de linux-image-5.15.0-91-generic (5.15.0-91.101) ...
Traitement des actions différées (« triggers ») pour linux-image-5.15.0-91-generic (5.15.0-91.101) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.15.0-91-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-91-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-89-generic
Found initrd image: /boot/initrd.img-5.15.0-89-generic
Found linux image: /boot/vmlinuz-5.15.0-84-generic
Found initrd image: /boot/initrd.img-5.15.0-84-generic
Found linux image: /boot/vmlinuz-5.15.0-83-generic
Found initrd image: /boot/initrd.img-5.15.0-83-generic
Found linux image: /boot/vmlinuz-5.15.0-76-generic
Found initrd image: /boot/initrd.img-5.15.0-76-generic
Found linux image: /boot/vmlinuz-5.15.0-75-generic
Found initrd image: /boot/initrd.img-5.15.0-75-generic
Found linux image: /boot/vmlinuz-5.15.0-67-generic
Found initrd image: /boot/initrd.img-5.15.0-67-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Quelqu'un a une idée de comment résoudre mon problème ?
Merci d'avance
Enzo

capdeframint
Messages : 2266
Enregistré le : jeu. 2 juin 2016 08:57
Localisation : Hautes-Alpes: GAP

Re: Mise à jour impossible Linux Mint 21.1

Message par capdeframint »

Même si ça ne va pas résoudre ton problème je te conseillerais déjà de faire du ménage dans les noyaux car il y en a beaucoup trop et ça ne sert à rien!
PC1:PCportable HP Pavilion 15-eh3027nf, proc Ryzen 7 7730U , Ram 16 Go, SSD 512 Go, LM 22 XFCE Dual Boot W11/LM 22
PC2: PC portable Lenovo Ideapad 3 15ALC6 (82KU002GFR),proc Ryzen 7 5700, Ram 8Go, SSD 512 Go, LM 21.1 XFCE
Dual boot: Windows 11 Family/ Linuxmint 21.1

Avatar du membre
cyrille
Administrateur du site
Messages : 13037
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Mise à jour impossible Linux Mint 21.1

Message par cyrille »

Donner le retour complet de

Code : Tout sélectionner

sudo apt update && sudo apt upgrade
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Berni18
Messages : 39
Enregistré le : dim. 5 juil. 2020 11:18

Re: Mise à jour impossible Linux Mint 21.1

Message par Berni18 »

Lancer les commandes suivantes pour faire le ménage dans les noyaux :

Code : Tout sélectionner

sudo apt clean
sudo apt autoclean
sudo apt autoremove --purge
Pc1 : MSI GP72 6QE leopard pro | Linux Mint 21.1 | Xfce | 5.15.0-xx-generic x86_64 | Intel Core i7-6700HQ | 24 GiB | NVIDIA GM107M [GeForce GTX 950M]
Pc2 : SAMSUNG Notebook NP400B5B | Linux Mint 21.1 | Xfce | 5.4.0-137-generic x86_64 | Intel Celeron CPU B840 bits: 64 | 8 GiB | Intel core processor

Enzo.M
Messages : 3
Enregistré le : jeu. 14 déc. 2023 10:03

Re: Mise à jour impossible Linux Mint 21.1

Message par Enzo.M »

Je peux faire aucune de ces commandes, ça me retourne ça

Code : Tout sélectionner

E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.
Enzo

Avatar du membre
cyrille
Administrateur du site
Messages : 13037
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Mise à jour impossible Linux Mint 21.1

Message par cyrille »

Code : Tout sélectionner

sudo dpkg --configure -a
Au préalable comme le message d'erreur l'indique

Si soucis copier / coller le retour du terminal dans son intégralité depuis la ligne de commande jusque retour du prompt suivant
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Enzo.M
Messages : 3
Enregistré le : jeu. 14 déc. 2023 10:03

Re: Mise à jour impossible Linux Mint 21.1

Message par Enzo.M »

Voila le résultat de la commande (cela reste comme ça pendant des jours)

Code : Tout sélectionner

enzo@enzo-Tower:~$ sudo dpkg --configure -a
[sudo] Mot de passe de enzo :        
Paramétrage de linux-image-5.15.0-91-generic (5.15.0-91.101) ...
Traitement des actions différées (« triggers ») pour linux-image-5.15.0-91-generic (5.15.0-91.101) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.15.0-91-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-91-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
Found linux image: /boot/vmlinuz-5.15.0-89-generic
Found initrd image: /boot/initrd.img-5.15.0-89-generic
Found linux image: /boot/vmlinuz-5.15.0-84-generic
Found initrd image: /boot/initrd.img-5.15.0-84-generic
Found linux image: /boot/vmlinuz-5.15.0-83-generic
Found initrd image: /boot/initrd.img-5.15.0-83-generic
Found linux image: /boot/vmlinuz-5.15.0-76-generic
Found initrd image: /boot/initrd.img-5.15.0-76-generic
Found linux image: /boot/vmlinuz-5.15.0-75-generic
Found initrd image: /boot/initrd.img-5.15.0-75-generic
Found linux image: /boot/vmlinuz-5.15.0-67-generic
Found initrd image: /boot/initrd.img-5.15.0-67-generic
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Enzo

Répondre