我尝试使用以下方法升级 xfce 桌面 -
sudo apt-get upgrade xfce4
由于未知原因,该过程未完成。此后,每当我尝试发出sudo apt-get
命令时,都会导致 -
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
现在我的整个系统都没有图标,一个都没有。一定是某些软件包没有安装。经过一番研究,找到了两个解决方案。
sudo dpkg --configure -a
这导致出现一个框(我不知道它是错误框还是说明框。)我尝试截取屏幕截图,但可惜!也无法截取。我已将文本复制粘贴到这里。
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.
│
│ <Ok>
请指导我该怎么做,是否应该重新安装整个系统,或者是否仍然有其他方法可以解决这个问题。
答案1
在启动时按 ESC 或 f2(键取决于公司型号,asus-f2、hp-esc 等)进入系统 BIOS。找到“安全启动”选项并将其禁用。然后再次执行
sudo dpkg --configure -a