为什么“sudo apt install rdnssd”会删除 network-manager 等 7 个包?
$ sudo apt install rdnssd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libndp0 libpkcs11-helper1 libteamdctl0 mobile-broadband-provider-info
openvpn pptp-linux
Use 'sudo apt autoremove' to remove them.
Suggested packages:
ndisc6
The following packages will be REMOVED:
network-manager network-manager-config-connectivity-ubuntu
network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome
network-manager-pptp network-manager-pptp-gnome
The following NEW packages will be installed:
rdnssd
0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded.
Need to get 15,9 kB of archives.
After this operation, 10,7 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
答案1
看一眼apt show rdnssd
寻找以下Conflicts
行:
Conflicts: network-manager
这就是你的答案:rdnssd
和NetworkManager
不能同时存在于同一个系统上。它们冲突。
仅供参考:Ubuntu Server 和 Ubuntu Core 使用 systemd-networkd 而不是 NetworkManager。除非您已启用 NM,否则rdnssd
应该可以很好地与这些版本的 Ubuntu 配合使用。