Konfigurowanie pakietu grub-efi-amd64-signed (1.167.2+2.04-1ubuntu44.2) ...
mount: /var/lib/grub/esp: /dev/sda jest już zamontowany lub punkt montowania jest zajęty.
dpkg: błąd przetwarzania pakietu grub-efi-amd64-signed (--configure):
podproces zainstalowany pakiet grub-efi-amd64-signed skrypt post-installation zwrócił kod błędu 32
dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie pakietu shim-signed:
shim-signed zależy od grub-efi-amd64-signed | grub-efi-arm64-signed; jednakże:
Pakiet grub-efi-amd64-signed nie jest jeszcze skonfigurowany.
Pakiet grub-efi-arm64-signed nie jest zainstalowany.
/dev/sda is not a proper device name for an ESP, as ESP stands for EFI System *Partition*. This appears to be a misconfiguration of grub which you should be able to correct by running 'sudo dpkg-reconfigure grub-common' and selecting the correct partition.
Reassigning this bug report to grub2; it's possible something further should be done to automatically detect this incorrect configuration.
The error in your logs is:
Konfigurowanie pakietu grub-efi- amd64-signed (1.167. 2+2.04- 1ubuntu44. 2) ... amd64-signed (--configure): amd64-signed skrypt post-installation zwrócił kod błędu 32 amd64-signed | grub-efi- arm64-signed; jednakże: amd64-signed nie jest jeszcze skonfigurowany. arm64-signed nie jest zainstalowany.
mount: /var/lib/grub/esp: /dev/sda jest już zamontowany lub punkt montowania jest zajęty.
dpkg: błąd przetwarzania pakietu grub-efi-
podproces zainstalowany pakiet grub-efi-
dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie pakietu shim-signed:
shim-signed zależy od grub-efi-
Pakiet grub-efi-
Pakiet grub-efi-
/dev/sda is not a proper device name for an ESP, as ESP stands for EFI System *Partition*. This appears to be a misconfiguration of grub which you should be able to correct by running 'sudo dpkg-reconfigure grub-common' and selecting the correct partition.
Reassigning this bug report to grub2; it's possible something further should be done to automatically detect this incorrect configuration.