Comment # 20 on bug 1222314 from Fabian Vogt
(In reply to Stefan Hundhammer from comment #18)
> So now we have a completely different scenario (one-click package
> installation instead of system installation), and it changed the component
> back to YaST.
> 
> Why? We still don't write that file.

YaST uses libzypp, in this particular case I guess it's missing some libzypp
call. If you think it's libzypp feel free to reassign.

> If there is a new problem in TW, and not in Leap 15.5, the conclusion is
> that there must be a difference between both. What is that difference?

I never checked on 15.5.

> The one-click installation just adds a new repo, installs one package, and
> then removes that newly added repo. Why would it read anything about the
> locales? I don't see it adding or removing any locale.

From the y2log I attached:

2024-04-10 10:33:48 <1> fvogt-thinkpad(27041) [zypp]
RequestedLocalesFile.cc(load):51 Read /var/lib/zypp/RequestedLocales{- 0644 0/0
size 70}
2024-04-10 10:33:48 <1> fvogt-thinkpad(27041) [zypp::media++]
MediaManager.cc(checkDesired):157 checkDesired(6): desired (cached)
...
2024-04-10 10:33:49 <1> fvogt-thinkpad(27041) [zypp-core]
PathInfo.cc(chmod):1099 chmod /var/lib/zypp/RequestedLocalessflFcy 00644
2024-04-10 10:33:49 <1> fvogt-thinkpad(27041) [zypp-core]
PathInfo.cc(rename):749 rename /var/lib/zypp/RequestedLocalessflFcy ->
/var/lib/zypp/RequestedLocales
2024-04-10 10:33:49 <1> fvogt-thinkpad(27041) [zypp]
RequestedLocalesFile.cc(store):67 Wrote /var/lib/zypp/RequestedLocales{- 0644
0/0 size 67}

i.e. it read a full RequestedLocales but wrote an empty one.

An earlier call to yast2 repositories read the file correctly and logged it:

2024-04-10 09:14:30 <1> fvogt-thinkpad(16593) [zypp]
RequestedLocalesFile.cc(load):51 Read /var/lib/zypp/RequestedLocales{- 0644 0/0
size 74}
2024-04-10 09:14:30 <1> fvogt-thinkpad(16593) [zypp::satpool]
PoolImpl.cc(localeSetDirty):280 initRequestedLocales
2024-04-10 09:14:30 <1> fvogt-thinkpad(16593) [zypp::satpool]
PoolImpl.cc(initRequestedLocales):492 Init RequestedLocales: set(1|+0|-0) ={
2024-04-10 09:14:30 <1> fvogt-thinkpad(16593) [zypp::satpool]
PoolImpl.cc(initRequestedLocales):492   de_DE
2024-04-10 09:14:30 <1> fvogt-thinkpad(16593) [zypp::satpool]
PoolImpl.cc(initRequestedLocales):492 }


You are receiving this mail because: