从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路程笔记
相关推荐
- *TMS 促销!AMD Ryzen 9 9950X 可享 25% 折扣!i9 14900K 可享 30% 折扣!当天设置!
- *IOFLOOD.com █ RAM-ageddon:双倍增长 █ 2X RAM 同样低价
- *HostRound LLC ★ RYZEN 9950X 7950X 7700 专用服务器 – 特价
- *129 美元/月双 E5-2620 v2 + 128GB RAM + 2x1TB SSD + 2TB 备份 + 1Gbps @ 100TB 限时优惠!
- Linux系统通过SCP上传文件到Linux云服务器
- Linux系统通过RDP上传文件到Windows云服务器
- linux – ip route 操作主机路由
- 解决wordpress后台升级失败没无法更新的问题