系统更新失败

系统更新失败

我不太清楚问题是什么,但我无法更新 Ubuntu 14.04 LTS。我还出现了这个错误:(这很明显,因为我在下拉菜单关闭之前截屏了)

在此处输入图片描述

当我点击...

  • Show updates它询问我是否要在Software Updater程序中下载新的软件更新;但是当我继续时它什么也没做。
  • Install all updates我收到一条错误消息,指出我没有以下权限:org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.140'}): org.debian.apt.upgrade-packages
  • Check for updates我收到一条错误消息,指出我没有以下权限:org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.142'}): org.debian.apt.update-cache
  • Start package manager什么都没发生

如果我尝试从 GUI 打开包管理器,也不会发生任何事情。

当我运行时,sudo apt-get update没有收到任何错误。

当我运行时,sudo apt-get autoclean没有收到任何错误。

当我sudo apt-get upgrade首先运行它时说:

0 to upgrade, 0 to newly install, 0 to remove and 258 not to upgrade.
1 not fully installed or removed.

然后它说:

Setting up brltty (5.0-2ubuntu3) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service brltty insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package brltty (--configure):
    subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-46-generic
Errors were encountered while processing:
    brltty
E: Sub-process /usr/bin/dpkg returned an error code (1)

当我运行时,sudo apt-get autoremove收到以下错误:

0 to upgrade, 0 to newly install, 0 to remove and 258 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up brltty (5.0-2ubuntu3) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service mountkernfs has to be enabled to start service brltty
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package brltty (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-46-generic
Errors were encountered while processing:
   brltty
E: Sub-process /usr/bin/dpkg returned an error code (1)

我不知道为什么会发生这种情况。我该如何解决?

编辑:看起来我也无法通过此错误访问我的硬盘Not authorized to perform operation。Ubuntu 安装在我的固态硬盘上,因此它不会影响它;但它可以帮助诊断问题。

相关内容