I would like to know if one can upgrade from openSUSI 12.2 to a newer version by changing the repos to that of the newer version. If so, can the upgrade be done in steps? My data plan won’t let me down load a dvd image or do a complete upgrade at once online.
Doing in steps will be difficult, and may leave your system in an inconsistent state.
My best advice – purchase the DVD (to avoid having to download it). There are DVD suppliers who advertise on “distrowatch.com”.
Then upgrade with the DVD.
Ouch you do know that a online upgrade will download as much if not more then the DVD. I suggest you purchase a DVD and do the upgrade from there. To do the online upgrade correctly you need to first upgrade to 12.3 then get all the patches then upgrade again to 13.1 and get all the patches. That is a lot of data. depending on you configuration I guess from2 to 8 gigs.
here is a link to one source of DVD
On 2014-09-22 19:36, DavidCroskey wrote:
>
> I would like to know if one can upgrade from openSUSI 12.2 to a newer
> version by changing the repos to that of the newer version. If so, can
> the upgrade be done in steps? My data plan won’t let me down load a dvd
> image or do a complete upgrade at once online.
“changing the repos” is what is called “online system upgrade method”,
and has to be done to the next version only. Multiple version jump is
not supported.
The procedure is, basically:
-
do a “zypper patch”, to get the latest official updates for
the currently running version. -
Edit the repository list, so that you only have active oss
and non-oss repos (disable the dvd). -
Run “zypper dup” in text mode (not in graphical mode).
Preferably, split it in a “download only” step, then
a real do it step. -
Reboot.
-
Add the update repos for oss and non-oss, then run “zypper patch”.
-
Verify system.
-
Repeat all the above to upgrade to the next version.
More details: Online
upgrade method
If your problem is that your data plan does not allow the big download
needed, notice that you can do a “zypper --download-only dup”, and break
it when you have to, without installing anything. Then continue the
following month, download what you can, and only when everything is
downloaded, then you do the actual run without “–download-only” to do
the actual install.
Also, as my instructions disable the update repos initially, the initial
download is reduced.
Alternatively, you can upgrade to 13.1 in a single step, by using the
big DVD - which you do not need to download complete the same day, not
even the same month. Be sure to use “aria2c” to do it, not any other. It
is one big DVD download, but not two full zypper dup and zypper patch,
one to 12.3 and another to 13.1…
Maybe you can download the DVD at a library or a friend.
More details: Offline
upgrade method
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
On 2014-09-22 19:56, nrickert wrote:
>
> Doing in steps will be difficult, and may leave your system in an
> inconsistent state.
You can do “–download-only” in steps. Only when the download is
complete, you go ahead with the real upgrade, till then you keep using
the old version.
On 2014-09-22 19:56, gogalthorp wrote:
> Ouch you do know that a online upgrade will download as much if not more
> then the DVD. I suggest you purchase a DVD and do the upgrade from
It varies… it depends on your actual package selection, which seldom
matches what you have installed. There are many packages in the DVD
which you do not use, but you downloaded, and many packages which are
not, yet you have installed, so that you have to download later.
And after upgrading with the DVD you have to run a “zypper dup” to
complete the rest. In the end, with the DVD you download more; the
advantage is that you do not do the download in a single, crucial, step,
and that you can do the DVD download on another machine or network, or
you can buy it…
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Yes, this is true.
My personal preference, back when I had severe data limitations, would still have been to purchase the DVD and upgrade off-line.
On 2014-09-22 21:16, nrickert wrote:
>
> robin_listas;2665831 Wrote:
>> You can do “–download-only” in steps. Only when the download is
>> complete, you go ahead with the real upgrade, till then you keep using
>> the old version.
>
> Yes, this is true.
>
> My personal preference, back when I had severe data limitations, would
> still have been to purchase the DVD and upgrade off-line.
Yes, I have done that for years. Now I have an ADSL and I can download
the DVD myself (takes two or three days, though), and I keep using the
offline upgrade method.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Thanks, everyone for your input, it was all helpful.
Will zypper --download-only work even if you did not enable package caching of the repos or if you did not disable delta rpm? Just curios how zypper will find the packages for the installation.
Right, looks like it has the packages stored in zypp, sorry for the noise :|.
On 2014-09-23 03:36, jetchisel wrote:
>
> Will zypper --download-only work even if you did not enable package
> caching of the repos or if you did not disable delta rpm? Just curios
> how zypper will find the packages for the installation.
Well, the documentation says it does, and I don’t remember people saying
it doesn’t. The packages should be deleted automatically after they are
installed.
Now, about deltas, that’s an interesting point (I’m unsure⁽¹⁾), but it
doesn’t apply in the case of a distribution upgrade (dup) because there
are no deltas when you change the repos.
However, in case of doubt, you can enable “keep downloaded packages”. I
do. It helps a lot with several machines in the house if you share the
folder across them
(1) Deltas would be an interesting case when using patch or up. Zypper
may decide on the “download only” run to make do with deltas. If on the
actual run, the application of deltas fail, it will have to download the
full package at that moment.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Don’t think for a minute that a dist upgrade will use less of your data than if you download the DVD
It’s likely to use way more…
On 2014-09-23 07:06, caf4926 wrote:
>
> Don’t think for a minute that a dist upgrade will use less of your data
> than if you download the DVD
> It’s likely to use way more…
Mmmm…
Let’s assume you have installed this list of packages:
a, b, c, h, i, o, p, q.
Let’s assume that the dvd contains:
a, b, c, d, e, f, g, h, i, j, k, l, m, n.
The online repos, contain, on the other hand:
a, b, c, …, z.
A zypper dup needs downloading the exact list:
a, b, c, h, i, o, p, q.
A dvd upgrade means that you first download the dvd:
a, b, c, d, e, f, g, h, i, j, k, l, m, n.
which is used to upgrade:
a, b, c, h, i, o, p, q.
and then you have to run a further zypper dup in order to upgrade:
o, p, q.
So that, using the dvd, you have to download:
a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q.
which is a bigger overall download than via “zypper dup” from the start:
a, b, c, h, i, o, p, q.
So yes, “zypper dup” is the method that uses a smaller overall download.
That’s not the only consideration, of course.
In practical terms:
The dvd contains, at least, a minimal kde, gnome, xfce, and perhaps some
others (I would have to look at it to make sure). It is possible that
you only use one of them, so a large percent of the dvd you do not use.
But you may also be using other components of kde, gnome, and/or xfce
that are not included in the dvd. Maybe you also install the complete
texlive, say. All that you have to download from the repos.
I have a slow Internet connection, and I use the dvd for installation
and upgrades, not zypper dup. Why? Well, my internet is slow, but
unlimited, not capped (when at home). So I can download the DVD over a
day or more. A “zypper dup” might similarly have to run for a day or
two, but during which time the computer would not be usable… And then,
I don’t have a single computer, so it means downloading that lot more
than once (unless I create a local mirror: oss-64 is about 6,791,349K
bytes, so it is a possibility. Noarch is 8 GB. It would take more than a
week to download all needed).
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)