當新刷好的樹莓派鏡像啟用時,你有可能會遇到奇怪的 apt 錯誤:
1 2 3 4 5 6 7 8 9 |
root@raspberrypi:/home/pi# apt install default-jre Reading package lists... Done Building dependency tree... Done Reading state information... Done Package default-jre 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 'default-jre' has no installation candidate |
當然,不止這一個,安裝任何包都會是 包裹 XXX 有 沒有 安裝 候選人
解決辦法
首先查看你的 [crayon-6741c9d[……]