我从 debian 8 进行了 dist-upgrade 到 debian 9。现在我需要重新安装 xserver-xorg-core。但在这样做时,apt-get 想要删除“init”。
# apt-get install --reinstall xserver-xorg-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libxfont2
Recommended packages:
libpam-systemd
The following packages will be REMOVED:
init libpam-systemd mate-panel mate-polkit mate-power-manager policykit-1 policykit-1-gnome systemd systemd-sysv
udisks2
The following NEW packages will be installed:
libxfont2 xserver-xorg-core
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
init systemd-sysv (due to init)
0 upgraded, 2 newly installed, 10 to remove and 293 not upgraded.
Need to get 3,449 kB/3,585 kB of archives.
After this operation, 11.7 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]
显然,我不想删除 init。没有解释为什么 apt-get 需要删除“init”才能重新安装 xserver-xorg-core。有没有办法让 apt-get 更详细并显示为什么需要删除 init?是否有可能在不查看源代码的情况下显示底层逻辑?
# apt-get install init
Reading package lists... Done
Building dependency tree
Reading state information... Done
init is already the newest version (1.48).