“UbuntuHelp:FeistyUpgradesFreshInstall”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
(未显示同一用户的3个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/FeistyUpgradesFreshInstall}} | {{From|https://help.ubuntu.com/community/FeistyUpgradesFreshInstall}} | ||
{{Languages|UbuntuHelp:FeistyUpgradesFreshInstall}} | {{Languages|UbuntuHelp:FeistyUpgradesFreshInstall}} | ||
+ | <<Include(Tag/Unsupported)>> | ||
+ | <<Include(Tag/Deletion)>> | ||
=== Upgrade To a Fresh Feisty Install === | === Upgrade To a Fresh Feisty Install === | ||
'''Please note - This method is intended for those wishing to perform a fresh install of Feisty but maintain their user data and installed applications.''' | '''Please note - This method is intended for those wishing to perform a fresh install of Feisty but maintain their user data and installed applications.''' | ||
− | + | <ol><li>You may wish to make a back up of your current installation. One option is with '''partimage'''.</li></ol> | |
+ | |||
[http://www.psychocats.net/ubuntu/partimage Psychocats ~ Using PartImage in Ubuntu] | [http://www.psychocats.net/ubuntu/partimage Psychocats ~ Using PartImage in Ubuntu] | ||
− | + | <ol><li>You can preserve you user data and personal settings if you use a '''separate home partition'''. If you do not currently do not have a separate home partition you can easily create one.</li></ol> | |
+ | |||
[http://www.psychocats.net/ubuntu/separatehome Psychocats ~ Create a separate /home partition in Ubuntu] | [http://www.psychocats.net/ubuntu/separatehome Psychocats ~ Create a separate /home partition in Ubuntu] | ||
− | + | <ol><li>Create a lists of your currently installed packages.</li></ol> | |
+ | |||
<pre><nowiki> | <pre><nowiki> | ||
dpkg --get-selections | grep -v deinstall > ubuntu-packages | dpkg --get-selections | grep -v deinstall > ubuntu-packages | ||
</nowiki></pre> | </nowiki></pre> | ||
Note: That is two - - in front of "get-selections" with no space. | Note: That is two - - in front of "get-selections" with no space. | ||
− | + | <ol><li>Save this file '''ubuntu-packages''' on an external media (usb/floppy/cd). | |
− | + | </li><li>Download and install Feisty. If you have a separate /home partition, mount it at /home '''DO NOT FORMAT IT'''. | |
− | + | </li><li>Copy '''ubuntu-packages''' from your external media back to your home directory. | |
− | + | </li><li>Restore your packages. First enable your repositories. Then, in a terminal,</li></ol> | |
+ | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo aptitude update | sudo aptitude update |
2009年5月12日 (二) 16:44的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
<<Include(Tag/Unsupported)>> <<Include(Tag/Deletion)>>
Upgrade To a Fresh Feisty Install
Please note - This method is intended for those wishing to perform a fresh install of Feisty but maintain their user data and installed applications.
- You may wish to make a back up of your current installation. One option is with partimage.
Psychocats ~ Using PartImage in Ubuntu
- You can preserve you user data and personal settings if you use a separate home partition. If you do not currently do not have a separate home partition you can easily create one.
Psychocats ~ Create a separate /home partition in Ubuntu
- Create a lists of your currently installed packages.
dpkg --get-selections | grep -v deinstall > ubuntu-packages
Note: That is two - - in front of "get-selections" with no space.
- Save this file ubuntu-packages on an external media (usb/floppy/cd).
- Download and install Feisty. If you have a separate /home partition, mount it at /home DO NOT FORMAT IT.
- Copy ubuntu-packages from your external media back to your home directory.
- Restore your packages. First enable your repositories. Then, in a terminal,
sudo aptitude update sudo dpkg --set-selections < ubuntu-packages sudo dselect
Note: That is two - - in front of "set-selections" with no space. viola