Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Is it safe to skip version when upgrading OpenSuse?

  1. #1

    Default Is it safe to skip version when upgrading OpenSuse?

    The new 12.2 version of OpenSuse is about to be released and I'm still stuck with 11.4. Can I directly upgrade to 12.2 and skip 12.1? I only read that this isn't recommended when upgrading using zypper, but otherwise? Most probably I'm going to use a DVD.

  2. #2

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    i also wanna know that. do i only add the zypper source and then zypper up, is that enough ? i use opensuse 12.1

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    On 08/16/2012 07:06 PM, andrew86576 wrote:
    >
    > i also wanna know that. do i only add the zypper source and then zypper
    > up, is that enough ? i use opensuse 12.1
    >
    >

    I wouldn't jump over a version, like from 11.4 to 12.2, but I would be
    happy to go from 12.1 to 12.2.

    But that's a personal view based on experience -- there are plenty of
    folk who would jump a version.

    There's an easy way to test jumping a version: if you have, say, 11.4
    and want to go to 12.2, and you have separate home and root partitions,
    you can carefully copy all of the 11.4 root partition to a backup
    location, do the upgrade, and if it ends up being wonky, you can clean
    off the wonky root partition and restore the backup, no harm done.

    --
    Regards
    swerdna

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    On 08/16/2012 07:15 PM, swerdna wrote:
    > On 08/16/2012 07:06 PM, andrew86576 wrote:
    >>
    >> i also wanna know that. do i only add the zypper source and then zypper
    >> up, is that enough ? i use opensuse 12.1
    >>
    >>

    > I wouldn't jump over a version, like from 11.4 to 12.2, but I would be
    > happy to go from 12.1 to 12.2.
    >
    > But that's a personal view based on experience -- there are plenty of
    > folk who would jump a version.
    >
    > There's an easy way to test jumping a version: if you have, say, 11.4
    > and want to go to 12.2, and you have separate home and root partitions,
    > you can carefully copy all of the 11.4 root partition to a backup
    > location, do the upgrade, and if it ends up being wonky, you can clean
    > off the wonky root partition and restore the backup, no harm done.
    >

    FWIW this is worth a read, somewhat similar to the issue in this thread:
    http://tinyurl.com/66zly2r

    --
    Regards
    swerdna

  5. #5

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    Based on experience? So your experience is that it will most likely go bad? Well I probably won't risk it then and do the step in the middle.

    Thanks for the tip, however my point was basically to spare some time and copying 20GB root partition could be quite time consuming. Imho it would be faster to really install the middle version 12.1. I can do the update at once right? Just install 12.1, restart, install 12.2 and done. My experience is that each upgrade breaks something (that's why I skipped 12.1, I didn't have time for it) however if I did this "double" upgrade, I would have to fix things only once instead of twice.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,371

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    It depends a bit on what you mean with the generic term "upgrading". People might argue that when they do an fresh install of 12.1 in a 11.3 root partition (or same sort of skipping) and leave /home intact, that that is an upgrade. Some will argue that it is only an upgrade when you use the Upgrade option on the install DVD and/or when you switch your repos and do a zypper dup. All three (and maybe more) could be called an "upgrade" when looking from a bit of a distance to he system.

    But even when you do a fresh install over a new version, skipping one or two version, might go prefect for the system. But your end-users might get problems becaue of a possible big jump in their desktop (KDE, Gnome) version. E.g. going from KDE 3.5 to KDE 4.8 might bring you prbolems because the conversion of existing configuration files on first login might not be able to do correctly the work of all the intermediate steps.
    Henk van Velden

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    On 08/16/2012 08:36 PM, tobice wrote:
    >
    > Based on experience? So your experience is that it will most likely go
    > bad? Well I probably won't risk it then and do the step in the middle.
    >

    Not "most likely", just perhaps. Whatever, if u back up the root
    partition using "cp -auv" before you upgrade, you can so easily and
    quickly restore it if you get a crook result.
    > Thanks for the tip, however my point was basically to spare some time
    > and copying 20GB root partition could be quite time consuming.

    Use Knoppix, mount two partitions, start the copy from one to the other
    with "cp -auv" and take a time out (coffee?) for 10 minutes -- too easy.
    >...............snip.............Imho it
    > would be faster to really install the middle version 12.1. I can do the
    > update at once right? Just install 12.1, restart, install 12.2 and done.


    > My experience is that each upgrade breaks something (that's why I
    > skipped 12.1, I didn't have time for it) however if I did this "double"
    > upgrade, I would have to fix things only once instead of twice.
    >
    >

    Whatever you decide to do: you should defo make an image with "cp -auv"
    first, so you can revert if it does not work well.

    --
    Regards
    swerdna

  8. #8

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    But your end-users might get problems becaue of a possible big jump in their desktop...
    I'm aware of that and know that upgrading KDE can be painful and usually results in deleting old confings. However besides that I have plenty of other software installed and configured (Apache, other dev tools) and I guess it would all go away with fresh install. So I would rather perform a "classic" upgrade using DVD or zypper dup which would preserve my software.

    What I'm afraid of is that the problem you're describing for KDE, would affect OpenSUSE itself. I guess that the upgrade is more than just installing the latest versions of packages and some configuration work must be done... Apparently skipping a version isn't what users do on a daily basis, at least that's what I've understood from your comments, so I'd really rather go the "double upgrade" way.

    Use Knoppix, mount two partitions, start the copy from one to the other with "cp -auv" and take a time out (coffee?) for 10 minutes -- too easy.
    Well I'm pretty sure it wouldn't go that fast on my old laptop hard drive However your arguments sound reasonable so I'll do it anyway, I'll backup my root

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,371

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    What I normaly do (but you have to have the space for it and wanting to spend it for this), is having two equaly sized partitions usable for / and the same for /home (and of course one for Swap). I then can install a newer version on the "other" / partitions, copy the /home and boot into it to test all and everything without ever touching my productions partitions. Also I can then easily copy sytem configuration files (like the Apache ones) from the "old" / partition.

    In the end I will copy /home for the last time and go life (by changing the default boot entry). By leaving the "old" system on the partitions for some time, I have allways access to the old configuration files in e.g. /etc to check what it was.

    This behaviour is not for everybody to copy it straight, but it could give some ideas on how to handle these things.
    Henk van Velden

  10. #10

    Default Re: Is it safe to skip version when upgrading OpenSuse?

    Well I do backup my stuff. I use rsync to regularly backup my /home and /etc to an external hard drive. So in case something really went bad, during upgrade or anytime else, I wouldn't lose anything but time. And that's the point of this thread: I want to perform an upgrade with least possible time and effort but I also want to keep the risk at a reasonable level. Naturally, if I formatted my disk and did the install and all the configuration from the scratch, it would be the safest way, but that's what I'm trying to avoid.

    As I said before, the incremental upgrade 11.4 -> 12.1 -> 12.2 at once seems to me to be the optimal way. If something breaks in 12.1, I won't try to fix it, I'll first upgrade to 12.2 and then I'll see.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •