当我执行 sudo apt-get upgrade 时,出现错误。我执行了 do-release-upgrade,遇到了很多问题。最后问题简化为:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: deferring update (trigger activated)
Setting up irqbalance (1.0.6-2ubuntu0.14.04.1) ...
start: Job failed to start
invoke-rc.d: initscript irqbalance, action "start" failed.
dpkg: error processing package irqbalance (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.2.0-40-virtual
cp: skipping file ‘/lib/libc.so.5’, as it was replaced while being copied
cp: skipping file ‘/lib/libc.so.5’, as it was replaced while being copied
cp: skipping file ‘/lib/libc.so.5’, as it was replaced while being copied
cp: skipping file ‘/lib/libc.so.5’, as it was replaced while being copied
cp: skipping file ‘/lib/libc.so.5’, as it was replaced while being copied
E: /usr/share/initramfs-tools/hooks/fuse failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.2.0-40-virtual with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
irqbalance
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
apt-get 停止,原因是:
处理时遇到错误:
中断平衡
initramfs 工具
进一步来说,你可以阅读:
设置 irqbalance (1.0.6-2ubuntu0.14.04.1) ...
启动:作业启动失败
invoke-rc.d: initscript irqbalance,操作“启动”失败。
irqbalance
因此,在开始更新之前,请尝试手动启动或停止(如果已经启动) 。
如果没有帮助,请尝试重新安装:sudo apt-get install --reinstall irqbalance
。