我确实删除了 mysql-common,但最终却删除了 gnome-control-center 和 ubuntu 桌面实用程序

我确实删除了 mysql-common,但最终却删除了 gnome-control-center 和 ubuntu 桌面实用程序
Start-Date: 2021-09-01  20:39:05
Commandline: apt purge mysql-server
Requested-By: user (1000)
Purge: mysql-server:amd64 (8.0.26-0ubuntu0.20.04.2)
End-Date: 2021-09-01  20:39:07

Start-Date: 2021-09-01  20:39:27
Commandline: apt autoremove
Requested-By: user (1000)
Remove: mecab-utils:amd64 (0.996-10build1), libevent-core-2.1-7:amd64 (2.1.11-stable-1), mysql-server-8.0:amd64 (8.0.26-0ubuntu0.20.04.2), libcgi-fast-perl:amd64 (1:2.15-1), libfcgi-perl:amd64 (0.79-1), libmecab2:amd64 (0.996-10build1), mecab-ipadic-utf8:amd64 (2.7.0-20070801+main-2.1), libcgi-pm-perl:amd64 (4.46-1), libevent-pthreads-2.1-7:amd64 (2.1.11-stable-1), libhtml-template-perl:amd64 (2.97-1), mecab-ipadic:amd64 (2.7.0-20070801+main-2.1), mysql-server-core-8.0:amd64 (8.0.26-0ubuntu0.20.04.2)
End-Date: 2021-09-01  20:39:55

Start-Date: 2021-09-01  20:43:46
Commandline: apt remove mysql-common
Requested-By: user (1000)
Remove: ubuntu-desktop-minimal:amd64 (1.450.2), gnome-control-center:amd64 (1:3.36.5-0ubuntu2), printer-driver-hpcups:amd64 (3.20.3+dfsg0-2), sane-utils:amd64 (1.0.29-0ubuntu5.2), mysql-client-8.0:amd64 (8.0.26-0ubuntu0.20.04.2), ubuntu-desktop:amd64 (1.450.2), default-mysql-client:amd64 (1.0.5ubuntu2), libsnmp35:amd64 (5.8+dfsg-2ubuntu2.3), hplip:amd64 (3.20.3+dfsg0-2), libhpmud0:amd64 (3.20.3+dfsg0-2), mysql-common:amd64 (5.8+1.0.5ubuntu2), libmysqlclient21:amd64 (8.0.26-0ubuntu0.20.04.2), libsane-hpaio:amd64 (3.20.3+dfsg0-2), libsane:amd64 (1.0.29-0ubuntu5.2), colord:amd64 (1.4.4-2)
End-Date: 2021-09-01  20:44:52

为什么会发生这种情况?我真是个傻瓜,我读了那个并删除了它,后来感到恐慌。但后来我从 apt 历史记录中获取了日志,并松了一口气地发现只有额外的实用程序被删除了。我是 ubuntu 新手,因此对于我对此的任何无知,我深表歉意。

答案1

根据 OP 的问题,我不确定为什么删除了以下软件包:apt purge mysql-serverapt remove mysql-common。我最近安装了 ubuntu 20.04,尽管我自己从未真正安装过 mysql,但我的系统上有与和相关的文件mysqlmysql-common这使我得出结论,这些是基本软件包,可能对整个系统的至少部分功能是必需的。我不确定,mysql-server但我绝对不会建议删除,mysql-common除非有正当理由。

相关内容