感谢支持
我们一直在努力

ubuntu升级7.04路程笔记

从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文件,就好了。

赞(0) 打赏
转载请注明出处:服务器评测 » ubuntu升级7.04路程笔记
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏