zoukankan      html  css  js  c++  java
  • ubuntu 16.04 apt-get 出现The package 'xxx' needs to be reinstalled, but I can't find an archive for it.

    参考网址:http://www.ihaveapc.com/2011/10/fix-annoying-the-package-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it-error-in-linux-mint-ubuntu/

    解决办法:

    sudo cp /var/lib/dpkg/status status.bkp

    sudo gedit /var/lib/dpkg/status

    Search for the package name that appears in the error. Note that, in our case the culprit package was ‘urd’ which was in ‘purge reinstreq half-installed’ state. After you have located the culprit package, delete the section of information related to that package and save the file. In our case, we deleted the section related to ‘urd’ inside the rectangle and saved the file. Close ‘gedit’ when done.

  • 相关阅读:
    用遗传算法解决子集和问题
    XML映射配置文件
    generator插件配置方式使用
    声明
    spring IOC简单分析
    模板模式
    原型模式
    委派模式,策略模式
    单例模式2
    单例模式
  • 原文地址:https://www.cnblogs.com/llfctt/p/9414350.html
Copyright © 2011-2022 走看看