我确实想从我的系统中卸载“流行-竞赛”软件包。
虽然我知道我可以用
$ dpkg-reconfigure popularity-contest它仍然是我想要删除的包裹。
不幸的是,“ubuntu标准”包依赖于它(而不仅仅是推荐它)。因此,删除波波将删除ubuntu-standard,而我的系统将被破坏。有关特性请求,请参见人气竞赛应该是不可安装的,以使其可卸载。
在这个bug被修复之前,我需要一个方法来卸载它。
我怎么能这么做?是否有办法使包管理器相信不需要依赖关系?
发布于 2011-12-03 12:45:21
考虑到ubuntu-standard是元包,删除它并不意味着删除任何其他包,也不意味着删除某些功能:
$ sudo apt-get --simulate purge popularity-contest
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
popularity-contest* ubuntu-standard*
0 upgraded, 0 newly installed, 2 to remove and 13 not upgraded.
Purg ubuntu-standard [1.245]
Purg popularity-contest [1.53ubuntu1]发布于 2018-04-23 17:06:31
在Ubuntu16.04LTS中完全删除包
sudo apt-get remove popularity-contest是的,它在删除对话框中提到了ubuntu-standard。请看这张清单:
与ubuntu相关的软件包-标准 (Ubuntu.com)
注意,nano包含在Ubuntu列表中。
若要验证通过此方法删除popularity-contest是否对系统造成损害,请尝试:
nano test.tmp您将看到nano仍然运行良好。
换句话说,您可以看到,这证明删除Ubuntu标准包初始安装时遗留的安装存根不会以其他方式损坏系统。
最后一步:删除每日cron条目。
sudo rm /etc/cron.daily/popularity-contesthttps://askubuntu.com/questions/84831
复制相似问题