<html>Impossible d&apos;obtenir le verrou:<br/><br/>E: dpkg a été interrompu. Il est nécessaire d&apos;utiliser « dpkg --configure -a » pour corriger le problème. </html>

Asked by Henry Lassauzé

hello
the update doesn't work...
please let me know what to do
<email address hidden>
thanks
henry

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Open a terminal window and execute the command

sudo dpkg --configure -a

Then copy all output and paste it into this question document, that we can check the results.

Revision history for this message
Henry Lassauzé (achel+peegee) said :
#2

achel@achel-Lenovo-ideapad-330-17IKB:~$ sudo dpkg --configure -a
[sudo] Mot de passe de achel :
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.86.83) ; cependant :
  La version de linux-headers-generic sur le système est 5.15.0.84.81.

dpkg: erreur de traitement du paquet linux-generic (--configure) :
 problèmes de dépendances - laissé non configuré
Paramétrage de linux-image-5.15.0-86-generic (5.15.0-86.96) ...

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What is the output of the commands

uname -a
lsb_release -crid
LANG=C sudo apt install -f

Revision history for this message
Henry Lassauzé (achel+peegee) said :
#4

SORRY... I DIDN'T WAIT LONG ENOUGH... HERE IS THE INFO YOU NEED

achel@achel-Lenovo-ideapad-330-17IKB:~$ sudo dpkg --configure -a
[sudo] Mot de passe de achel :
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.86.83) ; cependant :
  La version de linux-headers-generic sur le système est 5.15.0.84.81.

dpkg: erreur de traitement du paquet linux-generic (--configure) :
 problèmes de dépendances - laissé non configuré
Paramétrage de linux-image-5.15.0-86-generic (5.15.0-86.96) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-84-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-84-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.15.0-86-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.15.0-86-generic
Paramétrage de linux-modules-5.15.0-86-generic (5.15.0-86.96) ...
Paramétrage de linux-modules-extra-5.15.0-86-generic (5.15.0-86.96) ...
Paramétrage de linux-image-generic (5.15.0.86.83) ...
Traitement des actions différées (« triggers ») pour linux-image-5.15.0-86-generic (5.15.0-86.96) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-86-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-86-generic
Found initrd image: /boot/initrd.img-5.15.0-86-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.4.0-135-generic
Found initrd image: /boot/initrd.img-5.4.0-135-generic
Found linux image: /boot/vmlinuz-5.4.0-109-generic
Found initrd image: /boot/initrd.img-5.4.0-109-generic
Found linux image: /boot/vmlinuz-5.4.0-107-generic
Found initrd image: /boot/initrd.img-5.4.0-107-generic
Found linux image: /boot/vmlinuz-5.4.0-100-generic
Found initrd image: /boot/initrd.img-5.4.0-100-generic
Found linux image: /boot/vmlinuz-5.4.0-97-generic
Found initrd image: /boot/initrd.img-5.4.0-97-generic
Found linux image: /boot/vmlinuz-5.4.0-96-generic
Found initrd image: /boot/initrd.img-5.4.0-96-generic
Found linux image: /boot/vmlinuz-5.4.0-92-generic
Found initrd image: /boot/initrd.img-5.4.0-92-generic
Found linux image: /boot/vmlinuz-5.4.0-91-generic
Found initrd image: /boot/initrd.img-5.4.0-91-generic
Found linux image: /boot/vmlinuz-5.4.0-74-generic
Found initrd image: /boot/initrd.img-5.4.0-74-generic
Found linux image: /boot/vmlinuz-5.4.0-73-generic
Found initrd image: /boot/initrd.img-5.4.0-73-generic
Found linux image: /boot/vmlinuz-5.4.0-67-generic
Found initrd image: /boot/initrd.img-5.4.0-67-generic
Found linux image: /boot/vmlinuz-5.4.0-66-generic
Found initrd image: /boot/initrd.img-5.4.0-66-generic
Found linux image: /boot/vmlinuz-5.4.0-65-generic
Found initrd image: /boot/initrd.img-5.4.0-65-generic
Found linux image: /boot/vmlinuz-5.4.0-64-generic
Found initrd image: /boot/initrd.img-5.4.0-64-generic
Found linux image: /boot/vmlinuz-5.4.0-60-generic
Found initrd image: /boot/initrd.img-5.4.0-60-generic
Found linux image: /boot/vmlinuz-5.4.0-56-generic
Found initrd image: /boot/initrd.img-5.4.0-56-generic
Found linux image: /boot/vmlinuz-5.4.0-54-generic
Found initrd image: /boot/initrd.img-5.4.0-54-generic
Found linux image: /boot/vmlinuz-5.4.0-53-generic
Found initrd image: /boot/initrd.img-5.4.0-53-generic
Found linux image: /boot/vmlinuz-5.4.0-40-generic
Found initrd image: /boot/initrd.img-5.4.0-40-generic
Found linux image: /boot/vmlinuz-5.4.0-37-generic
Found initrd image: /boot/initrd.img-5.4.0-37-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Des erreurs ont été rencontrées pendant l'exécution :
 linux-generic
achel@achel-Lenovo-

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

You can also try the command

sudo apt install linux-image-5.15.0-86-generic -f

Revision history for this message
Henry Lassauzé (achel+peegee) said :
#6

 achel@achel-Lenovo-ideapad-330-17IKB:~$ sudo apt install linux-image-5.15.0-86-generic -f
[sudo] Mot de passe de achel :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
linux-image-5.15.0-86-generic est déjà la version la plus récente (5.15.0-86.96).
linux-image-5.15.0-86-generic passé en « installé manuellement ».
Vous pouvez lancer « apt --fix-broken install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
 linux-generic : Dépend: linux-headers-generic (= 5.15.0.86.83) mais 5.15.0.84.81 devra être installé
E: Dépendances non satisfaites. Essayez « apt --fix-broken install » sans paquet
   (ou indiquez une solution).
achel@achel-Lenovo-ideapad-330-17IKB:~$

    Le vendredi 6 octobre 2023 à 13:22:44 UTC+2, Manfred Hampl <email address hidden> a écrit :

 Your question #708125 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/708125

    Status: Open => Answered

Manfred Hampl proposed the following answer:
You can also try the command

sudo apt install linux-image-5.15.0-86-generic -f

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/708125/+confirm?answer_id=4

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/708125

You received this question notification because you asked the question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

what is the output of:

df -h; sudo apt --fix-broken install

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

The following command can help (if actionparsnip's commands do not solve the problem):

sudo apt install linux-headers-generic=5.15.0.86.83 -f

Can you help with this problem?

Provide an answer of your own, or ask Henry Lassauzé for more information if necessary.

To post a message you must log in.