我有一段时间没有更新的 Debian 系统(虚拟开发盒,无法从 Internet 访问)。现在我想弥补这一点,但似乎资源不再可用:
$ sudo -s
> LANG=C apt-get update
...
Ign http://backports.debian.org squeeze-backports/non-free Translation-de_DE
Err http://backports.debian.org squeeze-backports/main amd64 Packages
301 Moved Permanently [IP: 128.31.0.62 80]
Err http://backports.debian.org squeeze-backports/contrib amd64 Packages
301 Moved Permanently [IP: 128.31.0.62 80]
Err http://backports.debian.org squeeze-backports/non-free amd64 Packages
301 Moved Permanently [IP: 128.31.0.62 80]
Fetched 13.5 kB in 8s (1512 B/s)
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/main/binary-amd64/Packages 301 Moved Permanently [IP: 128.31.0.62 80]
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/contrib/binary-amd64/Packages 301 Moved Permanently [IP: 128.31.0.62 80]
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/non-free/binary-amd64/Packages 301 Moved Permanently [IP: 128.31.0.62 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
我dist-upgrade
今天能从 7.4 到 7.11,但这似乎是我所能得到的。
Jessie,有没有办法成功地将update
我的系统升级到 Debian 8?dist-upgrade
我的主要目标是以这种方式获得 apache 2.4。
更新:
这是我的/etc/apt/sources.list
文件,删除了空行和注释掉的行:
deb http://debian.uni-duisburg-essen.de/debian/ wheezy main
deb-src http://debian.uni-duisburg-essen.de/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://debian.uni-duisburg-essen.de/debian/ wheezy-updates main
deb-src http://debian.uni-duisburg-essen.de/debian/ wheezy-updates main
deb http://opensource.wandisco.com/debian wheezy svn18
升级到 Debian 8 Jessie 比简单地运行
dist-upgrade
. 我将总结所涉及的步骤,但我强烈建议您完全熟悉Debian 8 (jessie) 发行说明中的 Debian 7 (wheezy) 升级。配置包存储库。
您修改包存储库的配置文件,
/etc/apt/sources.list
以包含 Jessie 的存储库的 URL。它应包括类似于以下内容的条目:请参阅为 APT 准备源
获取 Jessie 的可用软件包列表:
确保您有足够的磁盘空间来下载所有新软件包。然后,升级无需删除或安装任何其他软件包即可升级的软件包:
这应该进行了安装新内核和 udev的最小升级。
重新启动系统以使用新内核。
通过升级剩余的软件包来完成该过程: