首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >grub-efi-amd64 64签名包安装后脚本子进程返回错误退出状态127

grub-efi-amd64 64签名包安装后脚本子进程返回错误退出状态127
EN

Ask Ubuntu用户
提问于 2019-11-19 17:59:52
回答 1查看 5.6K关注 0票数 4

我的双引导笔记本电脑运行Ubuntu18.04.3作为我的主要操作系统升级后,也与Windows。每当我试图安装或更新应用程序时,都会遇到以下错误:

代码语言:javascript
复制
Setting up grub-efi-amd64-signed (1.128+2.04-1ubuntu12) ...
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess ret
urned error exit status 127
Errors were encountered while processing:
 grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

现在,这发生在任何交互apt,这是非常不方便的。我已经尝试更新grub,但是没有任何解决方案。

这是我的dpkg和f吧,如果有什么帮助的话。

代码语言:javascript
复制
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version              Architecture Description
+++-=====================-====================-============-===============================================================
un  grub                  <none>               <none>       (no description available)
un  grub-cloud-amd64      <none>               <none>       (no description available)
ii  grub-common           2.04-1ubuntu12       amd64        GRand Unified Bootloader (common files)
un  grub-coreboot         <none>               <none>       (no description available)
un  grub-doc              <none>               <none>       (no description available)
ii  grub-efi              2.04-1ubuntu12       amd64        GRand Unified Bootloader, version 2 (dummy package)
ii  grub-efi-amd64        2.04-1ubuntu12       amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii  grub-efi-amd64-bin    2.04-1ubuntu12       amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
iF  grub-efi-amd64-signed 1.128+2.04-1ubuntu12 amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
un  grub-efi-arm          <none>               <none>       (no description available)
un  grub-efi-arm64        <none>               <none>       (no description available)
un  grub-efi-ia32         <none>               <none>       (no description available)
un  grub-efi-ia64         <none>               <none>       (no description available)
un  grub-emu              <none>               <none>       (no description available)
un  grub-ieee1275         <none>               <none>       (no description available)
un  grub-legacy           <none>               <none>       (no description available)
un  grub-legacy-doc       <none>               <none>       (no description available)
un  grub-linuxbios        <none>               <none>       (no description available)
un  grub-pc               <none>               <none>       (no description available)
un  grub-uboot            <none>               <none>       (no description available)
un  grub-xen              <none>               <none>       (no description available)
un  grub-yeeloong         <none>               <none>       (no description available)
un  grub2                 <none>               <none>       (no description available)
ii  grub2-common          2.04-1ubuntu12       amd64        GRand Unified Bootloader (common files for version 2)

飞刺

代码语言:javascript
复制
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/nvme0n1p2 during installation
UUID=d5d23cc4-21a5-4c06-bf9a-9a74d76d315b /boot           ext4    defaults        0       2
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=93E0-B2F2  /boot/efi       vfat    umask=0077      0       1
/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-11-19 19:33:04

根据这个错误报告,您需要安装mokutil来解决问题。

这个包似乎缺少依赖关系。

票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1190110

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档