个人工具
登录
查看“UbuntuHelp:EOLUpgrades/Hoary”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:EOLUpgrades/Hoary”的源代码
来自Ubuntu中文
←
UbuntuHelp:EOLUpgrades/Hoary
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/EOLUpgrades/Hoary}} {{Languages|UbuntuHelp:EOLUpgrades/Hoary}} #title Upgrading Hoary to Breezy [[UbuntuHelp:EOLUpgrades| <<]] [[UbuntuHelp:EOLUpgrades/Warty| < Warty]] [[UbuntuHelp:EOLUpgrades/Breezy| Breezy >>]] == 5.04 to 5.10 (Hoary to Breezy) == === Before you start === Please make sure you've read and understood the [[UbuntuHelp:EOLUpgrades| main EOLUpgrade page]]. I would recommend using [http://www.clonezilla.org clonezilla] for backing up your current installation. It is very easy to backup and restore your partitions with clonezilla. It takes less then 30 minutes to backup/restore a 20Gb root filesystem which has 4-5 Gb used space. === The upgrade === * Make sure your sources.list is correct For the upgrade you only need this list, comment your original sources or remove them. <pre><nowiki> # Required deb http://old-releases.ubuntu.com/ubuntu/ hoary main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ hoary-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ hoary-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ hoary-backports main restricted universe multiverse #deb http://old-releases.ubuntu.com/ubuntu/ hoary-proposed main restricted universe multiverse </nowiki></pre> You can make use of -backports, -proposed repositories if you want. For more information about repositories see [[UbuntuHelp:Repositories/Ubuntu|Repositories/Ubuntu]]. * Update the package list and upgrade all installed packages <pre><nowiki> sudo aptitude update && sudo aptitude upgrade </nowiki></pre> If packages were held back you may want to run: <pre><nowiki> sudo aptitude dist-upgrade </nowiki></pre> * If you run a -desktop version of ubuntu, please reinstall this package: <pre><nowiki> sudo aptitude reinstall ubuntu-desktop # or kubuntu, xubuntu, edubuntu, etc </nowiki></pre> NOTE: It could be that you just upgraded your kernel, if this is the case, please reboot! * Change your repositories <pre><nowiki> $ sudo perl -p -i.504 -e 's/hoary/breezy/g' /etc/apt/sources.list </nowiki></pre> * Update the package list and perform a dist-upgrade <pre><nowiki> sudo aptitude update && sudo aptitude dist-upgrade </nowiki></pre> * Check your new version Reboot your machine and you can now run `lsb_release -a` to check the new version of Ubuntu. * Remove obsolete packages <pre><nowiki> sudo aptitude </nowiki></pre> Now you will enter aptitude in interactive mode, select Obsolete and locally installed packages menu and press '_', then press 'g'. It could be that you will get messages that aptitude wants to remove your current kernel, do NOT remove it, leave it, we can remove it later on. [[UbuntuHelp:EOLUpgrades| <<]] [[UbuntuHelp:EOLUpgrades/Warty| < Warty]] [[UbuntuHelp:EOLUpgrades/Breezy| Breezy >>]] ---- [[category:CategoryUpgrade]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:EOLUpgrades/Hoary
。