Debian

將 Debian 9 Stretch 升級到 Debain 10 Buster

  • July 12, 2019

我正在嘗試將我的 Debian 9 升級到 Debian 10。

我已將我的 sources.list 更改為以下

deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free

現在每當我表演時apt update,我都會收到以下錯誤

E: The repository 'http://build.openvpn.net/debian/openvpn/stable buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

我已經查看了這篇關於使用測試儲存庫的文章。不過既然正式發布了,應該也能正常升級了吧?我錯過了什麼嗎?

build.openvpn.net儲存庫僅接受以下 Debian 代號:

wheezy
jessie
stretch

檢查/etc/apt/sources.list.d/然後禁用 openvpn 儲存庫。該軟體包openvpn可以稍後從 Debian 儲存庫安裝:

sudo apt install openvpn

引用自:https://unix.stackexchange.com/questions/529547