Hi, i’m new on Lubuntu, when i’m face a Command Error while install problem and idk what should i do…
do you guys know how to solve this problem?
problem:
command <i>apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-$(if grep -q 64 /sys/firmware/efi/fw_platform_size; then echo amd64-signed; else echo ia32; fi)</i> exit code 100.
output:
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
efibootmgr grub-efi-amd64-bin
The following NEW packages will be installed:
efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3009 kB of archives.
After this operation, 17.6 MB of additional disk space will be used.
Get:1 cdrom://Lubuntu 22.04.3 LTS _Jammy Jellyfish_ - Release amd64 (20230807) jammy/main amd64 efibootmgr amd64 17-1ubuntu2 [29.8 kB]
Get:2 cdrom://Lubuntu 22.04.3 LTS _Jammy Jellyfish_ - Release amd64 (20230807) jammy/main amd64 grub-efi-amd64-bin amd64 2.06-2ubuntu14.1 [1591 kB]
Get:3 cdrom://Lubuntu 22.04.3 LTS _Jammy Jellyfish_ - Release amd64 (20230807) jammy/main amd64 grub-efi-amd64-signed amd64 1.187.3~22.04.1+2.06-2ubuntu14.1 [1388 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package efibootmgr.
(Reading database ... 254041 files and directories currently installed.)
Preparing to unpack .../efibootmgr_17-1ubuntu2_amd64.deb ...
Unpacking efibootmgr (17-1ubuntu2) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.06-2ubuntu14.1_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-2ubuntu14.1) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.187.3~22.04.1+2.06-2ubuntu14.1_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.187.3~22.04.1+2.06-2ubuntu14.1) ...
Setting up efibootmgr (17-1ubuntu2) ...
Setting up grub-efi-amd64-bin (2.06-2ubuntu14.1) ...
Setting up grub-efi-amd64-signed (1.187.3~22.04.1+2.06-2ubuntu14.1) ...
Trying to migrate /boot/efi into esp config
Installing grub to /boot/efi.
Installing for x86_64-efi platform.
grub-install: warning: Cannot delete EFI variable Boot0002.
grub-install: warning: efivarfs_del_variable: unlink failed: Invalid argument.
grub-install: warning: efi_del_variable: ops->del_variable() failed: Invalid argument.
grub-install: error: failed to register the EFI boot entry: Invalid argument.
Unknown terminal: qterminal
Check the TERM environment variable.
Also make sure that the terminal is defined in the terminfo database.
Alternatively, set the TERMCAP environment variable to the desired
termcap entry.
debconf: whiptail output the above errors, giving up!
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 255
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)