更新我的系统 16.04 LTS 时出错

更新我的系统 16.04 LTS 时出错

当我使用以下命令更新系统时,dpkg 出现错误,如何解决?

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

linux-signed-image-generic depends on linux-image-extra-4.4.0-24-generic; however:
  Package linux-image-extra-4.4.0-24-generic is not configured yet.

dpkg: error processing package linux-signed-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of linux-signed-generic:
 linux-signed-generic depends on linux-signed-image-generic (= 4.4.0.24.25); however:
  Package linux-signed-image-generic is not configured yet.

dpkg: error processing package linux-signed-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.4.0-24-generic
 linux-image-extra-4.4.0-24-generic
 linux-image-generic
 linux-generic
 linux-signed-image-4.4.0-24-generic
 linux-signed-image-generic
 linux-signed-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

按照这个答案。我遇到了同样的问题,删除 lilo 后,它帮助了我 自升级到 12.04 以来出现 Apt 错误

相关内容