首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >每个更新和任何软件更新上的Grub包配置错误

每个更新和任何软件更新上的Grub包配置错误
EN

Unix & Linux用户
提问于 2015-05-18 17:53:30
回答 1查看 4.2K关注 0票数 1

有时候,在联想(v580笔记本电脑)Windows8系统恢复按钮按下后,我不得不恢复Linux (只是一个愚蠢的错误)。我遵循了这个指南,然后是http://community.linuxmint.com/tutorial/view/245。虽然我现在能够在每个软件更新(任何软件)上从Linux分区启动,但我可以看到错误,我可以通过以下命令执行来再现这个错误:

代码语言:javascript
复制
mypc html # dpkg --configure grub-efi-amd64-signed
Setting up grub-efi-amd64-signed (1.34.2+2.02~beta2-9ubuntu1.1) ...
grub-install.real: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed

我试图重新安装grub-efi-amd64-signed软件包,但这没有帮助。

我使用的是Linux 17 64位

更新

在BIOS中,它被设置为引导Legacy+UEFI (遗产优先)。

目前已安装的grub软件包:

代码语言:javascript
复制
mypc html # dpkg -l grub\*
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)
ii  grub-common                          2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader (common files)
un  grub-coreboot                        <none>                  <none>                  (no description available)
un  grub-doc                             <none>                  <none>                  (no description available)
un  grub-efi                             <none>                  <none>                  (no description available)
ii  grub-efi-amd64                       2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii  grub-efi-amd64-bin                   2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
iF  grub-efi-amd64-signed                1.34.2+2.02~beta2-9ubun amd64                   GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
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-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.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader (common files for version 2)
ii  grub2-theme-mint                     1.0.9                   all                     Grub2 theme for Linux Mint
EN

回答 1

Unix & Linux用户

发布于 2015-08-25 13:16:45

在戴尔纬度的E7450上,我也遇到了同样的问题。我只是跑了

代码语言:javascript
复制
    sudo apt-get install grub
    sudo apt-get autoremove

从一个标准的外壳,这就成功了。

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

https://unix.stackexchange.com/questions/204145

复制
相关文章

相似问题

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