ubuntu – 如何从apt-get autoremove“queue”中删除包

前端之家收集整理的这篇文章主要介绍了ubuntu – 如何从apt-get autoremove“queue”中删除包前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚在Ubuntu 10.04上通过apt-get安装了Calibre for ebook management,但我发现它是当前版本背后的一个主要版本,所以我决定直接从源代码重新安装它.

当我卸载打包版本时,apt为autoremove队列添加了一堆依赖项,并且当我从源安装较新版本的Caliber时,它不知道它依赖于这些包.

现在我基本上拥有了我想要的所有库,但它们仍然在autoremove队列中.

The following packages were automatically installed and are no longer required:
  libqt4-script libqt4-designer libqt4-dbus python-lxml python-cherrypy3
  python-encutils libqt4-xmlpatterns libqt4-help python-qt4 python-clientform
  python-sip python-django python-mechanize libqt4-svg python-django-tagging
  libphonon4 libqt4-xml libqt4-assistant libqt4-webkit libqt4-scripttools
  python-beautifulsoup python-pypdf python-dateutil python-cssutils
Use 'apt-get autoremove' to remove them.

我怎么告诉apt我想保留这些软件包,而不是手动重新安装它们?

只需使用apt-get install:
sudo apt-get install libqt4-script libqt4-designer libqt4-dbus python-lxml python-cherrypy3 python-encutils libqt4-xmlpatterns libqt4-help python-qt4 python-clientform python-sip python-django python-mechanize libqt4-svg python-django-tagging   libphonon4 libqt4-xml libqt4-assistant libqt4-webkit libqt4-scripttools  python-beautifulsoup python-pypdf python-dateutil python-cssutils

它实际上不会安装它们.它只会将标志设置为手动安装.

原文链接:https://www.f2er.com/ubuntu/347954.html

猜你在找的Ubuntu相关文章