Ubuntu 出现apt-get: Package has no installation candidate问题

川长思鸟来 2021-12-24 08:35 1045阅读 0赞

When I run

sudo apt-get install cmake

I get the following response:

Package cmake is not available, but is referred to by another package.This may mean the package is missing, has been obsoleted, or is only available from another sourceE: Package 'cmake' has no installation candidate 解决方法如下: # apt-get update # apt-get upgrade # apt-get install <packagename> 这样就可以正常使用apt-get了~

转载于:https://www.cnblogs.com/zzwhjj/p/5567148.html

发表评论

表情:
评论列表 (有 0 条评论,1045人围观)

还没有评论,来说两句吧...

相关阅读