我运行3 debian服务器(所有服务器是Xen客人)与squeezy安装。 因为旧的包,2服务器成功升级,但最后不能升级需要升级。 在我做的所有服务器中:
1): update all package (apt-get upgrade)
2) modify the /etc/apt/sources.list to: deb http://ftp.hu.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.hu.debian.org/debian/ wheezy main contrib non-free deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # squeeze-updates, previously known as 'volatile' deb http://ftp.hu.debian.org/debian/ wheezy-updates main deb-src http://ftp.hu.debian.org/debian/ wheezy-updates main
3)apt-get更新; apt-get升级; apt-get dist-upgrade; apt-get升级
第2台服务器升级成功,但最后一次升级:“安装0包,升级0包”使用aptitude而不是apt-get做了相同的结果。 我检查了一些安装的实用程序(man,mc等),在最后一个服务器也是老,真的没有升级,有些软件包是无法访问,这是默认可以在挤压和喘息为什么不能最后升级喘息?
有趣的,但使用适配器切换:-t喘气,它可以成功升级。 apt-get -t wheezy dist-upgrade和它的工作
你在某处读了一个错误的教程。 它包含许多冗余和不必要的步骤。 但要专注于你的问题:
运行apt-get dist-upgrade ,就完成了。 (如果成功完成的话)这是将你升级为喘息的部分。
尝试apt-get upgrade之后再次apt-get upgrade将导致没有包,因为你已经是最新的!