Upgrade OpenSUSE 12.2 To 12.3

OpenSUSE
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Upgrade OpenSUSE 12.2 To 12.3

文章 yehlu »

http://www.howtoforge.com/how-to-upgrad ... and-server

3 Doing The Distribution Upgrade
Now that the latest updates are installed, disable all OpenSUSE 12.2 repositories...

代碼: 選擇全部

zypper modifyrepo --all --disable
... and enable the OpenSUSE 12.3 repositories:

代碼: 選擇全部

zypper addrepo --name "openSUSE-12.3 OSS" http://download.opensuse.org/distribution/12.3/repo/oss/ repo-12.3-oss
zypper addrepo --name "openSUSE-12.3 Non-OSS" http://download.opensuse.org/distribution/12.3/repo/non-oss/ repo-12.3-non-oss
zypper addrepo --name "openSUSE-12.3 Updates" http://download.opensuse.org/update/12.3/ repo-12.3-update
(If the zypper repos --uri command from chapter 2 displayed any third-party repositories, please check if these third-party repositories are available for OpenSUSE 12.3 as well; if they are, add them as follows:

zypper addrepo --name <name> <url> <alias>

For example, if you use the VirtualBox repository...

server1:~ # zypper repos --uri
# | Alias | Name | Enabled | Refresh | URI
--+-----------------+-----------------------------------+---------+---------+------------------------------------------------------------
...
7 | virtualbox | VirtualBox for openSUSE 11.4-12.2 | Yes | Yes | http://download.virtualbox.org/virtualb ... nsuse/11.4
server1:~ #

... enable the VirtualBox repository for OpenSUSE 12.3 as follows:

zypper addrepo --name "VirtualBox for openSUSE 12.3" http://download.virtualbox.org/virtualb ... nsuse/12.3 virtualbox-12.3

At the time of this writing, there was no VirtualBox repository for OpenSUSE 12.3, but this is just an example of how you'd do it.

Use values for Name and Alias that are not in use yet.)

Now run the full distribution upgrade:

代碼: 選擇全部

zypper ref

代碼: 選擇全部

zypper dup
At the end, reboot the system...

reboot

... and enjoy your new OpenSUSE 12.3 system.
回覆文章

回到「OpenSUSE」