从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文件,就好了。
ubuntu升级7.04路程笔记
转载请注明出处:服务器评测 » ubuntu升级7.04路程笔记
相关推荐
- TetraHost:特供独享IP服务器,月付仅$75起 | 美国/新加坡机房
- 专业级独立服务器仅$69.95起 | 双路至强E5-2697v3 | 128GB大内存 | 500GB固态硬盘 | 10Gbps极速端口
- 月付9美元独立服务器 | 即刻部署 | 纽约、洛杉矶、迈阿密三节点
- 即时可用独立服务器:Ryzen 9 DDR5 ECC NVMe 满血性能,10Gbps极速网络,新品促销立省30%!
- ** 美国西海岸专用服务器 @ E3/E5 起,配备 32GB RAM 30 美元/月 **
- 获得 25% 的硬件升级折扣,免费获得额外的 IPv4 和 10 Gbps 端口,成为 Metal+ 会员
- InterServer – 买 1 送 2 – 托管优惠
- 限时:AMD EPYC 7452,256GB – 99 美元
服务器评测





