Résolu le 5-06-25 Problème lors d'une maj

Postez ici toutes vos demandes d’assistance générale concernant le fonctionnement de Linux Mint, qui n'entrent pas dans les autres rubriques.
Répondre
Avatar du membre
MarcTer
Messages : 11
Enregistré le : lun. 2 juin 2025 06:50

Problème lors d'une maj

Message par MarcTer »

Bonjour,
pas très doué pour comprendre les messages d'erreurs et ce que je dois en faire ...
lors d'une maj, j'ai ce message:
E: dpkg a été interrompu. Il est nécessaire d'utiliser « dpkg --configure -a » pour corriger le problème.
E: _cache->open() failed, please report.
j'ai essayé de taper "dpkg --configure -a " dans le terminal mais ne suis pas beaucoup avancé après
merci d'avance
Bien cordialement
Marc
Distrib : Linux Mint 22.1 Desktop : X-Cinnamon
Kernel : 6.8.0-60-generic CPU : AMD Ryzen 5 7520U with Radeon Graphics RAM : 14Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Mendocino (rev c1)

Pc2 : Pc | marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx | Cinnamon 6.0.4 | 5.15.0-141-generic x86_64 bits: 64 | quad core model: Intel Core i5-9300H bits: 64 | 7 | Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
v: 550.144.03
Avatar du membre
alv37
Messages : 419
Enregistré le : mer. 26 août 2020 00:42
Localisation : France

Re: Problème lors d'une maj

Message par alv37 »

Slt, si tu as tapé la commande entant que simple utilisateur (pas en root), tu risque pas d'aller loin en effet, il faut la lancer en tant que root avec la commande sudo devant:

Code : Tout sélectionner

sudo dpkg --configure -a 
PC Principal (Custom) : OS: VoidLinux | DE: Cinnamon v6.4.13 | Kernel: 6.12.71 | MB: MS-7823 (MSI B85M-G43) | CPU: Intel i7 4790k | RAM: 8 Go | GPU: Nvidia Geforce GTX 970
PC Secondaire (Custom) : OS: Linux Mint 22.3 | DE: Cinnamon v6.6.4 | Kernel: 6.14.0 | MB: Gigabyte GA-G31M-ES2L v2 | CPU: Intel Pentium D 915 | RAM: 4 Go | GPU: Intel 82G33/G31 Express Integrated Graphics
Avatar du membre
MarcTer
Messages : 11
Enregistré le : lun. 2 juin 2025 06:50

Re: Problème lors d'une maj

Message par MarcTer »

houp's !!!
Voila le retour apres l'avoir fait de ma session
merci de l'aide

Code : Tout sélectionner

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-136-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-136-generic
Found initrd image: /boot/initrd.img-5.15.0-136-generic
Found linux image: /boot/vmlinuz-5.15.0-135-generic
Found initrd image: /boot/initrd.img-5.15.0-135-generic
Found linux image: /boot/vmlinuz-5.15.0-131-generic
Found initrd image: /boot/initrd.img-5.15.0-131-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
Des erreurs ont été rencontrées pendant l'exécution :
 linux-headers-5.15.0-136-generic
 linux-headers-generic
 linux-generic
marc@marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx:~$ ^C
marc@marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx:~$ 
Distrib : Linux Mint 22.1 Desktop : X-Cinnamon
Kernel : 6.8.0-60-generic CPU : AMD Ryzen 5 7520U with Radeon Graphics RAM : 14Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Mendocino (rev c1)

Pc2 : Pc | marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx | Cinnamon 6.0.4 | 5.15.0-141-generic x86_64 bits: 64 | quad core model: Intel Core i5-9300H bits: 64 | 7 | Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
v: 550.144.03
Avatar du membre
MarcTer
Messages : 11
Enregistré le : lun. 2 juin 2025 06:50

Re: Problème lors d'une maj

Message par MarcTer »

il me semble que le copié collé à mal fonctionner

Code : Tout sélectionner

marc@marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx:~$ sudo dpkg --configure -a
[sudo] Mot de passe de marc :         
Paramétrage de linux-headers-5.15.0-136-generic (5.15.0-136.147) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.15.0-136-generic

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.15.0-136-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.15.0-136-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules.........................^Cdpkg: erreur de traitement du paquet linux-headers-5.15.0-136-generic (--configure) :
 interruption du sous-processus paquet linux-headers-5.15.0-136-generic script post-installation installé
Paramétrage de libjavascriptcoregtk-4.1-0:amd64 (2.48.0-0ubuntu0.22.04.1) ...
Paramétrage de gnupg-l10n (2.2.27-3ubuntu2.3) ...
Paramétrage de firefox-locale-en (137.0+linuxmint1+virginia) ...
Paramétrage de systemd-timesyncd (249.11-0ubuntu3.15) ...
Paramétrage de udev (249.11-0ubuntu3.15) ...
Paramétrage de libnss-myhostname:amd64 (249.11-0ubuntu3.15) ...
Paramétrage de libwebkit2gtk-4.0-37:amd64 (2.48.0-0ubuntu0.22.04.1) ...
Paramétrage de gpgconf (2.2.27-3ubuntu2.3) ...
Paramétrage de libpam-systemd:amd64 (249.11-0ubuntu3.15) ...
Paramétrage de xserver-common (2:21.1.4-2ubuntu1.7~22.04.14) ...
Paramétrage de xserver-xorg-legacy (2:21.1.4-2ubuntu1.7~22.04.14) ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
Paramétrage de gpg (2.2.27-3ubuntu2.3) ...
Paramétrage de gnupg-utils (2.2.27-3ubuntu2.3) ...
Paramétrage de libwebkit2gtk-4.1-0:amd64 (2.48.0-0ubuntu0.22.04.1) ...
Paramétrage de gir1.2-webkit2-4.0:amd64 (2.48.0-0ubuntu0.22.04.1) ...
Paramétrage de gpg-agent (2.2.27-3ubuntu2.3) ...
Paramétrage de gpgsm (2.2.27-3ubuntu2.3) ...
Paramétrage de xserver-xorg-core (2:21.1.4-2ubuntu1.7~22.04.14) ...
dpkg: des problèmes de dépendances empêchent la configuration de linux-headers-generic :
 linux-headers-generic dépend de linux-headers-5.15.0-136-generic ; cependant :
 Le paquet linux-headers-5.15.0-136-generic n'est pas encore configuré.

dpkg: erreur de traitement du paquet linux-headers-generic (--configure) :
 problèmes de dépendances - laissé non configuré
Paramétrage de gir1.2-javascriptcoregtk-4.1:amd64 (2.48.0-0ubuntu0.22.04.1) ...
Paramétrage de dirmngr (2.2.27-3ubuntu2.3) ...
Paramétrage de xserver-xephyr (2:21.1.4-2ubuntu1.7~22.04.14) ...
Paramétrage de gpg-wks-server (2.2.27-3ubuntu2.3) ...
Paramétrage de gir1.2-webkit2-4.1:amd64 (2.48.0-0ubuntu0.22.04.1) ...
Paramétrage de gpg-wks-client (2.2.27-3ubuntu2.3) ...
dpkg: des problèmes de dépendances empêchent la configuration de linux-generic :
 linux-generic dépend de linux-headers-generic (= 5.15.0.136.134) ; cependant :
 Le paquet linux-headers-generic n'est pas encore configuré.

dpkg: erreur de traitement du paquet linux-generic (--configure) :
 problèmes de dépendances - laissé non configuré
Paramétrage de gnupg (2.2.27-3ubuntu2.3) ...
Paramétrage de linux-modules-5.15.0-136-generic (5.15.0-136.147) ...
Paramétrage de linux-image-5.15.0-136-generic (5.15.0-136.147) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-135-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-135-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-136-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-136-generic
Paramétrage de linux-modules-extra-5.15.0-136-generic (5.15.0-136.147) ...
Paramétrage de linux-image-generic (5.15.0.136.134) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.26+mint3+victoria) ...
Traitement des actions différées (« triggers ») pour initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-135-generic
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.17-2) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.36.0-1ubuntu3) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.35-0ubuntu3.9) ...
Traitement des actions différées (« triggers ») pour man-db (2.10.2-1) ...
Traitement des actions différées (« triggers ») pour dbus (1.12.20-2ubuntu4.1) ...
Traitement des actions différées (« triggers ») pour mintsystem (8.5.8) ...
Traitement des actions différées (« triggers ») pour install-info (6.8-4build1) ...
Traitement des actions différées (« triggers ») pour mailcap (3.70+nmu1ubuntu1) ...
Traitement des actions différées (« triggers ») pour linux-image-5.15.0-136-generic (5.15.0-136.147) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.15.0-136-generic

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.15.0-136-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.15.0-136-generic/build LD=/usr/bin/ld.bfd CONFIG_X86_KERNEL_IBT= modules......................
Signing module:
 - /var/lib/dkms/nvidia/550.120/5.15.0-136-generic/x86_64/module/nvidia-drm.ko
 - /var/lib/dkms/nvidia/550.120/5.15.0-136-generic/x86_64/module/nvidia-uvm.ko
 - /var/lib/dkms/nvidia/550.120/5.15.0-136-generic/x86_64/module/nvidia.ko
 - /var/lib/dkms/nvidia/550.120/5.15.0-136-generic/x86_64/module/nvidia-modeset.ko
 - /var/lib/dkms/nvidia/550.120/5.15.0-136-generic/x86_64/module/nvidia-peermem.ko
Secure Boot not enabled on this system.
cleaning build area...

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-136-generic/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-136-generic/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-136-generic/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-136-generic/updates/dkms/

nvidia-peermem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-136-generic/updates/dkms/

depmod...
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-136-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-136-generic
Found initrd image: /boot/initrd.img-5.15.0-136-generic
Found linux image: /boot/vmlinuz-5.15.0-135-generic
Found initrd image: /boot/initrd.img-5.15.0-135-generic
Found linux image: /boot/vmlinuz-5.15.0-131-generic
Found initrd image: /boot/initrd.img-5.15.0-131-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
Des erreurs ont été rencontrées pendant l'exécution :
 linux-headers-5.15.0-136-generic
 linux-headers-generic
 linux-generic
marc@marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx:~$ ^C
marc@marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx:~$ 

Distrib : Linux Mint 22.1 Desktop : X-Cinnamon
Kernel : 6.8.0-60-generic CPU : AMD Ryzen 5 7520U with Radeon Graphics RAM : 14Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Mendocino (rev c1)

Pc2 : Pc | marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx | Cinnamon 6.0.4 | 5.15.0-141-generic x86_64 bits: 64 | quad core model: Intel Core i5-9300H bits: 64 | 7 | Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
v: 550.144.03
Avatar du membre
alv37
Messages : 419
Enregistré le : mer. 26 août 2020 00:42
Localisation : France

Re: Problème lors d'une maj

Message par alv37 »

Tu peut essayer de nettoyer le cache et les paquets orphelin dans un premier temps:

Code : Tout sélectionner

sudo apt clean && sudo apt autoremove
Le problème est lié au noyau 5.15 mais je vois que dans ta signature tu as le 6.8 donc est-ce un noyau que tu a conserver car nécessaire pour la compatibilité avec ton matos ou pas ? car si le 6.8 fonctionne avec ta machine et que tu n'en as pas besoin (de la version 5.15), il suffira de supprimer le 5.15 pour régler l'erreur.
Modifié en dernier par alv37 le mer. 4 juin 2025 19:15, modifié 1 fois.
PC Principal (Custom) : OS: VoidLinux | DE: Cinnamon v6.4.13 | Kernel: 6.12.71 | MB: MS-7823 (MSI B85M-G43) | CPU: Intel i7 4790k | RAM: 8 Go | GPU: Nvidia Geforce GTX 970
PC Secondaire (Custom) : OS: Linux Mint 22.3 | DE: Cinnamon v6.6.4 | Kernel: 6.14.0 | MB: Gigabyte GA-G31M-ES2L v2 | CPU: Intel Pentium D 915 | RAM: 4 Go | GPU: Intel 82G33/G31 Express Integrated Graphics
Avatar du membre
MarcTer
Messages : 11
Enregistré le : lun. 2 juin 2025 06:50

Re: Problème lors d'une maj

Message par MarcTer »

merci pour l'aide.
la signature ne correspond pas au PC qui coince, j'avais dépanné celui-ci hier grâce au forum (ce n'était pas le même problème) et tout va bien ! désolé pour la mauvaise info ...
Je vais la mettre à jour avec les 2 PC.
j'ai testé le code que tu m'a donné et la maj a avancé malgré qq erreurs qui ne semblent pas bloquantes, le PC que je drive a distance est en train de redémarrer ...
Je vais devoir couper pour ce soir mais reprends ça demain matin
Je te tiens au courant
Bonne soirée
merci encore
Bien cordialement
Marc
Distrib : Linux Mint 22.1 Desktop : X-Cinnamon
Kernel : 6.8.0-60-generic CPU : AMD Ryzen 5 7520U with Radeon Graphics RAM : 14Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Mendocino (rev c1)

Pc2 : Pc | marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx | Cinnamon 6.0.4 | 5.15.0-141-generic x86_64 bits: 64 | quad core model: Intel Core i5-9300H bits: 64 | 7 | Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
v: 550.144.03
Avatar du membre
MarcTer
Messages : 11
Enregistré le : lun. 2 juin 2025 06:50

Re: Problème lors d'une maj

Message par MarcTer »

Bonjour,
de retour, j'ai mis à jour ma signature avec ce PC (PC2).
La situation c'est bien améliorée mais il me reste un message d'erreur que je comprends pas. Il y en avait un similaire quand j'ai tenté de faire ma signature automatique comme dit sur le tuto du forum.
Merci de l'aide
Une erreur s'est produite lors du contrôle de la signature. Le dépôt n'est pas mis à jour et les fichiers d'index précédents seront utilisés. Erreur de GPG : https://repository.spotify.com stable InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY C85668DF69375001Impossible de récupérer http://repository.spotify.com/dists/stable/InRelease Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY C85668DF69375001Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
@ bientot
Cordialement
Marc
Distrib : Linux Mint 22.1 Desktop : X-Cinnamon
Kernel : 6.8.0-60-generic CPU : AMD Ryzen 5 7520U with Radeon Graphics RAM : 14Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Mendocino (rev c1)

Pc2 : Pc | marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx | Cinnamon 6.0.4 | 5.15.0-141-generic x86_64 bits: 64 | quad core model: Intel Core i5-9300H bits: 64 | 7 | Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
v: 550.144.03
Avatar du membre
alv37
Messages : 419
Enregistré le : mer. 26 août 2020 00:42
Localisation : France

Re: Problème lors d'une maj

Message par alv37 »

Ta dernière erreur est lié à la clé de sécurité du dépôt de spotify qui a dû expiré, il suffit de lui donné la nouvelle:

Code : Tout sélectionner

curl -sS https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
suivit d'un

Code : Tout sélectionner

sudo apt update
PC Principal (Custom) : OS: VoidLinux | DE: Cinnamon v6.4.13 | Kernel: 6.12.71 | MB: MS-7823 (MSI B85M-G43) | CPU: Intel i7 4790k | RAM: 8 Go | GPU: Nvidia Geforce GTX 970
PC Secondaire (Custom) : OS: Linux Mint 22.3 | DE: Cinnamon v6.6.4 | Kernel: 6.14.0 | MB: Gigabyte GA-G31M-ES2L v2 | CPU: Intel Pentium D 915 | RAM: 4 Go | GPU: Intel 82G33/G31 Express Integrated Graphics
Avatar du membre
MarcTer
Messages : 11
Enregistré le : lun. 2 juin 2025 06:50

Re: Problème lors d'une maj

Message par MarcTer »

Merci beaucoup tout fonctionne
un peu complexe quand même, j'ai un peu de mal ... mais je m'accroche !
Bonne journée
Bien cordialement
Marc
Distrib : Linux Mint 22.1 Desktop : X-Cinnamon
Kernel : 6.8.0-60-generic CPU : AMD Ryzen 5 7520U with Radeon Graphics RAM : 14Gi
CG : Advanced Micro Devices, Inc. [AMD/ATI] Mendocino (rev c1)

Pc2 : Pc | marc-HP-Pavilion-Gaming-Laptop-17-cd0xxx | Cinnamon 6.0.4 | 5.15.0-141-generic x86_64 bits: 64 | quad core model: Intel Core i5-9300H bits: 64 | 7 | Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 3 GB Max-Q] driver: nvidia
v: 550.144.03
Répondre