从debian8 稳定版升级到testing,网易的这个源正确吗

deb http://mirrors.163.com/debian/ testing main non-free contrib
deb http://mirrors.163.com/debian/ testing-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ testing main non-free contrib
deb-src http://mirrors.163.com/debian/ testing-updates main non-free contrib
deb http://mirrors.163.com/debian-security/ testing/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ testing/updates main non-free contrib
我看有的源地址里是stretch ,不是testing,
我稳定版用的也是网易的源,
deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

如果能正常apt update就正确

你用的是什么源,可以推荐下吗?

我用的是unstable

unstable也可以啊

unstable的配置就一行

deb http://mirrors.163.com/debian sid main contrib non-free

问题是您想呆在 stretch 还是继续跟 testing。如果您打算呆在 stretch,您需要在 stretch 发布之前把 testing 改成 stretch,否则一大堆新包将会在很短的时间内涌入。
即使您打算继续跟 testing,也建议您在 stretch 发布后等一段时间再跟上去,以防止被卷入解除冻结时短暂的混乱时期。

1 个赞

sid+experimental的路过

我已经用网易的testing了, upgrade和dist-upgrade了,但我想以后还是呆在stretch(就是debian9 稳定版吧),办公还是稳定点好,现在是不是把源中的testing改成stretch就好了吗?

是的,改成stretch就行

update的时候为什么会出现密钥错误的情况呢。

一般是运营商缓存问题。用支持 https 的软件源基本可以避免
还不行的话看看这个 http://forum.ubuntu.com.cn/viewtopic.php?f=77&t=465499

我现在办公的是jessie,要升级到debian9的话,只要把源里的jessie改成stretch就可以了吧,然后还是apt-get update,apt-get upgrade apt-get dist-upgrade吗?

目前不是最小化环境的话,不建议你直接这么做,不急的话等一周之后debian9发布了再重装,这样风险小些。

1 个赞

由于一些testing上的小问题,一气之下直接上sid,我想好了,等release以后,我等一个月直接换源更新testing.这样就又能稳定的玩耍了.

release以后一个月是sid的大量更新阶段,这个阶段的更新就已经让你离开了stretch。
个人推荐的方式是继续使用stretch源,临时同时使用sid源并修复一些你想要新版的包,然后使用apt preference来降低sid优先级或者直接删掉sid源。