从5.10成功升级到了6.06,又从6.06一路升到6.10,再到7.04。路上问题不少,不过都解决了。升级前要把upgrade都装了,然后要改/etc/apt/sources.list里面source的地址,把edgy换成feisty之后运行sudo apt-get update
然后运行gksu "update-manager -c" ,就是运行update-manager
这个大概要运行2个多小时吧,升级完成之后
再次运行
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get update 此命令多运行几次以便确实得到更新
如果安装后有错误
运行 sudo apt-get -f install 命令修复
确定全部升级完成后运行以下命令
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get -f install
sudo dpkg --configure -a
就大功告成了。
最后一次的问题是运行apt-get install的时候出错,
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Error occurred while processing libecal1.2-3 (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened
找了一下答案,跟debian有关。debian的主页apt tips这么说得,
your apt-get update fails with this kind of message ::
E: Dynamic MMap ran out of room
E: Error occured while processing osh (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.The solution is adding this parameter to your /etc/apt/apt.conf ::
APT::Cache-Limit "42123456";
但是没有找到/etc/apt/apt.conf,倒是有个apt.conf.d目录,改了下面的20archive文件,就好了。