3 Doing The Distribution Upgrade
Now that the latest updates are installed, disable all OpenSUSE 12.2 repositories...
代碼: 選擇全部
zypper modifyrepo --all --disable
代碼: 選擇全部
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
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
reboot
... and enjoy your new OpenSUSE 12.3 system.