** Description changed: See this: https://irclogs.ubuntu.com/2020/10/12/%23ubuntu-devel.html for the discussion - and this is the log: - pc115-linux:~$ sudo dpkg --configure -a - Configurazione di grub-efi-amd64-signed (1.142.8+2.04-1ubuntu26.6)... - mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 does not exist. - dpkg: errore nell'elaborare il pacchetto grub-efi-amd64-signed (--configure): - il sottoprocesso installato pacchetto grub-efi-amd64-signed script post-installation ha restituito lo stato di errore 32 - dpkg: problemi con le dipendenze impediscono la configurazione di shim-signed: - shim-signed dipende da grub-efi-amd64-signed | grub-efi-arm64-signed; tuttavia: - Il pacchetto grub-efi-amd64-signed non è ancora configurato. - Il pacchetto grub-efi-arm64-signed non è installato. - - dpkg: errore nell'elaborare il pacchetto shim-signed (--configure): - problemi con le dipendenze - lasciato non configurato - Si sono verificati degli errori nell'elaborazione: - grub-efi-amd64-signed - shim-signed - - $ sudo dpkg --configure grub-efi-amd64-signed - Configurazione di grub-efi-amd64-signed (1.142.8+2.04-1ubuntu26.6)... - mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 does not exist. - dpkg: errore nell'elaborare il pacchetto grub-efi-amd64-signed (--configure): - il sottoprocesso installato pacchetto grub-efi-amd64-signed script post-installation ha restituito lo stato di errore 32 - Si sono verificati degli errori nell'elaborazione: - grub-efi-amd64-signed - - - debconf-get-selections | grep grub-efi - debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied - grub-common grub-efi/install_devices_failed boolean false - grub-pc grub-efi/install_devices_failed boolean false - grub-common grub-efi/install_devices multiselect /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - grub-pc grub-efi/install_devices multiselect /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - grub-common grub-efi/install_devices_disks_changed multiselect /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - grub-pc grub-efi/install_devices_disks_changed multiselect /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - grub-common grub-efi/install_devices_empty boolean false - grub-pc grub-efi/install_devices_empty boolean false - - - sudo apt-get dist-upgrade - Lettura elenco dei pacchetti... Fatto - Generazione albero delle dipendenze - Lettura informazioni sullo stato... Fatto - Calcolo dell'aggiornamento... Fatto - 0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati. - 2 non completamente installati o rimossi. - Dopo quest'operazione, verranno occupati 0 B di spazio su disco. - Continuare? [S/n] - Configurazione di grub-efi-amd64-signed (1.142.8+2.04-1ubuntu26.6)... - + target=x86_64-efi - + test -e /boot/grub/x86_64-efi/core.efi - + /usr/share/grub/grub-check-signatures - + /usr/lib/grub/grub-multi-install --target=x86_64-efi - + . /usr/share/debconf/confmodule - ++ '[' '!' '' ']' - ++ PERL_DL_NONLAZY=1 - ++ export PERL_DL_NONLAZY - ++ '[' '' ']' - ++ exec /usr/share/debconf/frontend /usr/lib/grub/grub-multi-install --target=x86_64-efi - + . /usr/share/debconf/confmodule - ++ '[' '!' 1 ']' - ++ '[' -z '' ']' - ++ exec - ++ '[' '' ']' - ++ exec - ++ DEBCONF_REDIR=1 - ++ export DEBCONF_REDIR - ++ dpkg-query --control-path grub-common templates - + db_x_loadtemplatefile /var/lib/dpkg/info/grub-common.templates grub-common - + _db_cmd 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub-common.templates' grub-common - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub-common.templates grub-common' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=0 - + case ${_db_internal_line%%[ ]*} in - + return 0 - + cached_available_ids= - + FALLBACK_MOUNTPOINT=/var/lib/grub/esp - + db_fget grub-efi/install_devices seen - + _db_cmd 'FGET grub-efi/install_devices' seen - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'FGET grub-efi/install_devices seen' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=true - + case ${_db_internal_line%%[ ]*} in - + return 0 - + seen=true - + question=grub-efi/install_devices - + priority=high - + db_get grub-efi/install_devices - + _db_cmd 'GET grub-efi/install_devices' - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'GET grub-efi/install_devices' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - + case ${_db_internal_line%%[ ]*} in - + return 0 - + valid=1 - + '[' -z /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 ']' - + for device in $RET - + '[' '!' -e /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 ']' - + valid=0 - + break - ++ get_mounted_device /boot/efi - ++ mountpoint=/boot/efi - ++ cat /proc/mounts - ++ read -r line - ++ set -f - ++ set -- sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /proc = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- udev /dev devtmpfs rw,nosuid,noexec,relatime,size=16333420k,nr_inodes=4083355,mode=755 0 0 - ++ set +f - ++ '[' /dev = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 - ++ set +f - ++ '[' /dev/pts = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=3275348k,mode=755 0 0 - ++ set +f - ++ '[' /run = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/sda2 / ext4 rw,noatime,errors=remount-ro 0 0 - ++ set +f - ++ '[' / = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/kernel/security = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 - ++ set +f - ++ '[' /dev/shm = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 - ++ set +f - ++ '[' /run/lock = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/unified = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/systemd = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/fs/pstore = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/firmware/efi/efivars = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0 - ++ set +f - ++ '[' /sys/fs/bpf = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/cpu,cpuacct = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/freezer = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/cpuset = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/blkio = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/net_cls,net_prio = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/pids = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/memory = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/devices = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/hugetlb = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/perf_event = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0 - ++ set +f - ++ '[' /sys/fs/cgroup/rdma = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18643 0 0 - ++ set +f - ++ '[' /proc/sys/fs/binfmt_misc = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/kernel/debug = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /dev/mqueue = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0 - ++ set +f - ++ '[' /dev/hugepages = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/kernel/tracing = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/fs/fuse/connections = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' /sys/kernel/config = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop1 /snap/chromium/1328 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/chromium/1328 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop3 /snap/core18/1885 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/core18/1885 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop0 /snap/core/9804 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/core/9804 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop2 /snap/core18/1880 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/core18/1880 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop5 /snap/gtk-common-themes/1506 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gtk-common-themes/1506 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop4 /snap/core/9993 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/core/9993 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop6 /snap/gnome-3-34-1804/60 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gnome-3-34-1804/60 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop7 /snap/gnome-3-28-1804/116 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gnome-3-28-1804/116 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop8 /snap/ike-qt/7 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/ike-qt/7 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop9 /snap/gnome-3-28-1804/128 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gnome-3-28-1804/128 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop11 /snap/chromium/1320 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/chromium/1320 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop12 /snap/waterfox-snap/37 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/waterfox-snap/37 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop10 /snap/waterfox-snap/36 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/waterfox-snap/36 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop13 /snap/gtk-common-themes/1502 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gtk-common-themes/1502 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop15 /snap/gnome-system-monitor/145 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gnome-system-monitor/145 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop16 /snap/gnome-3-34-1804/36 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gnome-3-34-1804/36 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop14 /snap/snap-store/467 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/snap-store/467 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop17 /snap/gnome-system-monitor/148 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /snap/gnome-system-monitor/148 = /boot/efi ']' - ++ read -r line - ++ set -f - ++ set -- /dev/sda1 /boot/efi vfat rw,noatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 - ++ set +f - ++ '[' /boot/efi = /boot/efi ']' - ++ echo /dev/sda1 - ++ break - + boot_efi_device=/dev/sda1 - + '[' /dev/sda1 ']' - + for device in $RET - + device=/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - ++ readlink -f /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - + real_device=/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - + '[' /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 = /dev/sda1 ']' - + '[' /dev/sda1 ']' - ++ device_to_id /dev/sda1 - ++ local id - +++ available_ids - +++ local id path - +++ '[' '' ']' - +++ '[' -d /dev/disk/by-id ']' - ++++ for path in /dev/disk/by-id/* - ++++ sort -k2 -s -u - ++++ '[' -e /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NSD1_K15HALF0352 ']' - ++++ cut '-d ' -f1 - +++++ readlink -f /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NSD1_K15HALF0352 - ++++ printf '%s %s\n' /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NSD1_K15HALF0352 /dev/sr0 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT ']' - +++++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT - ++++ printf '%s %s\n' /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT /dev/sda - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 ']' - +++++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - ++++ printf '%s %s\n' /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 /dev/sda1 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part2 ']' - +++++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part2 - ++++ printf '%s %s\n' /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part2 /dev/sda2 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part3 ']' - +++++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part3 - ++++ printf '%s %s\n' /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part3 /dev/sda3 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part4 ']' - +++++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part4 - ++++ printf '%s %s\n' /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part4 /dev/sda4 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/wwn-0x5000c500af7b4184 ']' - +++++ readlink -f /dev/disk/by-id/wwn-0x5000c500af7b4184 - ++++ printf '%s %s\n' /dev/disk/by-id/wwn-0x5000c500af7b4184 /dev/sda - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/wwn-0x5000c500af7b4184-part1 ']' - +++++ readlink -f /dev/disk/by-id/wwn-0x5000c500af7b4184-part1 - ++++ printf '%s %s\n' /dev/disk/by-id/wwn-0x5000c500af7b4184-part1 /dev/sda1 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/wwn-0x5000c500af7b4184-part2 ']' - +++++ readlink -f /dev/disk/by-id/wwn-0x5000c500af7b4184-part2 - ++++ printf '%s %s\n' /dev/disk/by-id/wwn-0x5000c500af7b4184-part2 /dev/sda2 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/wwn-0x5000c500af7b4184-part3 ']' - +++++ readlink -f /dev/disk/by-id/wwn-0x5000c500af7b4184-part3 - ++++ printf '%s %s\n' /dev/disk/by-id/wwn-0x5000c500af7b4184-part3 /dev/sda3 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/wwn-0x5000c500af7b4184-part4 ']' - +++++ readlink -f /dev/disk/by-id/wwn-0x5000c500af7b4184-part4 - ++++ printf '%s %s\n' /dev/disk/by-id/wwn-0x5000c500af7b4184-part4 /dev/sda4 - ++++ for path in /dev/disk/by-id/* - ++++ '[' -e /dev/disk/by-id/wwn-0x5001480000000000 ']' - +++++ readlink -f /dev/disk/by-id/wwn-0x5001480000000000 - ++++ printf '%s %s\n' /dev/disk/by-id/wwn-0x5001480000000000 /dev/sr0 - +++ cached_available_ids='/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part2 - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part3 - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part4 - /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NSD1_K15HALF0352' - +++ echo '/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part2 - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part3 - /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part4 - /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NSD1_K15HALF0352' - ++ for id in $(available_ids) - +++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT - +++ readlink -f /dev/sda1 - ++ '[' /dev/sda = /dev/sda1 ']' - ++ for id in $(available_ids) - +++ readlink -f /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - +++ readlink -f /dev/sda1 - ++ '[' /dev/sda1 = /dev/sda1 ']' - ++ echo /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - ++ return 0 - + boot_efi_device=/dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - + '[' /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 ']' - + RET='/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1' - + valid=0 - + '[' 0 = 0 ']' - + question=grub-efi/install_devices_disks_changed - + priority=critical - + db_set grub-efi/install_devices_disks_changed '/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1' - + _db_cmd 'SET grub-efi/install_devices_disks_changed' '/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1' - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'SET grub-efi/install_devices_disks_changed /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET='value set' - + case ${_db_internal_line%%[ ]*} in - + return 0 - + db_fset grub-efi/install_devices_disks_changed seen false - + _db_cmd 'FSET grub-efi/install_devices_disks_changed' seen false - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'FSET grub-efi/install_devices_disks_changed seen false' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=false - + case ${_db_internal_line%%[ ]*} in - + return 0 - + db_fset grub-efi/install_devices_empty seen false - + _db_cmd 'FSET grub-efi/install_devices_empty' seen false - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'FSET grub-efi/install_devices_empty seen false' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=false - + case ${_db_internal_line%%[ ]*} in - + return 0 - + : - + ids= - + descriptions= - ++ usable_efi_system_partitions - ++ local last_partition path partition partition_id - ++ local ID_PART_ENTRY_TYPE ID_PART_ENTRY_SCHEME - ++ last_partition= - ++ sort -t: -k2 -u - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GH24NSD1_K15HALF0352 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval '' - ++ '[' -z '' -o -z '' -o '(' '' '!=' gpt -a '' '!=' dos ')' -o '(' '' = gpt -a '' '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' '' = dos -a '' '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval '' - ++ '[' -z '' -o -z '' -o '(' '' '!=' gpt -a '' '!=' dos ')' -o '(' '' = gpt -a '' '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' '' = dos -a '' '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0xb' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0xb - ++ '[' -z 0xb -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0xb '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0xb '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part2 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0x83' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0x83 - ++ '[' -z 0x83 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x83 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x83 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part3 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0x83' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0x83 - ++ '[' -z 0x83 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x83 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x83 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part4 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0x82' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0x82 - ++ '[' -z 0x82 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x82 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x82 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/wwn-0x5000c500af7b4184 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval '' - ++ '[' -z 0x82 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x82 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x82 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/wwn-0x5000c500af7b4184-part1 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0xb' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0xb - ++ '[' -z 0xb -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0xb '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0xb '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/wwn-0x5000c500af7b4184-part2 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0x83' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0x83 - ++ '[' -z 0x83 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x83 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x83 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/wwn-0x5000c500af7b4184-part3 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0x83' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0x83 - ++ '[' -z 0x83 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x83 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x83 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/wwn-0x5000c500af7b4184-part4 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval 'ID_PART_ENTRY_SCHEME=dos - ID_PART_ENTRY_TYPE=0x82' - +++ ID_PART_ENTRY_SCHEME=dos - +++ ID_PART_ENTRY_TYPE=0x82 - ++ '[' -z 0x82 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x82 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x82 '!=' 0xef ')' ']' - ++ continue - ++ for partition in /dev/disk/by-id/* - +++ udevadm info -q property -n /dev/disk/by-id/wwn-0x5001480000000000 - +++ grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=' - ++ eval '' - ++ '[' -z 0x82 -o -z dos -o '(' dos '!=' gpt -a dos '!=' dos ')' -o '(' dos = gpt -a 0x82 '!=' c12a7328-f81f-11d2-ba4b-00a0c93ec93b ')' -o '(' dos = dos -a 0x82 '!=' 0xef ')' ']' - ++ continue - + partitions= - + db_subst grub-efi/install_devices_disks_changed RAW_CHOICES '' - + _db_cmd 'SUBST grub-efi/install_devices_disks_changed' RAW_CHOICES '' - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'SUBST grub-efi/install_devices_disks_changed RAW_CHOICES ' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=0 - + case ${_db_internal_line%%[ ]*} in - + return 0 - + db_subst grub-efi/install_devices_disks_changed CHOICES '' - + _db_cmd 'SUBST grub-efi/install_devices_disks_changed' CHOICES '' - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'SUBST grub-efi/install_devices_disks_changed CHOICES ' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=0 - + case ${_db_internal_line%%[ ]*} in - + return 0 - + db_input critical grub-efi/install_devices_disks_changed - + _db_cmd 'INPUT critical' grub-efi/install_devices_disks_changed - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'INPUT critical grub-efi/install_devices_disks_changed' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET='30 question skipped' - + case ${_db_internal_line%%[ ]*} in - + return 30 - + true - + db_go - + _db_cmd 'GO ' - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'GO ' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET=ok - + case ${_db_internal_line%%[ ]*} in - + return 0 - + db_get grub-efi/install_devices_disks_changed - + _db_cmd 'GET grub-efi/install_devices_disks_changed' - + _db_internal_IFS=' - ' - + IFS=' ' - + printf '%s\n' 'GET grub-efi/install_devices_disks_changed' - + IFS=' - ' - + read -r _db_internal_line - + IFS=' - ' - + RET='/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1' - + case ${_db_internal_line%%[ ]*} in - + return 0 - + failed_devices= - ++ echo /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1, /dev/disk/by-id/ata-ST1000DM010-2EP102_Z9ANQ1NT-part1 - ++ sed -e 's/, / /g' - + for i in `echo $RET | sed -e 's/, / /g'` - ++ readlink -f /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - + real_device=/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - ++ find_mount_point /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - ++ real_device=/dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 - ++ cat /proc/mounts - ++ read -r line - ++ set -f - ++ set -- sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' sysfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a sysfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' proc = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a proc = vfat ']' - ++ read -r line - ++ set -f - ++ set -- udev /dev devtmpfs rw,nosuid,noexec,relatime,size=16333420k,nr_inodes=4083355,mode=755 0 0 - ++ set +f - ++ '[' udev = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a devtmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 - ++ set +f - ++ '[' devpts = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a devpts = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=3275348k,mode=755 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/sda2 / ext4 rw,noatime,errors=remount-ro 0 0 - ++ set +f - ++ '[' /dev/sda2 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a ext4 = vfat ']' - ++ read -r line - ++ set -f - ++ set -- securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' securityfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a securityfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0 - ++ set +f - ++ '[' cgroup2 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup2 = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' pstore = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a pstore = vfat ']' - ++ read -r line - ++ set -f - ++ set -- efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' efivarfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a efivarfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0 - ++ set +f - ++ '[' none = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a bpf = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- cgroup /sys/fs/cgroup/rdma cgroup rw,nosuid,nodev,noexec,relatime,rdma 0 0 - ++ set +f - ++ '[' cgroup = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cgroup = vfat ']' - ++ read -r line - ++ set -f - ++ set -- systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18643 0 0 - ++ set +f - ++ '[' systemd-1 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a autofs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' debugfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a debugfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' mqueue = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a mqueue = vfat ']' - ++ read -r line - ++ set -f - ++ set -- hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0 - ++ set +f - ++ '[' hugetlbfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a hugetlbfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' tracefs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tracefs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' fusectl = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a fusectl = vfat ']' - ++ read -r line - ++ set -f - ++ set -- configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0 - ++ set +f - ++ '[' configfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a configfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop1 /snap/chromium/1328 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop1 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop3 /snap/core18/1885 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop3 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop0 /snap/core/9804 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop0 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop2 /snap/core18/1880 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop2 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop5 /snap/gtk-common-themes/1506 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop5 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop4 /snap/core/9993 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop4 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop6 /snap/gnome-3-34-1804/60 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop6 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop7 /snap/gnome-3-28-1804/116 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop7 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop8 /snap/ike-qt/7 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop8 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop9 /snap/gnome-3-28-1804/128 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop9 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop11 /snap/chromium/1320 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop11 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop12 /snap/waterfox-snap/37 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop12 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop10 /snap/waterfox-snap/36 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop10 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop13 /snap/gtk-common-themes/1502 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop13 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop15 /snap/gnome-system-monitor/145 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop15 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop16 /snap/gnome-3-34-1804/36 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop16 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop14 /snap/snap-store/467 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop14 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/loop17 /snap/gnome-system-monitor/148 squashfs ro,nodev,relatime 0 0 - ++ set +f - ++ '[' /dev/loop17 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a squashfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/sda1 /boot/efi vfat rw,noatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 - ++ set +f - ++ '[' /dev/sda1 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a vfat = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/sda3 /home ext4 rw,noatime 0 0 - ++ set +f - ++ '[' /dev/sda3 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a ext4 = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run/snapd/ns tmpfs rw,nosuid,nodev,noexec,relatime,size=3275348k,mode=755 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- nsfs /run/snapd/ns/ike-qt.mnt nsfs rw 0 0 - ++ set +f - ++ '[' nsfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a nsfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- //mintaka/dati /home/user/cristina/rigel/F cifs rw,relatime,vers=3.1.1,cache=strict,username=cristina,domain=ORIONE,uid=1010,forceuid,gid=1010,forcegid,addr=192.168.1.249,file_mode=0777,dir_mode=0777,soft,nounix,setuids,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1 0 0 - ++ set +f - ++ '[' //mintaka/dati = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cifs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- //mintaka/cristina /home/user/cristina/betel/G cifs rw,relatime,vers=3.1.1,cache=strict,username=cristina,domain=ORIONE,uid=1010,forceuid,gid=1010,forcegid,addr=192.168.1.249,file_mode=0777,dir_mode=0777,soft,nounix,setuids,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1 0 0 - ++ set +f - ++ '[' //mintaka/cristina = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cifs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- //mintaka/os1 /home/user/cristina/rigel/N cifs rw,relatime,vers=3.1.1,cache=strict,username=cristina,domain=ORIONE,uid=1010,forceuid,gid=1010,forcegid,addr=192.168.1.249,file_mode=0777,dir_mode=0777,soft,nounix,setuids,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1 0 0 - ++ set +f - ++ '[' //mintaka/os1 = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cifs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- //altak/datialtakwin /home/user/cristina/altak/z cifs rw,relatime,vers=3.1.1,cache=strict,username=cristina,domain=ORIONE,uid=1010,forceuid,gid=1010,forcegid,addr=192.168.1.243,file_mode=0777,dir_mode=0777,soft,nounix,setuids,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1 0 0 - ++ set +f - ++ '[' //altak/datialtakwin = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a cifs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run/user/1010 tmpfs rw,nosuid,nodev,relatime,size=3275344k,mode=700,uid=1010,gid=1010 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- gvfsd-fuse /run/user/1010/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1010,group_id=1010 0 0 - ++ set +f - ++ '[' gvfsd-fuse = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a fuse.gvfsd-fuse = vfat ']' - ++ read -r line - ++ set -f - ++ set -- /dev/fuse /run/user/1010/doc fuse rw,nosuid,nodev,relatime,user_id=1010,group_id=1010 0 0 - ++ set +f - ++ '[' /dev/fuse = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a fuse = vfat ']' - ++ read -r line - ++ set -f - ++ set -- tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=3275344k,mode=700,uid=1000,gid=1000 0 0 - ++ set +f - ++ '[' tmpfs = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a tmpfs = vfat ']' - ++ read -r line - ++ set -f - ++ set -- gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0 - ++ set +f - ++ '[' gvfsd-fuse = /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 -a fuse.gvfsd-fuse = vfat ']' - ++ read -r line - + mntpoint= - + '[' -z '' ']' - + mntpoint=/var/lib/grub/esp - + mount /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 /var/lib/grub/esp - mount: /var/lib/grub/esp: special device /dev/disk/by-id/ata-KINGSTON_SA400S37480G_50026B73804E7AF8-part1 does not exist. - dpkg: errore nell'elaborare il pacchetto grub-efi-amd64-signed (--configure): - il sottoprocesso installato pacchetto grub-efi-amd64-signed script post-installation ha restituito lo stato di errore 32 - dpkg: problemi con le dipendenze impediscono la configurazione di shim-signed: - shim-signed dipende da grub-efi-amd64-signed | grub-efi-arm64-signed; tuttavia: - Il pacchetto grub-efi-amd64-signed non è ancora configurato. - Il pacchetto grub-efi-arm64-signed non è installato. - - dpkg: errore nell'elaborare il pacchetto shim-signed (--configure): - problemi con le dipendenze - lasciato non configurato - Segnalazione apport non scritta poiché il messaggio di errore indica la presenza di un fallimento precedente. - Si sono verificati degli errori nell'elaborazione: - grub-efi-amd64-signed - shim-signed - E: Sub-process /usr/bin/dpkg returned an error code (1) - + [attached] the workaround/fix is to: sudo umount /boot/efi sudo fdisk /dev/sda (change partition type of sda1 from 0xb to 0xef) sudo mount /dev/sda1 sudo apt-get dist-upgrade
** Attachment added: "log" https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1899462/+attachment/5422674/+files/log ** Description changed: + grub2, when looking for suitable ESPs, only looks at MBR partitions with + id 0xef. However, systems do boot from other vfat partitions too, in + this case, a 0xb partition. + + Now, if the ESPs were changed while upgrading, the prompt to select ESPs + will not be shown and the upgrade will fail; because no ESPs are + considered valid and hences CHOICES is empty. + See this: https://irclogs.ubuntu.com/2020/10/12/%23ubuntu-devel.html for the discussion and this is the log: [attached] the workaround/fix is to: sudo umount /boot/efi sudo fdisk /dev/sda (change partition type of sda1 from 0xb to 0xef) sudo mount /dev/sda1 sudo apt-get dist-upgrade ** Description changed: grub2, when looking for suitable ESPs, only looks at MBR partitions with id 0xef. However, systems do boot from other vfat partitions too, in this case, a 0xb partition. Now, if the ESPs were changed while upgrading, the prompt to select ESPs will not be shown and the upgrade will fail; because no ESPs are considered valid and hences CHOICES is empty. - See this: - https://irclogs.ubuntu.com/2020/10/12/%23ubuntu-devel.html - for the discussion + IRC discussion: https://irclogs.ubuntu.com/2020/10/12/%23ubuntu-devel.html - and this is the log: - [attached] - - the workaround/fix is to: - - sudo umount /boot/efi - sudo fdisk /dev/sda (change partition type of sda1 from 0xb to 0xef) - sudo mount /dev/sda1 - sudo apt-get dist-upgrade + Trace log: Attached + Workaround: Change partition type of /boot/efi or other ESPs from 0xb (in this concrete example) to 0xef -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899462 Title: grub2, cannot upgrade due to EFI partition type mismatch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1899462/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
