Ladislav Slez���k changed bug 1205953
What Removed Added
Flags needinfo?(lslezak@suse.com)  

Comment # 11 on bug 1205953 from
(In reply to Carlos Robinson from comment #0)

> Problem is, several repos also changed names; example:
> 
> http://download.opensuse.org/repositories/Education/openSUSE_Leap_15.3/
> 
> became:
> 
> http://download.opensuse.org/repositories/Education/15.4/

That's a change on the OBS side. When you add the 15.3 repository into your OBS
project the default name is "openSUSE_Leap_15.3". That's also included in the
repository URL.

But if you add the 15.4 repository then the default name is "15.4". That's why
the URLs changed. :-/

> That's fine, but YaST did not warn it could not find the repository. It just
> went ahead trying to find a solution, dropping packages to the standard OSS
> repo, or did not upgrade the package at all.


2022-11-27 07:18:44 <1> install(4134) [Pkg] modules/ProductLicense.rb:1704 Pkg
Builtin called: SourceLoad
...
2022-11-27 07:18:48 <3> install(4134) [Pkg] Source_Load.cc(SourceLoadImpl):327
Error in SourceLoad:
[OBS_Emulators_Wine|http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_15.4/]
Valid metadata not found at specified URL
...
2022-11-27 07:18:54 <2> install(4134) [Pkg] Source_Load.cc(SourceLoadImpl):441
Ignoring packages from repository 'LocalRepo' (LocalRepo) - refresh has failed
2022-11-27 07:18:54 <2> install(4134) [Pkg] Source_Load.cc(SourceLoadImpl):441
Ignoring packages from repository 'OBS: Emulators: Wine' (OBS_Emulators_Wine) -
refresh has failed
2022-11-27 07:18:54 <2> install(4134) [Pkg] Source_Load.cc(SourceLoadImpl):441
Ignoring packages from repository 'OBS: security' (OBS_security) - refresh has
failed

It seems that this pkg-call does not report errors during repository refresh. I
think we should call the repository refresh call explicitly to get the errors
(Pkg.SourceRefreshNow()).


You are receiving this mail because: