Hello,
Thank you for your answer. Here is the output :

jr@jrUbuntu:~$ ls -l /boot
total 339272
-rw-r--r-- 1 root root    254083 déc.  14 11:29 config-5.11.0-44-generic
-rw-r--r-- 1 root root    254083 janv.  7 00:13 config-5.11.0-46-generic
-rw-r--r-- 1 root root    237940 janv.  6 22:56 config-5.4.0-94-generic
drwx------ 3 root root      4096 janv.  1  1970 efi
drwxr-xr-x 4 root root      4096 janv. 12 08:25 grub
lrwxrwxrwx 1 root root        27 janv. 12 08:24 initrd.img -> 
initrd.img-5.4.0-94-generic
-rw-r--r-- 1 root root 102091693 janv. 10 13:07 initrd.img-5.11.0-44-generic
-rw-r--r-- 1 root root 102091767 janv. 14 09:38 initrd.img-5.11.0-46-generic
-rw-r--r-- 1 root root  88223747 janv. 12 08:25 initrd.img-5.4.0-94-generic
lrwxrwxrwx 1 root root        28 janv. 12 08:24 initrd.img.old -> 
initrd.img-5.11.0-46-generic
drwx------ 2 root root     16384 déc.  22 11:00 lost+found
-rw-r--r-- 1 root root    182704 août  18  2020 memtest86+.bin
-rw-r--r-- 1 root root    184380 août  18  2020 memtest86+.elf
-rw-r--r-- 1 root root    184884 août  18  2020 memtest86+_multiboot.bin
-rw------- 1 root root   5864386 déc.  14 11:29 System.map-5.11.0-44-generic
-rw------- 1 root root   5864386 janv.  7 00:13 System.map-5.11.0-46-generic
-rw------- 1 root root   4756293 janv.  6 22:56 System.map-5.4.0-94-generic
lrwxrwxrwx 1 root root        24 janv. 12 08:24 vmlinuz -> 
vmlinuz-5.4.0-94-generic
-rw------- 1 root root  11746656 déc.  14 16:23 vmlinuz-5.11.0-44-generic
-rw------- 1 root root  11746784 janv.  7 00:27 vmlinuz-5.11.0-46-generic
-rw------- 1 root root  13656320 janv.  7 00:07 vmlinuz-5.4.0-94-generic
lrwxrwxrwx 1 root root        25 janv. 12 08:24 vmlinuz.old -> 
vmlinuz-5.11.0-46-generic
jr@jrUbuntu:~$ 

There were more files and I ran 
sudo apt-get autoremove --purge
Then 
apt-mark showmanual | grep -E "linux-.*[0-9]" | grep -v "hwe" | xargs -r sudo 
apt-mark auto

And again
sudo apt autoremove --purge -y

Seems to have deleted a couple files.

Well I installed it in the common way I'd say : USB drive, erase all
disk and install encrypted version with LUKS. I connected to a wifi
network during the installation.

Then I ran the following commands to reinstall the packages I had on my 
previous computer (attached file) :
sudo apt-get update
sudo apt-get install dselect
sudo dselect update
sudo dpkg --set-selections < liste-des-paquets
sudo apt-get -u dselect-upgrade
(I've been doing this a couple times from previous systems, starting in 20.04, 
now I'm in 20.04.3).

Do you see what happened ?
Thanks

** Attachment added: "liste-des-paquets_jrUbuntu_2022-01-08-12-49"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1956957/+attachment/5554394/+files/liste-des-paquets_jrUbuntu_2022-01-08-12-49

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956957

Title:
  package initramfs-tools 0.136ubuntu6.6 failed to install/upgrade:
  installed initramfs-tools package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1956957/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to