如何摆脱 aptitude safe-upgrade 上的 grub 错误

如何摆脱 aptitude safe-upgrade 上的 grub 错误

这是主机提供商的新 ubuntu 10.04 根服务器。我进行了初始

sudo aptitude update && sudo aptitude safe-upgrade

现在我每次跑步都会看到这条信息sudo aptitude safe-upgrade

root@Ubuntu-1004-lucid-64-minimal ~ # sudo aptitude safe-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following partially installed packages will be configured:
  grub-pc 
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up grub-pc (1.98-1ubuntu8) ...
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done

我该如何修复此问题/让该消息以安全的方式消失?

答案1

我写信给支持人员,他们已经修复了这个问题。我认为他们没有妥善管理他们的软件包镜像。

相关内容