
Ubuntu 18:04 시스템에서 mongodb를 업그레이드하려고 하는데 명령을 실행할 때 다음 오류가 발생합니다.
sudo apt-get install gnupg
오류는 다음과 같습니다.
Setting up grub-efi-amd64-signed (1.187.2~18.04.1+2.06-2ubuntu14) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed (>= 1.167~) | grub-efi-arm64-signed (>= 1.167~); however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
답변1
현재 불완전하게 설치된 상태의 두 개의 패키지가 있습니다: grub-efi-amd64-signed
및 shim-signed
. 이 메시지는 이러한 패키지가 완전히 설치되지 못한 이유를 나타냅니다.
grub-install: error: cannot find EFI directory.
분명히 EFI 시스템 파티션이 마운트되지 않았 /boot/efi
거나 뭔가 문제가 있는 것 같습니다.
새 소프트웨어(예: gnupg
.
이러한 업데이트는 (BootHole과 관련된 보안 취약성으로 인해) 블랙리스트에 등록된 Ubuntu의 이전 보안 부팅 인증서와 관련이 있을 수 있으므로 보안 부팅을 활성화하고 fwupd
최신 보안 부팅 블랙리스트( ) 업데이트를 제공받은 경우 dbx
시스템이 작동하지 않을 수 있습니다. 업데이트가 완전히 설치 shim-signed
될 grub-efi-amd64-signed
때까지 보안 부팅이나 기타 수동 작업을 비활성화하지 않고도 부팅할 수 있습니다 .