Bug 1213562 - YaST Online Update not seeing local repository
Summary: YaST Online Update not seeing local repository
Status: RESOLVED WORKSFORME
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Leap 15.5
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-22 13:55 UTC by S Dziegiel
Modified: 2023-07-23 11:15 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Shows repository locations (4.65 KB, text/plain)
2023-07-22 13:55 UTC, S Dziegiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S Dziegiel 2023-07-22 13:55:32 UTC
Created attachment 868375 [details]
Shows repository locations

Hello,

I have recently upgraded from Leap 15.4 to 15.5 and all went well.
As I run a few machines I download rpms/patches to one of the machines
and share the directory via NFS so that all the machines can do an
Online Update against the NFS directories.
This involves some editing of repository locations inside YaST (on all
machines) after the initial upgrade but it has worked from 15.0 all the
way up to 15.4. Sadly it is not working in 15.5.
Online Update in 15.5 does not show any packages. I may have missed
a step or the list of necessary repositories may have changed.
Anyway, I know I am at the point where I need some help.

Running this shows:

sudo zypper update --dry-run update
    Loading repository data...
    Reading installed packages... 
    'update' not found in package names. Trying capabilities.
    No provider of 'update' found.
    Resolving package dependencies...
    Nothing to do.

with "'update' not found in package names. Trying capabilities." in red

I am attaching the output of  zypper lr -u -P
which shows that I have created four local 'repositories'. It is
probably going to be a Doh! moment on my part.

Any help welcome. Please let me know if you need more information.

Thank you, Stanley
Comment 1 hui 2023-07-22 19:33:11 UTC
The error message should be self explanatory. With your command you try to update a non existing package called "update": 
sudo zypper update --dry-run update

So correct your command and do:
sudo zypper update --dry-run
Comment 2 S Dziegiel 2023-07-22 21:48:14 UTC
Thank you. That was my Doh! moment.

Can you explain why the GUI is not showing me the list of packages to update via

    YaST -> Online Update

It is empty which is why I wrote this report.
Comment 3 hui 2023-07-22 21:57:35 UTC
Did you try to set these local repos to auto refresh? It is disabled...
Comment 4 S Dziegiel 2023-07-23 08:13:49 UTC
Thank you. That was the cause of my problem. Mistyping the zypper command just added to my confusion.

Summary: "YaST Online Update not seeing local repository" is fixed. You must select:

[x] Automatically Refresh

as well as download all the rpms/patches to a local directory.
Comment 5 hui 2023-07-23 11:15:44 UTC
closing then...