我今天升级了 ubuntu 12.04 服务器,发现出现此错误:
# apt-get install -f
Reading package lists... Done
Building dependency tree.......
Reading state information... Done
The following package was automatically installed and is no longer required:
libcgroup1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up cgroup-lite (1.1.4) ...
start: Job failed to start
invoke-rc.d: initscript cgroup-lite, action "start" failed.
dpkg: error processing cgroup-lite (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cgroup-lite
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100 apt-get install -f
我有 kvm 虚拟机,我用 virhs 进行管理,如果关闭虚拟机,我就无法启动 :(。
virsh # start 104
error: Failed to start domain 104
error: Unable to create cgroup for 104: No such file or directory