Bug 456342 - Zypper locks not respected when updating packages
Summary: Zypper locks not respected when updating packages
Status: CLOSED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.25.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-05 05:12 UTC by Ellis Kenyo
Modified: 2022-07-05 20:20 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ellis Kenyo 2022-07-05 05:12:46 UTC
SUMMARY
Not sure which component this falls under, so apologies if this is wrong but; as per the title really due to a recent regression with the NVIDIA driver, I can't update it.

So I added locks to the packages via yast (verified with zypper ll) in the hopes of being able to still use discover to manage my updates easily.

STEPS TO REPRODUCE
1.  Mark packages as protected in YaST that have updates
2.  Via either the plasma widget or the app, apply any update to a package
3.  The updates still apply

OBSERVED RESULT

No matter what I tried to upgrade, I was still being prompted to accept the NVIDIA licenses and the packages were still installed (thank god for snapper)

EXPECTED RESULT

The locks should have been respected and the updates should have continued without

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed 20220703
(available in About System)
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION

Applies to both the frontend and the plasma widget, so I assume the issue lies with one of the backends but I haven't used KDE since like KDE 4 so I'm not sure which it is
Comment 1 Nate Graham 2022-07-05 18:22:51 UTC
The Zypper PackageKit backend itself at fault here for not knowing about/respecting Zypper locks. Please report the issue downstream to the openSUSE folks at https://bugzilla.opensuse.org/enter_bug.cgi?classification=openSUSE as I believe that's where bugs on the Zypper PackageKit backend should be filed, if I'm recalling correctly. I'm also CCing some openSUSE folks just in case I'm mistaken.
Comment 2 Ellis Kenyo 2022-07-05 19:47:44 UTC
Thanks Nate! I wasn't sure exactly where I should report but I'll raise one over there