相关疑难解决方法(0)

dpkg-divert:错误:从 16.04 升级到 16.10 后重命名涉及覆盖错误

将 Ubuntu 16.04 升级到 16.10 后,我遇到了一个奇怪的错误。

软件更新程序建议进行部分更新:

无法安装“systemd-shim”

升级将继续,但“systemd-shim”包可能不在工作状态。请考虑提交有关它的错误报告。

subprocess installed post-removal script returned error exit status 2
Run Code Online (Sandbox Code Playgroud)

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)

apt partial-upgrade 16.10

57
推荐指数
1
解决办法
3万
查看次数

排序值和 grepping 最好的分数(最高数字)

我有一个看起来像这样的文件:

    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)

command-line bash grep sort

4
推荐指数
1
解决办法
2503
查看次数

标签 统计

16.10 ×1

apt ×1

bash ×1

command-line ×1

grep ×1

partial-upgrade ×1

sort ×1