LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How to upgrade OpenSUSE? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-to-upgrade-opensuse-4175644338/)

hack3rcon 12-15-2018 06:31 AM

How to upgrade OpenSUSE?
 
Hello.
I installed OpenSUSE 42.1 x86_64 and according to the https://en.opensuse.org/SDB:System_upgrade I did:
Code:

# zypper addrepo --check --refresh --name 'openSUSE-Leap-42.3-Update' http://download.opensuse.org/update/leap/42.3/oss/ repo-update
# zypper refresh
# zypper update

Then reboot my system and "hostnamectl" tell me:
Code:

> hostnamectl
  Static hostname: Suse
Transient hostname: Suse
  Operating System: openSUSE Leap 42.3
      CPE OS Name: cpe:/o:opensuse:leap:42.3
            Kernel: Linux 4.4.165-81-default
      Architecture: x86-64

But when I want to install some application then "zypper" tell me:
Code:

Warning: Repository 'openSUSE-Leap-42.1-Update-Non-Oss' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...

I guess some parts of my system not upgraded!!!
Any idea?

Thank you.

dc.901 12-15-2018 07:22 AM

Perhaps missing some clean up after the upgrade?

You can run:

Code:

zypper lr
Above will list repositories

Then:
zypper rr <to remove 42.1 repository>


Here is a good reference that I keep handy:
https://en.opensuse.org/images/1/17/...at-sheet-1.pdf

ehartman 12-15-2018 01:54 PM

Quote:

Originally Posted by hack3rcon (Post 5937418)
# zypper addrepo --check --refresh --name 'openSUSE-Leap-42.3-Update' http://download.opensuse.org/update/leap/42.3/oss/

I think that you're missing at least the non-oss (non Open Source Software) repo.
Try:
Code:

# zypper addrepo --check --refresh --name 'openSUSE-Leap-42.3-non-oss' http://download.opensuse.org/update/leap/42.3/non-oss/
(the path may be a bit different, it's been a long time I did openSUSE).

And anyway, might it not be smart to upgrade straightaway to openSUSE 15 ??

petelq 12-15-2018 03:48 PM

You're also missing all the other opensuse 42.3 repos, if you only added the update repo.
Opensuse 42.3 is not a rolling release. The update repo only updates the oss repo so in your list of repos , all the repos pointing to 42.1 should be changed to 42.3.

You should also be aware that 42.3 reaches end of support soon (January, I think). You may want to 'leap' straight to 15, which, believe it or not, is newer than 42.3!

hack3rcon 12-16-2018 01:00 AM

Thank you.
I changed all "42.1" in "/etc/zypp/repos.d/" and did "refresh" and "update".

Sauerland 12-16-2018 01:22 AM

https://en.opensuse.org/SDB:System_upgrade

ehartman 12-16-2018 10:47 AM

Quote:

Originally Posted by petelq (Post 5937591)
You should also be aware that 42.3 reaches end of support soon (January, I think). You may want to 'leap' straight to 15, which, believe it or not, is newer than 42.3!

The way it turned out you should be reading 42.x as to be 14.x as the sequence was:
Code:

13.2 - 42.1 - 42.2 - 42.3 - 15.0
BTW: the expiration date for 42.3 is 2019-06-30, so it has a little more then 6 months to go.

petelq 12-16-2018 11:22 AM

Quote:

Originally Posted by ehartman (Post 5937809)
BTW: the expiration date for 42.3 is 2019-06-30, so it has a little more then 6 months to go.

You're right thanks. I'd forgotten that they'd extended it. I haven't had 42.3 for some time now.

hack3rcon 12-16-2018 02:11 PM

Quote:

Originally Posted by ehartman (Post 5937809)
The way it turned out you should be reading 42.x as to be 14.x as the sequence was:
Code:

13.2 - 42.1 - 42.2 - 42.3 - 15.0
BTW: the expiration date for 42.3 is 2019-06-30, so it has a little more then 6 months to go.

After 6 months, no update available?

petelq 12-16-2018 03:42 PM

Quote:

Originally Posted by hack3rcon (Post 5937870)
After 6 months, no update available?

It depends. Some of the community repos can pick up and continue but it can't be guaranteed. As far as opensuse is concerned, it means no further support.

ehartman 12-17-2018 06:28 AM

Quote:

Originally Posted by petelq (Post 5937910)
It depends. Some of the community repos can pick up and continue but it can't be guaranteed. As far as opensuse is concerned, it means no further support.

In general "minor" (that is .<something>) releases have a lifetime of support of 18 months (only). From the openSUSE website:
Code:

Each Leap Major Release (42, 15, etc.) is expected to be maintained for at least 36 months, until the next major version of Leap is available.

A Leap Minor Release (42.1, 42.2, etc.) is expected to be released annually. Users are expected to upgrade to the latest minor release within 6 months of its availability, leading to a maintenance life cycle of 18 months.

Note: within a major version you are expected to follow up on the minor releases, so i.e. major release 42 is only supported as minor release 42.3 by now and "major" 15 currently is identical to "minor" 15.0, which will be supported until nov 2019 (but 15.1 will have been released before that).

And the community effort Evergreen has been discontinued due to a lack of manpower (maintainers), the last Evergreen release was the continuation of 13.1 so end of support by openSUSE nowadays means end of support PERIOD!


All times are GMT -5. The time now is 02:42 PM.