<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ke4ktz.com/index.php?action=history&amp;feed=atom&amp;title=OpenSUSE_Upgrade</id>
	<title>OpenSUSE Upgrade - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ke4ktz.com/index.php?action=history&amp;feed=atom&amp;title=OpenSUSE_Upgrade"/>
	<link rel="alternate" type="text/html" href="https://wiki.ke4ktz.com/index.php?title=OpenSUSE_Upgrade&amp;action=history"/>
	<updated>2026-11-30T05:26:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.0</generator>
	<entry>
		<id>https://wiki.ke4ktz.com/index.php?title=OpenSUSE_Upgrade&amp;diff=4&amp;oldid=prev</id>
		<title>Ke4ktz: Initial Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ke4ktz.com/index.php?title=OpenSUSE_Upgrade&amp;diff=4&amp;oldid=prev"/>
		<updated>2015-01-02T15:09:30Z</updated>

		<summary type="html">&lt;p&gt;Initial Page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; This example is for upgrading from 12.2 to 12.3.  Other level upgrades should follow the same process.&lt;br /&gt;
&lt;br /&gt;
== How To Upgrade OpenSUSE 12.2 To 12.3 (Desktop &amp;amp; Server) ==&lt;br /&gt;
&lt;br /&gt;
=== Preliminary Note ===&lt;br /&gt;
The upgrade can be done on the command line or via the YaST module Wagon (if you are on an OpenSUSE desktop). Since the Wagon method is less tested than the command line update, we will use the command line method  here for both servers and desktops.&lt;br /&gt;
=== Installing the Latest Updates ===&lt;br /&gt;
Before we do the distribution upgrade, we install the latest updates for OpenSUSE 12.2. Open a terminal/command line window and run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper repos --uri&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to check what repositories are used and enabled on the system. Make sure that the line that contains &amp;#039;&amp;#039;http://download.opensuse.org/update/12.2/&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;URI&amp;#039;&amp;#039; column reads &amp;#039;&amp;#039;Yes&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039; column (in this example the &amp;#039;&amp;#039;Alias&amp;#039;&amp;#039; is &amp;#039;&amp;#039;repo-update&amp;#039;&amp;#039; and the Name is &amp;#039;&amp;#039;openSUSE-12.2-Update&amp;#039;&amp;#039;, but these values can differ; the important column is the URI column): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server1:~ # zypper repos --uri&lt;br /&gt;
#  | Alias                     | Name                                                                   | Enabled | Refresh | URI&lt;br /&gt;
---+---------------------------+------------------------------------------------------------------------+---------+---------+--------------------------------------------------------------------------------&lt;br /&gt;
 1 | apache-third-party-12.2   | Third-party modules for the Apache HTTP server. (Apache_openSUSE_12.2) | Yes     | No      | http://download.opensuse.org/repositories/Apache:/Modules/Apache_openSUSE_12.2/&lt;br /&gt;
 2 | openSUSE-12.2-1.6         | openSUSE-12.2-1.6                                                      | Yes     | No      | cd:///?devices=/dev/disk/by-id/ata-VBOX_CD-ROM_VB2-01700376,/dev/sr0&lt;br /&gt;
 3 | repo-debug                | openSUSE-12.2-Debug                                                    | No      | Yes     | http://download.opensuse.org/debug/distribution/12.2/repo/oss/&lt;br /&gt;
 4 | repo-debug-update         | openSUSE-12.2-Update-Debug                                             | No      | Yes     | http://download.opensuse.org/debug/update/12.2/&lt;br /&gt;
 5 | repo-debug-update-non-oss | openSUSE-12.2-Update-Debug-Non-Oss                                     | No      | Yes     | http://download.opensuse.org/debug/update/12.2-non-oss/&lt;br /&gt;
 6 | repo-non-oss              | openSUSE-12.2-Non-Oss                                                  | Yes     | Yes     | http://download.opensuse.org/distribution/12.2/repo/non-oss/&lt;br /&gt;
 7 | repo-oss                  | openSUSE-12.2-Oss                                                      | Yes     | Yes     | http://download.opensuse.org/distribution/12.2/repo/oss/&lt;br /&gt;
 8 | repo-source               | openSUSE-12.2-Source                                                   | No      | Yes     | http://download.opensuse.org/source/distribution/12.2/repo/oss/&lt;br /&gt;
 9 | repo-update               | openSUSE-12.2-Update                                                   | Yes     | Yes     | http://download.opensuse.org/update/12.2/&lt;br /&gt;
10 | repo-update-non-oss       | openSUSE-12.2-Update-Non-Oss                                           | Yes     | Yes     | http://download.opensuse.org/update/12.2-non-oss/server1:~ #&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(If the line reads &amp;#039;&amp;#039;No&amp;#039;&amp;#039; in the &amp;#039;&amp;#039;Enabled&amp;#039;&amp;#039; column, enable the repository as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper modifyrepo --enable repo-update &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;repo-update&amp;#039;&amp;#039; refers to the &amp;#039;&amp;#039;Alias&amp;#039;&amp;#039; column; if the &amp;#039;&amp;#039;Alias&amp;#039;&amp;#039; column reads something like &amp;#039;&amp;#039;http-download.opensuse.org-82ba1b08&amp;#039;&amp;#039;, for example, the command would be&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper modifyrepo --enable http-download.opensuse.org-82ba1b08 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there&amp;#039;s no repository with the URI &amp;#039;&amp;#039;http://download.opensuse.org/update/12.2/&amp;#039;&amp;#039;, then add the repository as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper addrepo --check --name &amp;#039;openSUSE-12.2-Update&amp;#039; http://download.opensuse.org/update/12.2/ repo-update &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
)&lt;br /&gt;
Now install the latest upfates:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper refresh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Doing The Distribution Upgrade ===&lt;br /&gt;
 &lt;br /&gt;
Now that the latest updates are installed, disable all OpenSUSE 12.2 repositories...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper modifyrepo --all --disable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
... and enable the OpenSUSE 12.3 repositories:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper addrepo --name &amp;quot;openSUSE-12.3 OSS&amp;quot; http://download.opensuse.org/distribution/12.3/repo/oss/ repo-12.3-oss&lt;br /&gt;
zypper addrepo --name &amp;quot;openSUSE-12.3 Non-OSS&amp;quot; http://download.opensuse.org/distribution/12.3/repo/non-oss/ repo-12.3-non-oss&lt;br /&gt;
zypper addrepo --name &amp;quot;openSUSE-12.3 Updates&amp;quot; http://download.opensuse.org/update/12.3/ repo-12.3-update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If the &amp;#039;&amp;#039;zypper repos --uri&amp;#039;&amp;#039; 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:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper addrepo --name &amp;lt;name&amp;gt; &amp;lt;url&amp;gt; &amp;lt;alias&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, if you use the VirtualBox repository...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
server1:~ # zypper repos --uri&lt;br /&gt;
# | Alias           | Name                              | Enabled | Refresh | URI&lt;br /&gt;
--+-----------------+-----------------------------------+---------+---------+------------------------------------------------------------&lt;br /&gt;
...&lt;br /&gt;
7 | virtualbox      | VirtualBox for openSUSE 11.4-12.2 | Yes     | Yes     | http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4&lt;br /&gt;
server1:~ #&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
... enable the VirtualBox repository for OpenSUSE 12.3 as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper addrepo --name &amp;quot;VirtualBox for openSUSE 12.3&amp;quot; http://download.virtualbox.org/virtualbox/rpm/opensuse/12.3 virtualbox-12.3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At the time of this writing, there was no VirtualBox repository for OpenSUSE 12.3, but this is just an example of how you&amp;#039;d do it. &lt;br /&gt;
Use values for &amp;#039;&amp;#039;Name&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Alias&amp;#039;&amp;#039; that are not in use yet.)&lt;br /&gt;
Now run the full distribution upgrade:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper ref&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper dup&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
At the end, reboot the system...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How-To In-Place Upgrade From openSUSE 12.1 to 12.2 ==&lt;br /&gt;
Following along in my line of “Readers Digest” versions of the [//en.opensuse.org/SDB:System_upgrade official Opensuse upgrades procedures], (here are a couple of my past ones: [//yourlinuxguy.com/?p=169 11.1], [//yourlinuxguy.com/?p=333 11.2], [//yourlinuxguy.com/?p=812 11.4], [//yourlinuxguy.com/?p=948 12.1]) here’s the latest for upgrading in-place from 12.1 to 12.2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper modifyrepo --all --disable&lt;br /&gt;
zypper addrepo --name &amp;quot;openSUSE-12.2 OSS&amp;quot; http://download.opensuse.org/distribution/12.2/repo/oss/ repo-12.2-oss&lt;br /&gt;
zypper addrepo --name &amp;quot;openSUSE-12.2 Non-OSS&amp;quot; http://download.opensuse.org/distribution/12.2/repo/non-oss/ repo-12.2-non-oss&lt;br /&gt;
zypper addrepo --refresh --name &amp;quot;openSUSE-12.2 Updates&amp;quot; http://download.opensuse.org/update/12.2/ repo-12.2-update&lt;br /&gt;
zypper ref&lt;br /&gt;
zypper dup --download &amp;quot;in-advance&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
I like to use the &amp;#039;&amp;#039;“in-advance”&amp;#039;&amp;#039; setting so I can be sure all the packages are downloaded before the upgrade begins.  You just never know when there might be a power outage…&lt;br /&gt;
Of course, if you were using alternative repos, you might want to add  those back too.  For instance, if you had the google-chrome repo, you’d enter this command to re-enable it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper mr -e google-chrome&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
…you can find the rest of your disabled repos (from the first step above) with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper sl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Afterward, you might want to remove your disabled 12.1-based repos, since you no longer need them. So based on the list from the command above, you can remove them in one command.  Here’s the command I used to remove all my 12.1 repos on a machine that was upgraded in-place like this in the past:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper rr repo-12.1-non-oss repo-12.1-oss repo-12.1-update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
…and here’s the command I used on a machine that had OpenSUSE 12.1 installed fresh:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
zypper rr Updates-for-openSUSE-12.1-12.1-1.4 openSUSE-12.1-12.1-1.4 repo-debug repo-debug-update repo-non-oss repo-source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
…of course your repos may be different so make sure to check the list and remove only the old one that you don’t want.&lt;/div&gt;</summary>
		<author><name>Ke4ktz</name></author>
	</entry>
</feed>