網頁

2018年10月10日 星期三

Linux安裝套件出現“has no installation candidate”解決方式


編輯套件來源檔:
sudo vim /etc/apt/sources.list

加入下面來源位址:
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse 
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
再執行一次update:
sudo apt-get update
 

沒有留言:

張貼留言