On 10/03/2021 23.13, L A Walsh wrote:
On 3/8/21 4:00 PM, L A Walsh wrote:
Error building the cache: [Leap15.0_OSS|file:/home/cache/suse/distribution/leap/15.0/repo/oss] Valid metadata not found at specified URL
On 2021/03/09 04:19, Carlos E. R. wrote:
Did you have a look at the zypper logs first? They are very detailed.
Didn't know where those logs were nor that they were kept, but I figured the program probably made kernel calls, so that's why I hit strace first.
First thing I do with any program is search for possible log files under /var/log/somewhere. Or ask.
Second place to hit was using the 'verbose' option on zypper.
Problem was zypper didn't like that repomd.xml referenced files in 'repodata' for other languages that I didn't download. Soooo, instead I edited 'repomd.xml' and removed the files I didn't need. Now zypper only issues a warning about a checksum mismatch and asked me if I wanted to proceed -- I said yes, and it stores the exception.
Why do you things that complicated? :-o :-? Just download everything, if you must have a local repo, and edit nothing. Disk space is cheap. And surely you are not strained on bandwidth or an internet download cap. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)