Upgrading 10.3 to 11.0 (Factory)

28 03 2008

I’ve started testing 10.3 to 11.0 upgrades to make sure that the Desktop doesn’t break etc.

For my first go, I used a backported version of zypper, since it handles dup (Distribution Upgrade).

In case it’s of interest to other people, here are the steps;

1. Install 10.3
2. Add oss, non-oss and update repos
* zypper sa http://download.opensuse.org/update/10.3/ updates
* zypper sa http://download.opensuse.org/distribution/10.3/repo/oss/ oss
* zypper sa http://download.opensuse.org/distribution/10.3/repo/non-oss/ non-oss
3. Run the following twice (First run will update a few packages which are required to properly apply the rest of the patches) then restart the computer
* zypper up
4. Add the libzypp/zypper backport repository
* zypper sa http://download.opensuse.org/repositories/zypp:/Backport/openSUSE_10.3/ zypp
5. Run the following (Note! This will ask you to remove some YaST packages etc from your install. Answer Yes)
* zypper up -t package
6. Remove all repositories (Repeat the command until zypper tells you there are no repository to remove)
* zypper sd 1
7. Add the Factory repositories
* zypper sa http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ oss
* zypper sa http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/ non-oss
8. Run the following command;
* zypper dup

During Step 8, I got two errors. First one was that it couldn’t find yast2-trans-en_US on the media (the version I had was older than the one it tried to install), so I simply removed the package with ‘rpm -e yast2-trans-en_US’ then run zypper dup again. I got the same error on opensuse-manual_en so removed it with rpm and restarted zypper dup.

Please be advised that the above procedure is not supported and should only be done on non-production installs.




10 responses

10 05 2008
Jonas Björk

# LANG=en_US zypper dup
Building repository 'oss' cache [done]
Error building the cache database:
repo2solv.sh "/var/cache/zypp/raw/oss" > "/var/cache/zypp/solv/oss/solv"
Bad dependency line: =Prq: #

Warning: Disabling repository 'oss' because of the above error.

Googled, but found nothing on this.

10 05 2008
Captain Magnus

That’s just a temporary problem. The “patterns” that was synced out to the mirrors had some problem. Should be solved with the next sync.

17 05 2008

Was trying this update…
at now got this problem:
zypper (or rpm properly) is not able to open new packages.
I think is because of new compression algorithm… Any idea on how to bypass this issue?

17 05 2008

found a solution.. thanks to Pascal Bleser!
if anyone else needs this… just upgrade first your rpm package…

28 05 2008

You can find the rpm file e.g. under http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/

You have to download and install it (rpm -U rpm-*) manually!

9 06 2008
OpenSUSE 10.3 > 11.0 - openSUSE Forums

[…] do the formatting for you. If you want to be a brave soul, you can follow the instructions here Upgrading 10.3 to 11.0 (Factory) Captain Magnus’ Weblog Still, the simplest method would be to back up your personal files (which is a good idea all the […]

22 06 2008

Excellent guide, thanks a lot. I’ve just upgraded my OpenSUSE 10.3 to 11.0, everything went fine, I just had to remove temporarily the packman repository which was conflicting for some reason. Plasma was crashing in KDE4 as soon as I was logged on, so I upgraded it via the unstable KDE4 repositories, and everything is working now.
Oh, and btw I had to install rpm first, but the link above is for the i586 version, whereas I’m in x86_64, so if anybody wants to download it, pay attention 🙂

22 07 2008
OpenSUSE 10.3 > 11.0 - Page 4 - openSUSE Forums

[…] do the formatting for you. If you want to be a brave soul, you can follow the instructions here Upgrading 10.3 to 11.0 (Factory) Captain Magnus Weblog Still, the simplest method would be to back up your personal files (which is a good idea all the […]

31 07 2008

While I appreciate your effort and your sharing, I am really disappointed in openSuse. This is a poor kludge that is both excessively fiddly and unreliable. I cannot trust openSuse to perform a remote distro upgrade, despite them now being at version 11.

Meanwhile, other distributions have had this problem reliably solved for years! Of course, there is the Debian method of apt-get which has worked well for a long time and has been recently popularized by Ubuntu. But, there is also yum in the Red Hat/Fedora/CentOS world that also works as reliably as yum. Using these systems, I can easily and reliably perform remote distribution upgrades without extra work or concern that the system will be rendered inoperable.

Suse use to be the best distro out there but, openSuse is withering on the vine and this is only one of the many reasons why.

17 08 2008

Nearly the tthru

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: