Sources.list 關鍵漏洞連結更新

Sources.list 關鍵漏洞連結更新

這個問題與這個 GitHub 帖子

我只是想確保我是否正確獲得了鏈接並且沒有犯錯誤我將 ma.archiveUbuntu 鏈接替換為http://security.ubuntu.com/ubuntu

螢幕截圖

這是正確的嗎,還是我應該做別的事?

答案1

如果我們只專注於安全儲存庫,那麼您可以將它們全部組合在一行中:

deb http://security.ubuntu.com/ubuntu lunar-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu lunar-security main restricted universe multiverse

只要您的其餘儲存庫具有以下內容(請注意,我目前不包括合作夥伴儲存庫):

deb http://ma.archive.ubuntu.com/ubuntu lunar main restricted universe multiverse
#deb-src http://ma.archive.ubuntu.com/ubuntu lunar main restricted universe multiverse
deb http://ma.archive.ubuntu.com/ubuntu lunar-updates main restricted universe multiverse
#deb-src http://ma.archive.ubuntu.com/ubuntu lunar-updates main restricted universe multiverse

那應該可以滿足大部分需求了。

(請注意,我假設您單獨留下了合作夥伴存儲庫(如果已啟用)。我還包含了註釋掉的deb-src行,以防您在未來在某一點。

相關內容