Updater-notifier-common 无法安装在 16.10 OVH 上

Updater-notifier-common 无法安装在 16.10 OVH 上

我最近在 OVH 服务器上全新安装了 Ubuntu 16.10 Yakkety,但似乎缺少大量基本功能,例如大多数系统工具、没有鼠标垫、nano、curl、gedit 等。清单还在继续。
我现在已经设法安装了不少东西,但我遇到了一个重大障碍update-notifier-common。它和其他两个依赖项无法安装,或者至少在这之前其他两个似乎无法安装。

我尝试了很多方法,包括一种模糊的dpkg-divert方法,但我甚至不确定我是否做对了,所以你们是我最后的希望。以下是我在执行时不断遇到的错误apt-get -f install

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  update-notifier-common
The following NEW packages will be installed
  update-notifier-common
0 to upgrade, 1 to newly install, 0 to remove and 17 not to upgrade.
3 not fully installed or removed.
Need to get 0 B/161 kB of archives.
After this operation, 1,411 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 103151 files and directories currently installed.)
Preparing to unpack .../update-notifier-common_3.175.1_all.deb ...
Unpacking update-notifier-common (3.175.1) ...
dpkg: error processing archive /var/cache/apt/archives/update-notifier-common_3.175.1_all.deb (--unpack):
 trying to overwrite '/etc/apt/apt.conf.d/10periodic', which is also in package apt-config-auto-update 2.0.0-1ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/update-notifier-common_3.175.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

它似乎阻止我安装我想要/需要的几乎所有其他东西。任何帮助或建议都将不胜感激。

答案1

这里有点像死帖,但是如果你通过以下方式删除 apt-config-auto-update

dpkg --remove apt-config-auto-update

然后您可以执行 apt-get -f install。
(apt-get 没有为我删除它。)

相关内容