将 Ubuntu 16.04 升级到 16.10 后,我遇到了一个奇怪的错误。
软件更新程序建议进行部分更新:
无法安装“systemd-shim”
升级将继续,但“systemd-shim”包可能不在工作状态。请考虑提交有关它的错误报告。
Run Code Online (Sandbox Code Playgroud)subprocess installed post-removal script returned error exit status 2
sudo apt-get update 完成没有任何错误。
sudo apt-get remove 输出这个
The following packages will be REMOVED:
systemd-shim
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 71.7 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 1451244 files and directories currently installed.) …Run Code Online (Sandbox Code Playgroud) 我有一个看起来像这样的文件:
7 C00000002 score: -41.156 nathvy = 49 nconfs = 2251
8 C00000002 score: -39.520 nathvy = 49 nconfs = 3129
9 C00000004 score: -38.928 nathvy = 24 nconfs = 150
10 C00000002 score: -38.454 nathvy = 49 nconfs = 9473
11 C00000004 score: -37.704 nathvy = 24 nconfs = 156
12 C00000001 score: -37.558 nathvy = 41 nconfs = 51
2 C00000002 score: -48.649 nathvy = 49 nconfs = 3878
3 C00000001 score: -44.988 nathvy = 41 nconfs = …Run Code Online (Sandbox Code Playgroud)