Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 22/07/2025, à 17:13

fba1968

pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

bonjour à tous,

je souhaite faire la mise à jour de ma version mais j’ai ce message :

"Espace libre insuffisant sur le disque

La mise à niveau a été annulée. La mise à niveau nécessite un total de 258 M d'espace libre sur le disque « /boot ». Veuillez libérer au moins 65,0 M d'espace disque sur « /boot ». Vous pouvez supprimer les anciens noyaux en utilisant 'sudo apt autoremove' et vous pouvez également définir COMPRESS=xz dans /etc/initramfs-tools/initramfs.conf pour réduire la taille de votre initramfs."

j'ai fait 'sudo apt autoremove'  ci-dessous ce qu'il fait

ab@fab-Latitude-E7450:~$
fab@fab-Latitude-E7450:~$ sudo apt autoremove
[sudo] Mot de passe de fab :
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble) ...
....
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3846 (noble)       
Lecture des listes de paquets... Fait                                                                   
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait     
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1638 non mis à jour.

j'ai réessayé la mise à jours toujours le meme message "espace libre insuffisant"


j ai bien lu pas mal de discussions mais comme je suis plutôt une bille sur ces sujets alors je fais appelle à vous.

merci d'avance

Dernière modification par fba1968 (Le 27/07/2025, à 11:14)

Hors ligne

#2 Le 22/07/2025, à 18:07

xubu1957

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour,

Pour faire un point de situation, donne les retours de :

echo; df -Thx tmpfs -x devtmpfs -x squashfs ; echo; df -Tix tmpfs -x devtmpfs -x squashfs
echo; dpkg -l | awk '/^rc/{next} ; / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"
sudo du -ah --max-depth=2 /boot | sort -h | tail -23

en te servant du Retour utilisable de commande.

cqfd93 a écrit :

Astuce pour copier / coller sans erreur :

  • triple clic gauche pour sélectionner et copier une ligne entière

  • clic molette pour coller dans le terminal

Dernière modification par xubu1957 (Le 22/07/2025, à 18:08)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 22/07/2025, à 18:14

ylag

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour,

Au #1, fallait fermer toute autre application ou fenêtre de terminal utilisant apt ...

A+

Hors ligne

#4 Le 22/07/2025, à 18:24

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

fab@fab-Latitude-E7450:~$ echo; df -Thx tmpfs -x devtmpfs -x squashfs ; echo; df -Tix tmpfs -x devtmpfs -x squashfs

Sys. de fichiers            Type Taille Utilisé Dispo Uti% Monté sur
/dev/mapper/ubuntu--vg-root ext4   227G     54G  162G  25% /
/dev/sda1                   ext2   470M    261M  185M  59% /boot

Sys. de fichiers            Type   Inœuds IUtil.   ILibre IUti% Monté sur
/dev/mapper/ubuntu--vg-root ext4 15081472 372400 14709072    3% /
/dev/sda1                   ext2   124928    325   124603    1% /boot
fab@fab-Latitude-E7450:~$ echo; dpkg -l | awk '/^rc/{next} ; / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-headers-5.15.0-141                5.15.0-141.151  all
ii  linux-headers-5.15.0-141-generic        5.15.0-141.151  amd64
ii  linux-image-5.15.0-141-generic          5.15.0-141.151  amd64
ii  linux-modules-5.15.0-141-generic        5.15.0-141.151  amd64
ii  linux-modules-extra-5.15.0-141-generic  5.15.0-141.151  amd64
ii  linux-headers-5.15.0-144                5.15.0-144.157  all
ii  linux-headers-5.15.0-144-generic        5.15.0-144.157  amd64
ii  linux-image-5.15.0-144-generic          5.15.0-144.157  amd64
ii  linux-modules-5.15.0-144-generic        5.15.0-144.157  amd64
ii  linux-modules-extra-5.15.0-144-generic  5.15.0-144.157  amd64
ii  linux-generic                           5.15.0.144.141  amd64
ii  linux-headers-generic                   5.15.0.144.141  amd64
ii  linux-image-generic                     5.15.0.144.141  amd64

Noyau courant : 5.15.0-144-generic x86_64
fab@fab-Latitude-E7450:~$ sudo du -ah --max-depth=2 /boot | sort -h | tail -23
[sudo] Mot de passe de fab :
0    /boot/vmlinuz
0    /boot/vmlinuz.old
1,0K    /boot/grub/gfxblacklist.txt
1,0K    /boot/grub/grubenv
10K    /boot/grub/grub.cfg
12K    /boot/lost+found
180K    /boot/memtest86+.bin
182K    /boot/memtest86+.elf
182K    /boot/memtest86+_multiboot.bin
257K    /boot/config-5.15.0-144-generic
258K    /boot/config-5.15.0-141-generic
265K    /boot/grub/locale
2,1M    /boot/grub/i386-pc
2,3M    /boot/grub/fonts
2,3M    /boot/grub/unicode.pf2
6,1M    /boot/System.map-5.15.0-141-generic
6,1M    /boot/System.map-5.15.0-144-generic
7,0M    /boot/grub
12M    /boot/vmlinuz-5.15.0-141-generic
12M    /boot/vmlinuz-5.15.0-144-generic
110M    /boot/initrd.img-5.15.0-141-generic
110M    /boot/initrd.img-5.15.0-144-generic
261M    /boot

Hors ligne

#5 Le 22/07/2025, à 18:31

xubu1957

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Pour ajouter toi-même les balises code à ton message #4 :

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

moko138 a écrit :

1) Les balises-code sont les < > (crochets bleus) de la barre de mise en forme.

Balisesmoko138.jpg
_ _ _

3) /!\  Si vous avez plusieurs retours à donner, séparez-les bien (toujours pour la lisibilité) :

comme
cela.

Lecture conseillée mémento des balises code.

Dernière modification par xubu1957 (Le 22/07/2025, à 18:38)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#6 Le 22/07/2025, à 18:33

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

fab@fab-Latitude-E7450:~$ echo; df -Thx tmpfs -x devtmpfs -x squashfs ; echo; df -Tix tmpfs -x devtmpfs -x squashfs

Sys. de fichiers            Type Taille Utilisé Dispo Uti% Monté sur
/dev/mapper/ubuntu--vg-root ext4   227G     54G  162G  25% /
/dev/sda1                   ext2   470M    261M  185M  59% /boot

Sys. de fichiers            Type   Inœuds IUtil.   ILibre IUti% Monté sur
/dev/mapper/ubuntu--vg-root ext4 15081472 372400 14709072    3% /
/dev/sda1                   ext2   124928    325   124603    1% /boot

Hors ligne

#7 Le 22/07/2025, à 18:33

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

fab@fab-Latitude-E7450:~$ echo; dpkg -l | awk '/^rc/{next} ; / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-headers-5.15.0-141                5.15.0-141.151  all
ii  linux-headers-5.15.0-141-generic        5.15.0-141.151  amd64
ii  linux-image-5.15.0-141-generic          5.15.0-141.151  amd64
ii  linux-modules-5.15.0-141-generic        5.15.0-141.151  amd64
ii  linux-modules-extra-5.15.0-141-generic  5.15.0-141.151  amd64
ii  linux-headers-5.15.0-144                5.15.0-144.157  all
ii  linux-headers-5.15.0-144-generic        5.15.0-144.157  amd64
ii  linux-image-5.15.0-144-generic          5.15.0-144.157  amd64
ii  linux-modules-5.15.0-144-generic        5.15.0-144.157  amd64
ii  linux-modules-extra-5.15.0-144-generic  5.15.0-144.157  amd64
ii  linux-generic                           5.15.0.144.141  amd64
ii  linux-headers-generic                   5.15.0.144.141  amd64
ii  linux-image-generic                     5.15.0.144.141  amd64

Hors ligne

#8 Le 22/07/2025, à 18:34

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Noyau courant : 5.15.0-144-generic x86_64
fab@fab-Latitude-E7450:~$ sudo du -ah --max-depth=2 /boot | sort -h | tail -23
[sudo] Mot de passe de fab : 
0	/boot/vmlinuz
0	/boot/vmlinuz.old
1,0K	/boot/grub/gfxblacklist.txt
1,0K	/boot/grub/grubenv
10K	/boot/grub/grub.cfg
12K	/boot/lost+found
180K	/boot/memtest86+.bin
182K	/boot/memtest86+.elf
182K	/boot/memtest86+_multiboot.bin
257K	/boot/config-5.15.0-144-generic
258K	/boot/config-5.15.0-141-generic
265K	/boot/grub/locale
2,1M	/boot/grub/i386-pc
2,3M	/boot/grub/fonts
2,3M	/boot/grub/unicode.pf2
6,1M	/boot/System.map-5.15.0-141-generic
6,1M	/boot/System.map-5.15.0-144-generic
7,0M	/boot/grub
12M	/boot/vmlinuz-5.15.0-141-generic
12M	/boot/vmlinuz-5.15.0-144-generic
110M	/boot/initrd.img-5.15.0-141-generic
110M	/boot/initrd.img-5.15.0-144-generic
261M	/boot

Hors ligne

#9 Le 22/07/2025, à 18:48

geole

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour
  La bonne méthode serait d'agrandir la partition /boot
A défaut bousille le noyau  141

sudo update-initramfs -d -k 5.15.0-141.generic

Dernière modification par geole (Le 22/07/2025, à 18:50)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#10 Le 22/07/2025, à 19:37

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

fab@fab-Latitude-E7450:~$ sudo update-initramfs -d -k 5.15.0-141.generic
update-initramfs: Deleting /boot/initrd.img-5.15.0-141.generic

c'est fait, que dois je faire réessayer la mise à jour ?

Dernière modification par fba1968 (Le 22/07/2025, à 19:45)

Hors ligne

#11 Le 22/07/2025, à 22:54

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

j'ai réessayé après redémarrage,
message suivant :

Espace libre insuffisant sur le disque

La mise à niveau a été annulée. La mise à niveau nécessite un total de 258 M d'espace libre sur le disque « /boot ». Veuillez libérer au moins 65,0 M d'espace disque sur « /boot ». Vous pouvez supprimer les anciens noyaux en utilisant 'sudo apt autoremove' et vous pouvez également définir COMPRESS=xz dans /etc/initramfs-tools/initramfs.conf pour réduire la taille de votre initramfs.

Hors ligne

#12 Le 23/07/2025, à 12:18

ylag

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour,

fba1968 a écrit :

j'ai réessayé après redémarrage ...

Donne à nouveau le résultat de la commande du message #8, je crois que le fichier initrd.img aurait été recréé au redémarrage du système ... ?

Il faudrait supprimer les paquets de ce noyau pour le désinstaller proprement, AMHA ...

A+

Dernière modification par ylag (Le 23/07/2025, à 12:19)

Hors ligne

#13 Le 23/07/2025, à 16:58

geole

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour
Republie

sudo parted /dev/sda unit MiB print free
sudo du -ah --max-depth=2 /boot | sort -h | tail -23

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#14 Le 26/07/2025, à 17:20

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

bonjour,
voilà le résultat ci-dessous :

fab@fab-Latitude-E7450:~$ sudo parted /dev/sda unit MiB print free
[sudo] Mot de passe de fab : 
Modèle : ATA SK hynix SC210 m (scsi)
Disque /dev/sda : 244198MiB
Taille des secteurs (logiques/physiques) : 512B/512B
Table de partitions : msdos
Drapeaux de disque : 

Numéro  Début      Fin        Taille     Type      Système de fichiers  Drapeaux
        0,03MiB    1,00MiB    0,97MiB              Espace libre
 1      1,00MiB    488MiB     487MiB     primary   ext2                 démarrage
        488MiB     489MiB     1,00MiB              Espace libre
 2      489MiB     244198MiB  243709MiB  extended
 5      489MiB     244198MiB  243709MiB  logical
        244198MiB  244198MiB  0,34MiB              Espace libre

et

fab@fab-Latitude-E7450:~$ sudo du -ah --max-depth=2 /boot | sort -h | tail -23
0	/boot/vmlinuz
0	/boot/vmlinuz.old
1,0K	/boot/grub/gfxblacklist.txt
1,0K	/boot/grub/grubenv
10K	/boot/grub/grub.cfg
12K	/boot/lost+found
180K	/boot/memtest86+.bin
182K	/boot/memtest86+.elf
182K	/boot/memtest86+_multiboot.bin
257K	/boot/config-5.15.0-144-generic
258K	/boot/config-5.15.0-141-generic
265K	/boot/grub/locale
2,1M	/boot/grub/i386-pc
2,3M	/boot/grub/fonts
2,3M	/boot/grub/unicode.pf2
6,1M	/boot/System.map-5.15.0-141-generic
6,1M	/boot/System.map-5.15.0-144-generic
7,0M	/boot/grub
12M	/boot/vmlinuz-5.15.0-141-generic
12M	/boot/vmlinuz-5.15.0-144-generic
110M	/boot/initrd.img-5.15.0-141-generic
110M	/boot/initrd.img-5.15.0-144-generic
261M	/boot

Hors ligne

#15 Le 26/07/2025, à 18:25

geole

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour.
Cela ne va pas être facile d’agrandir la partition de boot. On va donc écraser le vieux noyau

cd /boot
echo ' ' | sudo tee *5.15.0-141*
cd

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#16 Le 26/07/2025, à 19:09

ylag

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour,

Sinon, et sauf avis contraire de @geole, on pourrait passer cette commande pour supprimer le noyau 5.15.0-141-generic :

sudo apt purge linux-headers-5.15.0-141 linux-headers-5.15.0-141-generic linux-image-5.15.0-141-generic linux-modules-5.15.0-141-generic linux-modules-extra-5.15.0-141-generic

La commande va probablement emporter au moins le méta-paquet linux-generic, qu'il faudra réinstaller :

sudo apt install linux-generic

A+

Hors ligne

#17 Le 26/07/2025, à 19:15

geole

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Oui.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#18 Le 27/07/2025, à 08:29

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

bonjour ,

j'ai fait la commande suivante :

ab@fab-Latitude-E7450:~$ sudo apt purge linux-headers-5.15.0-141 linux-headers-5.15.0-141-generic linux-image-5.15.0-141-generic linux-modules-5.15.0-141-generic linux-modules-extra-5.15.0-141-generic
[sudo] Mot de passe de fab : 
Désolé, essayez de nouveau.
[sudo] Mot de passe de fab : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Les paquets suivants seront ENLEVÉS :
  linux-headers-5.15.0-141* linux-headers-5.15.0-141-generic*
  linux-image-5.15.0-141-generic* linux-modules-5.15.0-141-generic*
  linux-modules-extra-5.15.0-141-generic*
0 mis à jour, 0 nouvellement installés, 5 à enlever et 0 non mis à jour.
Après cette opération, 584 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 221950 fichiers et répertoires déjà installés.
)
Suppression de linux-headers-5.15.0-141-generic (5.15.0-141.151) ...
Suppression de linux-headers-5.15.0-141 (5.15.0-141.151) ...
Suppression de linux-modules-extra-5.15.0-141-generic (5.15.0-141.151) ...
Suppression de linux-image-5.15.0-141-generic (5.15.0-141.151) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.15.0-144-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.15.0-144-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.15.0-141-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
  WARNING: PV /dev/mapper/sda5_crypt in VG ubuntu-vg is using an old PV header, 
modify the VG to update.
  WARNING: PV /dev/mapper/sda5_crypt in VG ubuntu-vg is using an old PV header, 
modify the VG to update.
Found linux image: /boot/vmlinuz-5.15.0-144-generic
Found initrd image: /boot/initrd.img-5.15.0-144-generic
  WARNING: PV /dev/mapper/sda5_crypt in VG ubuntu-vg is using an old PV header, 
modify the VG to update.
  WARNING: PV /dev/mapper/sda5_crypt in VG ubuntu-vg is using an old PV header, 
modify the VG to update.
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
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.
done
Suppression de linux-modules-5.15.0-141-generic (5.15.0-141.151) ...
(Lecture de la base de données... 186461 fichiers et répertoires déjà installés.
)
Purge des fichiers de configuration de linux-modules-5.15.0-141-generic (5.15.0-
141.151) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.15.0-141-generic,
 le répertoire « /lib/modules/5.15.0-141-generic » n'était pas vide, donc il n'a
 pas été supprimé
Purge des fichiers de configuration de linux-image-5.15.0-141-generic (5.15.0-14
1.151) ...
Purge des fichiers de configuration de linux-modules-extra-5.15.0-141-generic (5
.15.0-141.151) ...

dois_je faire celle-ci :

sudo apt install linux-generic

Hors ligne

#19 Le 27/07/2025, à 09:48

geole

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour.
Cela semble inutile.
Tu peux passer à la mise à  niveau.

Ultérieurement, lorsqu’un nouveau noyau  arrivera, si tu as le même problème, resignale.
Cela sera l’occasion de te faire diminuer de 1Go ta partition chiffrée et de créer une nouvelle partition de boot en fin de disque.

Dernière modification par geole (Le 27/07/2025, à 09:50)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

En ligne

#20 Le 27/07/2025, à 11:10

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

bonjour à tous,

mise à jour faite merci de votre aide , toujours aussi efficace et pour vos précieux conseils .

merci la communauté.

Hors ligne

#21 Le 27/07/2025, à 12:47

ylag

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour,

Tant mieux pour ta mise à niveau réussie !  smile

Pour vérifier la nouvelle structure d'installation des noyaux, repasser la commande du message #7 :

echo; dpkg -l | awk '/^rc/{next} ; / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

A+

Dernière modification par ylag (Le 27/07/2025, à 12:48)

Hors ligne

#22 Le 27/07/2025, à 17:08

fba1968

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

voilà :

fab@fab-Latitude-E7450:~$ echo; dpkg -l | awk '/^rc/{next} ; / linux-(c|g|h|i|lo|m|si|t)/{print $1,$2,$3,$4 | "sort -k3V | column -t"}' ; echo -e "\nNoyau courant : $(uname -mr)"

ii  linux-headers-5.15.0-144                5.15.0-144.157  all
ii  linux-headers-5.15.0-144-generic        5.15.0-144.157  amd64
ii  linux-image-5.15.0-144-generic          5.15.0-144.157  amd64
ii  linux-modules-5.15.0-144-generic        5.15.0-144.157  amd64
ii  linux-modules-extra-5.15.0-144-generic  5.15.0-144.157  amd64
ii  linux-headers-6.8.0-64                  6.8.0-64.67     all
ii  linux-tools-common                      6.8.0-64.67     all
ii  linux-generic                           6.8.0-64.67     amd64
ii  linux-headers-6.8.0-64-generic          6.8.0-64.67     amd64
ii  linux-headers-generic                   6.8.0-64.67     amd64
ii  linux-image-6.8.0-64-generic            6.8.0-64.67     amd64
ii  linux-image-generic                     6.8.0-64.67     amd64
ii  linux-modules-6.8.0-64-generic          6.8.0-64.67     amd64
ii  linux-modules-extra-6.8.0-64-generic    6.8.0-64.67     amd64
ii  linux-tools-6.8.0-64                    6.8.0-64.67     amd64
ii  linux-tools-6.8.0-64-generic            6.8.0-64.67     amd64

Noyau courant : 6.8.0-64-generic x86_64

Dernière modification par fba1968 (Le 27/07/2025, à 17:08)

Hors ligne

#23 Le 27/07/2025, à 17:58

ylag

Re : pb de MAJ Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 (RESOLU)

Bonjour,

C'est correctement configuré pour rester sur les noyaux 6.8 non HWE de la 24.04 ...
Tu devras peut-être supprimer le noyau 5.15.0-144-generic avant une future mise à jour du noyau 6.8, sauf si tu arrives à augmenter la taille de ta partition /boot avant ; à voir l'avis de @geole.

Pour tester, essaie peut-être cette commande de simulation, pour voir si ça désinstallerait proprement ce noyau 5.15.0-144-generic :

sudo apt -s autopurge

A+

Dernière modification par ylag (Le 27/07/2025, à 17:59)

Hors ligne