代码之家  ›  专栏  ›  技术社区  ›  David S.

如何从手动安装列表中删除ubuntu包而不实际删除它?

  •  0
  • David S.  · 技术社区  · 15 年前

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

    我想这样做,所以我让包系统来照顾这个包,并删除它时,它是不必要的我的系统。

    谢谢, 大卫

    2 回复  |  直到 15 年前
        1
  •  0
  •   nrn    15 年前

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

    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
  •  0
  •   weakish    15 年前
    sudo aptitude markauto PACKAGE_NAME
    
    推荐文章