
我剛從 Ubuntu 遷移到 Debian 10,但無法安裝 wget。我試過
sudo apt-get install wget
但收到這樣一則訊息:
This may mean that the package is missing, obsolete or only find available from some other source. The wget package is not available, but some other package references to it.
答案1
如果您啟動即時映像,則會發生這種情況:
首先運行sudo apt update
更新包資訊來修復它。
答案2
如果您沒有在即時映像中運行,則會因為缺少/etc/apt/sources.list
.只需新增另一個條目:
deb http://deb.debian.org/debian buster main
我有點困惑為什麼預設不存在,但我懷疑這與安裝程式中的鏡像選項有關。