Which Repos/OS Version Actually Using?

Hello! I thought I was using Leap 15.3, but this has me stumped; Contents of zypper --releasever=15.3 lr -u command:


rob@linux-fnjf:~> !141
sudo zypper --releasever=15.3 lr -u
[sudo] password for root: 
Warning: Enforced setting: $releasever=15.3
Repository priorities in effect:                                                                                                                                                                             (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  4 repositories

#  | Alias                     | Name                               | Enabled | GPG Check | Refresh | URI
---+---------------------------+------------------------------------+---------+-----------+---------+-------------------------------------------------------------------------
 1 | libdvdcss                 | libdvdcss                          | No      | ----      | ----    | http://opensuse-guide.org/repo/openSUSE_Leap_15.2/
 2 | packman                   | packman                            | Yes     | (r ) Yes  | Yes     | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/
 3 | repo-debug                | Debug Repository                   | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.3/repo/oss/
 4 | repo-debug-non-oss        | Debug Repository (Non-OSS)         | No      | ----      | ----    | http://download.opensuse.org/debug/distribution/leap/15.3/repo/non-oss/
 5 | repo-debug-update         | Update Repository (Debug)          | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.3/oss/
 6 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No      | ----      | ----    | http://download.opensuse.org/debug/update/leap/15.3/non-oss/
 7 | repo-non-oss              | Non-OSS Repository                 | Yes     | (r ) Yes  | No      | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/
 8 | repo-oss                  | Main Repository                    | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.3/repo/oss/
 9 | repo-source               | Source Repository                  | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/
10 | repo-source-non-oss       | Source Repository (Non-OSS)        | No      | ----      | ----    | http://download.opensuse.org/source/distribution/leap/15.3/repo/non-oss/
11 | repo-update               | Main Update Repository             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.3/oss
12 | repo-update-non-oss       | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.3/non-oss/
rob@linux-fnjf:~> 

But YaST2 says different here:
file:///home/rob/YaST2_Repos_07July2021.png See all repos here are version 15.2
And command uname -a gives Linux linux-fnjf 5.3.18-lp152.78-preempt #1 SMP PREEMPT Tue Jun 1 14:53:21 UTC 2021
Which proper kernel for OS version 15.3 What gives? Zypper patch or zypper up gives updates (if present) so must active 15.3 correct?

Maybe take a look at this one: https://forums.opensuse.org/showthread.php/556406-repos-and-releaseverOh and there is an important, but not easy to find feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

An example is here: Using CODE tags Around your paste.

You are asking us to look at an image file on your computer. We cannot do that. You can try uploading the image to susepaste.org

It is not at all clear what problem you are seeing.

If you want to see what repos you are actually using you should issue the plain

zypper lr -u

not the abridged $releasever one.
And the current kernel for Leap 15.3 is kernel-default-5.3.18-59.10.1 so there is something wrong in your system apparently.

Users may want to check repo configuration for consistency. Make sure all occurrences of version numbers have been replaced by $releasever:

**Leap-15-3:~ #** grep -r baseurl /etc/zypp/repos.d/             
/etc/zypp/repos.d/openSUSE-Leap-15.3-1.repo:**baseurl**=http://download.opensuse.org/distribution/leap/$releasever/repo/oss/ 
/etc/zypp/repos.d/repo-non-oss.repo:**baseurl**=http://download.opensuse.org/distribution/leap/$releasever/repo/non-oss/ 
/etc/zypp/repos.d/repo-oss.repo:**baseurl**=http://download.opensuse.org/distribution/leap/$releasever/repo/oss/ 
/etc/zypp/repos.d/repo-backports-update.repo_1:**baseurl**=http://download.opensuse.org/update/leap/$releasever/backports/ 
/etc/zypp/repos.d/repo-update-non-oss.repo:**baseurl**=http://download.opensuse.org/update/leap/$releasever/non-oss/ 
/etc/zypp/repos.d/repo-update.repo:**baseurl**=http://download.opensuse.org/update/leap/$releasever/oss 
/etc/zypp/repos.d/repo-sle-update.repo_1:**baseurl**=http://download.opensuse.org/update/leap/$releasever/sle/ 
/etc/zypp/repos.d/repo-debug.repo:**baseurl**=http://download.opensuse.org/debug/distribution/leap/$releasever/repo/oss/ 
/etc/zypp/repos.d/repo-debug-update.repo:**baseurl**=http://download.opensuse.org/debug/update/leap/$releasever/oss/ 
/etc/zypp/repos.d/repo-debug-non-oss.repo:**baseurl**=http://download.opensuse.org/debug/distribution/leap/$releasever/repo/non-oss/ 
/etc/zypp/repos.d/repo-debug-update-non-oss.repo:**baseurl**=http://download.opensuse.org/debug/update/leap/$releasever/non-oss/ 
/etc/zypp/repos.d/repo-source.repo:**baseurl**=http://download.opensuse.org/source/distribution/leap/$releasever/repo/oss/ 
/etc/zypp/repos.d/repo-backports-debug-update.repo:**baseurl**=http://download.opensuse.org/update/leap/$releasever/backports_debug/ 
/etc/zypp/repos.d/repo-backports-update.repo:**baseurl**=http://download.opensuse.org/update/leap/$releasever/backports/ 
/etc/zypp/repos.d/repo-sle-debug-update.repo:**baseurl**=http://download.opensuse.org/debug/update/leap/$releasever/sle/ 
/etc/zypp/repos.d/repo-sle-update.repo:**baseurl**=http://download.opensuse.org/update/leap/$releasever/sle/ 
/etc/zypp/repos.d/mozilla.repo:**baseurl**=https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_$releasever/ 
/etc/zypp/repos.d/packman.repo:**baseurl**=http://ftp.fau.de/packman/suse/openSUSE_Leap_$releasever/ 
**Leap-15-3:~ #**

Check for default value:

**Leap-15-3:~ #** grep VERSION /etc/os-release  
**VERSION**="15.3" 
**VERSION**_ID="15.3" 
**Leap-15-3:~ #**
**Leap-15-3:~ #** zypper repos -uEP                          
#  | Alias                 | Name                                                         | Enabled | GPG Check | Refresh | Priority | URI 
---+-----------------------+--------------------------------------------------------------+---------+-----------+---------+----------+----------------------------------------------------------------------- 
 1 | mozilla               | mozilla                                                      | Yes     | (r ) Yes  | Yes     |   90     | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.3/ 
 3 | packman               | packman                                                      | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Leap_15.3/ 
 2 | openSUSE-Leap-15.3-1  | openSUSE-Leap-15.3-1                                         | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/distribution/leap/15.3/repo/oss/ 
 5 | repo-backports-update | Update repository of openSUSE Backports                      | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/15.3/backports/ 
10 | repo-non-oss          | Non-OSS Repository                                           | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/ 
13 | repo-sle-update       | Update repository with updates from SUSE Linux Enterprise 15 | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/15.3/sle/ 
15 | repo-update           | Hauptaktualisierungs-Repository                              | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/15.3/oss 
16 | repo-update-non-oss   | Aktualisierungs-Repository (Nicht-Open-Source-Software)      | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/15.3/non-oss/ 
**Leap-15-3:~ #** 

Override default by command line value:

**Leap-15-3:~ #** zypper --releasever Test-99.01  repos -uEP                               
Warning: Enforced setting: $releasever=Test-99.01 
#  | Alias                 | Name                                                         | Enabled | GPG Check | Refresh | Priority | URI 
---+-----------------------+--------------------------------------------------------------+---------+-----------+---------+----------+----------------------------------------------------------------------------- 
 1 | mozilla               | mozilla                                                      | Yes     | (r ) Yes  | Yes     |   90     | https://download.opensuse.org/repositories/mozilla/openSUSE_Leap_Test-99.01/ 
 3 | packman               | packman                                                      | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Leap_Test-99.01/ 
 2 | openSUSE-Leap-15.3-1  | openSUSE-Leap-15.3-1                                         | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/distribution/leap/Test-99.01/repo/oss/ 
 5 | repo-backports-update | Update repository of openSUSE Backports                      | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/Test-99.01/backports/ 
10 | repo-non-oss          | Non-OSS Repository                                           | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/distribution/leap/Test-99.01/repo/non-oss/ 
13 | repo-sle-update       | Update repository with updates from SUSE Linux Enterprise 15 | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/Test-99.01/sle/ 
15 | repo-update           | Hauptaktualisierungs-Repository                              | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/Test-99.01/oss 
16 | repo-update-non-oss   | Aktualisierungs-Repository (Nicht-Open-Source-Software)      | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/Test-99.01/non-oss/ 
**Leap-15-3:~ #**

Thanks all for the information and suggestions. I’m sure to get it sorted out with this. One thing I’m still not sure about.
I remember reading in these forums or on wiki that updates to 15.2 was stopped. Is this not true. A zypper patch
or zypper up still brings updates or patches on my system. In any event, thanks again.

Updates to Leap 15.2 should continue until it reaches end-of-life. I think that’s in December this year (2021).

See also here: https://en.opensuse.org/Lifetime