请帮忙。升级到 19.04 后出现此错误

请帮忙。升级到 19.04 后出现此错误

我对 Ubuntu 还不熟悉。去年冬天我们家的电脑硬盘坏了,所以有了新硬盘,我就不再换 Windows 了,因为 Windows 或多或少只是用来查看邮件、上网和玩游戏。所以,我以前用过 ubuntu,喜欢它。总之,长话短说,我从 18.10 升级到 19.04,出现了几个错误。电脑运行良好,但似乎无法安装其他软件。试图让 flash 工作,这样我的妻子就可以玩拼字游戏了。我不认为这是硬件问题。我重启了几次电脑,没有问题。这是升级到 19.04 后出现的问题。升级过程中出现了几个错误。一个是关于 xscreensaver 被锁定,需要解锁之类的。我不记得其他的了。除了无法安装其他任何东西外,它似乎运行正常。尝试安装时出现以下信息:

Setting up grub-efi-amd64-signed (1.115+2.02+dfsg1-12ubuntu2) ...
Installing for x86_64-efi platform.
Could not prepare Boot variable: Invalid argument
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
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 | grub-efi-arm64-signed; 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
E: Sub-process /usr/bin/dpkg returned an error code (1)

任何帮助将不胜感激。

谢谢

麦克风

相关内容