【问题标题】:how to remove a ubuntu package from manual install list without actually remove it?如何在不实际删除的情况下从手动安装列表中删除 ubuntu 包?
【发布时间】:2010-07-23 17:06:46
【问题描述】:

每当您在 ubuntu 中安装软件包时,它都会被添加到手动安装中,系统会确保它已正确更新和配置。但我找不到从手动安装列表中删除软件包的方法。

我想这样做,所以我让包系统处理该包并在我的系统不需要时将其删除。

谢谢, 大卫

【问题讨论】:

  • 我知道你的答案很好,但为了将来参考,最好在 superuser.com 上询问这类问题。

标签: ubuntu apt-get


【解决方案1】:

与大多数基于 debian 的软件包问题一样,答案是 Aptitude。

sudo aptitude 
/(package name here)
hit n until you find the correct package.
M marks it as auto.
m marks it as manual.
those options are also in the "Package" menue.

【讨论】:

    【解决方案2】:
    sudo aptitude markauto PACKAGE_NAME
    

    【讨论】:

      猜你喜欢
      • 2015-01-13
      • 2022-01-23
      • 2021-04-04
      • 1970-01-01
      • 2013-10-16
      • 2018-11-25
      • 2015-04-05
      • 2021-05-12
      • 1970-01-01
      相关资源
      最近更新 更多