我无法将我的 Debian Jessie 转换/升级到 Debian Unstable:
所以,我用 vim 编辑了 /etc/apt/sources.list 。
deb http://ftp.u-picardie.fr/mirror/debian/ jessie main contrib non-free
deb-src http://ftp.u-picardie.fr/mirror/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb http://ftp.u-picardie.fr/mirror/debian/ jessie-updates main contrib non-free
deb-src http://ftp.u-picardie.fr/mirror/debian/ jessie-updates main contrib non-free
deb http://ftp.u-picardie.fr/debian/ testing main contrib non-free
deb-src http://ftp.u-picardie.fr/mirror/debian testing main contrib non-free
但是,我收到此错误:
W: Can't Recovery http://ftp.u-picardie.fr/debian/dists/testing/main/binary-amd64/Packages 404 Not Found [IP : 2001:660:4208:100::24 80]
W: Can't Recovery http://ftp.u-picardie.fr/debian/dists/testing/contrib/binary-amd64/Packages 404 Not Found [IP : 2001:660:4208:100::24 80]
W: Can't recovery http://ftp.u-picardie.fr/debian/dists/testing/non-free/binary-amd64/Packages 404 Not Found [IP : 2001:660:4208:100::24 80]
答案1
您忘记了 URL 中的“/mirror”部分。
答案2
您的标题是“如何将 Debian Jessie 更新为 Debian Unstable/Testing”,但不稳定是一回事 (Sid),而测试是另一回事 (Stretch)
我假设您想升级到测试(拉伸)而不是不稳定(Sid)
您已经制作了 Jessie 和测试(拉伸)的混合物。
除非您是计算机专家并且需要源代码,否则您可以通过在这些行的开头放置 # 来停止所有以 deb-src 开头的行。
更改您的来源列表:sudo vi /etc/apt/sources.list
deb http://ftp2.fr.debian.org/debian/ stretch main contrib non-free
deb http://ftp2.fr.debian.org/debian/ stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
并运行:
apt-get update
准备首次升级:
apt-get upgrade
按照此操作:
apt-get dist-upgrade