当前位置:   article > 正文

Package has no installation candidate解决方法_package 'yum' has no installation candidate

package 'yum' has no installation candidate

今天在安装软件的时候出现了Package has no installation candidate的问题,如:


#  apt-get install <packagename>

Reading package lists… Done

Building dependency tree… Done

Package aptitude is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source
E: Package <packagename> has no installation candidate


解决方法如下:
# apt-get update

apt-get upgrade

apt-get install <packagename>

这样就可以正常使用apt-get了~


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/830697
推荐阅读
相关标签
  

闽ICP备14008679号