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 Hier à 17:13

fba1968

pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 (Hier à 18:04)

Hors ligne

#2 Hier à 18:07

xubu1957

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 (Hier à 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

Hors ligne

#3 Hier à 18:14

ylag

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

Bonjour,

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

A+

Hors ligne

#4 Hier à 18:24

fba1968

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 Hier à 18:31

xubu1957

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 (Hier à 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

Hors ligne

#6 Hier à 18:33

fba1968

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 Hier à 18:33

fba1968

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 Hier à 18:34

fba1968

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 Hier à 18:48

geole

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 (Hier à 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 Hier à 19:37

fba1968

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 (Hier à 19:45)

Hors ligne

#11 Hier à 22:54

fba1968

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 Aujourd'hui à 12:18

ylag

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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 (Aujourd'hui à 12:19)

Hors ligne

#13 Aujourd'hui à 16:58

geole

Re : pb de mise à jour Ubuntu 22.04.5 LTS vers nouvelle version 24.04.2 LTS

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