Overview

Request 1064426 accepted

No description set

Stefan Seyfried's avatar

not sure if this is doing what's expected: seife@server:~> cat /etc/os-release NAME="openSUSE Leap" VERSION="15.4" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.4" PRETTY_NAME="openSUSE Leap 15.4" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.4" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap" LOGO="distributor-logo-Leap" seife@server:~> rpm --eval %{is_opensuse} %{is_opensuse}


Manfred Hollstein's avatar

Now this is really strange! I have a test rpm at

https://build.opensuse.org/package/show/home:manfred-h:mozilla/debug-build

which I wrote years ago to be able to find out actual values of some macros. The following code:

cat << EOF is_opensuse = "%{is_opensuse}" EOF

clearly shows

is_opensuse = "1" for Leap 15.4

https://build.opensuse.org/package/live_build_log/home:manfred-h:mozilla/debug-build/openSUSE_Leap_15.4/x86_64

Isn't it supposed to be like that? I mean, we use a similar test in lots of other packages to distinguish between Leap, Tumbleweed and SLE.


Maurizio Galli's avatar

To me it does what is expected. I check here: See Recommended section for both:

https://build.opensuse.org/package/binary/X11:xfce/patterns-xfce/15.4/x86_64/patterns-xfce-xfce-20230212-lp154.45.1.x86_64.rpm

vs

https://build.opensuse.org/package/binary/X11:xfce/patterns-xfce/openSUSE_Tumbleweed/x86_64/patterns-xfce-xfce-20230212-45.1.x86_64.rpm


Stefan Seyfried's avatar

If it works as intended, that's of course fine with me ;-) I was just double-checking after the previous tries with version mismatches.


Maurizio Galli's avatar

No worries :). It indeed took a few trials to get it right


Fabian Vogt's avatar

It might be set in OBS prjconf only and not rpm-config-SUSE.


Dominique Leuenberger's avatar

Results in an openQA test issue that needs to be addressed: https://progress.opensuse.org/issues/124364

(gpk-update-viewer has been removed from a default xfce install with this SR; so openQA should not use it anymore)

I'm not sure why exactly you opted to go that route - were there recent issues reported? pk zypp backend has had special code for TW for a couple years by now to transparently switch to dup internal. So in most cases there should be little to no issues (of course we still recommend to only use zypper)


Maurizio Galli's avatar

There was no issue reported, but it seemed misleading to keep a default for Tumbleweed that we do not recommend. We could of course keep it around to keep openQA happy but how reliable is it for a Tumbleweed update?


Dominique Leuenberger's avatar

well, let's say i've been brave enough to use offline updates quite a bit lately and it never failed me :) and that's all PK based (as said, PK/zypp does an auto-fallback to dup mode on TW - in most cases this should catch the weirdness and do the right thing)


Dominique Leuenberger's avatar

of course we can also adjust openQA to use zypper in the xfce case - just needs to be done


Maurizio Galli's avatar

offline update does not work with Xfce... we would need to patch xfce4-session and I am not sure how exactly to make it work. But in theory I would much prefer that way of updating over the updating live via PK.

We could retract the update until I write a openQA test first to use zypper, I would just need some time to do it



Dominique Leuenberger's avatar

i.e. just take xfce out of the list of guiupdate applicable - then openQA falls back to zypper


Maurizio Galli's avatar

Thanks! :D


Maurizio Galli's avatar

Just to buy some time I have restored gnome-packagekit so that openQA does not fail the test. Will find a better solution later, perhaps by implementing offline updates. https://build.opensuse.org/request/show/1065455

Request History
Manfred Hollstein's avatar

manfred-h created request


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:1 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:1"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:1"


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:1 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:1 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:1 got accepted.

openSUSE Build Service is sponsored by