On 2021/02/23 01:46, Simon Lees wrote:
On 2/23/21 5:31 PM, L A Walsh wrote:
Simon Lees wrote:
http://download.opensuse.org/distribution/leap/15.0/repo/oss/x86_64/rpm-4.14...
---
Another FWIW, I working on my download script being workable with leap-15.0 ....
Well the supported way to update a system is `zypper dup` we will make sure that works there should rarely be a need for an openSUSE user to call rpm directly, especially when installing / removing / upgrading packages.
---- Well, having pulled down that repo and the files in oss/repodata (repomd.xml, primary.xml, et al) I pointed zypper's "add-repo" with the "--check" flag at the 'repo', but it seems to be missing something:
sudo zypper up Error building the cache: [Leap15.0_OSS|file:/home/cache/suse/distribution/leap/15.0/repo/oss] Valid metadata not found at specified URL Warning: Skipping repository 'Leap15.0_OSS' because of the above error. Error building the cache: [Leap15.0_oss_src|file:/home/cache/suse/source/distribution/leap/15.0/repo/oss/] Valid metadata not found at specified URL Warning: Skipping repository 'Leap15.0_oss_src' because of the above error. Loading repository data... Reading installed packages... Nothing to do.
====== I tried tracing zypper's actions, but don't see any attempt to open any files (or any failures associated with such): # strace -ff -e open zypper up |& more strace: Process 72710 attached [pid 72710] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=72710, si_uid=0, si_status=0, si_utime=1, si_stime=0} --- strace: Process 72711 attached strace: Process 72712 attached [pid 72712] +++ exited with 0 +++ [pid 72711] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=72712, si_uid=0, si_status=0, si_utime=56, si_stime=16} --- [pid 72711] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=72711, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- Error building the cache: [Leap15.0_OSS|file:/home/cache/suse/distribution/leap/15.0/repo/oss] Valid metadata not found at specified URL Warning: Skipping repository 'Leap15.0_OSS' because of the above error. Error building the cache: [Leap15.0_oss_src|file:/home/cache/suse/source/distribution/leap/15.0/repo/oss/] Valid metadata not found at specified URL Warning: Skipping repository 'Leap15.0_oss_src' because of the above error. Loading repository data... Reading installed packages... Nothing to do. +++ exited with 0 +++ ---- What files is zypper trying to find that are missing? It doesn't seem to be trying to open any files (!!?)...I'm not sure why strace isn't showing any open file attempts, though I admit to being a novice on using the "-e open" switch to limit filtering to open calls. Still any idea what files it might be wanting? It's not very specific... Thanks...