Patching issues

I have two openSUSE 15.3 VMs that are apparently running the latest updates because Zypper update and zypper patch report the following:

Loading repository data…
Reading installed packages…
Resolving package dependencies…
Nothing to do.

However server1 is on kernel 5.3.18-150300.59.49-default and server2 is on kernel 5.3.18-59.37-default

It also appears that both servers also need other security updates because my Cybersecurity team reported to me that server2 needs a bunch of security patches. For instance, server1 is on busybox-static-1.34.1-4.9.1.x86_64 while server2 runs busybox-static-1.26.2-4.5.1.x86_64

When I try to patch the VMs using Yast I receive the following error:

Error
No update repository configured yet.

https://paste.pics/G8XYL

Which is odd because both servers are configured to use the following repos.

https://paste.pics/G8Y17

Any ideas of what I’m missing or doing wrong?

Hello and welcome to the openSUSE forums.

I managed to get to those pictures (and will try to look if I can finf something there), but for the future:
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.

I read your repo list again and again and compaired with mine. I do not see a problem.

There is one thing though that came to my mind: what makes a repo an update repo? I always thought it is something to be found on the place (URL) where the repo is and downloaded/inpsected when as the xml file. But now that YaST says there is none, I doubt.

Check what you have in “/etc/zypp/repos.d/”.

What you’re using -

zypper patch

or

zypper up

?

Your output does not show whether the auto-refresh flag is set on those repos.

Try:


zypper -f refresh
zypper update

Oops. That first command should be:

zypper refresh -f

zypper patch and zypper update yielded similar results

zypper patchLoading repository data...
Reading installed packages...
Resolving package dependencies...
Nothing to do.
zypper upLoading repository data...
Reading installed packages...
Nothing to do.
SIDHCP2:~ #

the contents of the “/etc/zypp/repos.d/” folder is as follows

ls -lh /etc/zypp/repos.d/total 56K
-rw-r--r-- 1 root root 200 Mar  1 14:33 openSUSE-Leap-15.3-1.repo
-rw-r--r-- 1 root root 244 Mar  1 14:33 repo-backports-debug-update.repo
-rw-r--r-- 1 root root 199 Mar  1 14:33 repo-backports-update.repo
-rw-r--r-- 1 root root 179 Mar  1 14:33 repo-debug-non-oss.repo
-rw-r--r-- 1 root root 183 Mar  1 14:33 repo-debug-update-non-oss.repo
-rw-r--r-- 1 root root 162 Mar  1 14:33 repo-debug-update.repo
-rw-r--r-- 1 root root 157 Mar  1 14:33 repo-debug.repo
-rw-r--r-- 1 root root 171 Mar  1 14:33 repo-non-oss.repo
-rw-r--r-- 1 root root 160 Mar  1 14:33 repo-oss.repo
-rw-r--r-- 1 root root 222 Mar  1 14:33 repo-sle-debug-update.repo
-rw-r--r-- 1 root root 208 Mar  1 14:33 repo-sle-update.repo
-rw-r--r-- 1 root root 160 Mar  1 14:33 repo-source.repo
-rw-r--r-- 1 root root 176 Mar  1 14:33 repo-update-non-oss.repo
-rw-r--r-- 1 root root 159 Mar  1 14:33 repo-update.repo



but “zypper refresh -f” seems to have done the trick for me. I’ll post an update later today.

Confirmed, “zypper refresh -f” solved the issue.

Thanks.