我最近在使用 Ubuntu 时遇到了麻烦。每当我尝试sudo apt get
某事(在本例中为 python 3)时,我都会收到错误消息:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
所以我输入命令,经过漫长的过程后,我收到了这条消息:
Configuring Secure Boot ├────────────────────────┐
│ │
│ Your system has UEFI Secure Boot enabled.
│
│ UEFI Secure Boot requires additional configuration to work with
│ third-party drivers.
│
│ The system will assist you in configuring UEFI Secure Boot. To permit
│ the use of third-party drivers, a new Machine-Owner Key (MOK) has been
│ generated. This key now needs to be enrolled in your system's firmware.
│
│ To ensure that this change is being made by you as an authorized user,
│ and not by an attacker, you must choose a password now and then confirm
│ the change after reboot using the same password, in both the "Enroll
│ MOK" and "Change Secure Boot state" menus that will be presented to you
│ when this system reboots.
If you proceed but do not confirm the password upon reboot, Ubuntu will
│ still be able to boot on your system but any hardware that requires
│ third-party drivers to work correctly may not be usable.
│
│ <Ok>
老实说,我很难克服这一点。我需要关于我能做什么的帮助。
选择
OK
。然后,系统将提示您设置密码。设置一个简单的密码,然后命令将完成。只需键入sudo reboot
,这将重新启动您的笔记本电脑。在重新启动的过程中,您将看到一个带有选项的蓝屏,显示为Enroll MOK
。单击输入并输入您设置的密码。对选项执行相同的操作Change Secure Boot state
。然后,继续。您的计算机将正常重启。这是防止恶意软件的正常程序,而不是错误。