![系统更新失败](https://linux22.com/image/1051986/%E7%B3%BB%E7%BB%9F%E6%9B%B4%E6%96%B0%E5%A4%B1%E8%B4%A5.png)
我不太清楚问题是什么,但我无法更新 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 安装在我的固态硬盘上,因此它不会影响它;但它可以帮助诊断问题。