problem : ubuntu14 update to 16 problem(grub-efi-amd64 E: Sub-process /usr/bin/dpkg returned an erro

problem

dpkg: error processing package grub-efi-amd64-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
grub-efi-amd64-signed

E: Sub-process /usr/bin/dpkg returned an error code (1)

ubuntu14 update to 16 , software install often get the error

succeed solution

sudo apt-get purge grub*
sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub
refer to :

http://askubuntu.com/questions/763472/what-can-i-do-to-fix-this-error-on-grub-efi
(there is another solution)

other solution (failed for me)

$sudo gedit //var/lib/dpkg/info/grub-efi-amd64.postinst

在set e后, 下一行,输入: exit 0

保存后,在终端运行命令:

$sudo dpkg –configure -a

原因:

这是ubuntu的一个bug, 是在更新后postinstall script没有很好的clean up. 以上解决方法强制提前退出

for Chinese language can’t input……

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值