[Bug 1201988] New: zypper --requires-pkg shows wrong package
http://bugzilla.opensuse.org/show_bug.cgi?id=1201988 Bug ID: 1201988 Summary: zypper --requires-pkg shows wrong package Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@suse.de Reporter: arvidjaar@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- On Leap 15.4 with current patches (as of 2022-07-29): bor@10:~> zypper se --requires-pkg -x libicu69 Loading repository data... Reading installed packages... S | Name | Summary | Type ---+-------------------------+-----------------------------------------+-------- | chromedriver | WebDriver for Google Chrome/Chromium | package i+ | chromium | Google's open source browser project | package | icu.691 | International Components for Unicode | package | icu.691-devel | Development files for the ICU library | package | libmozjs-78-0 | JavaScript's library | package | libQt6WebEngineCore6 | Qt6 WebEngineCore library | package | mozjs78 | SpiderMonkey JavaScript library | package | nodejs16 | Evented I/O for V8 JavaScript | package | qt6-webenginecore-devel | Development files for the Qt 6 WebEng-> | package bor@10:~> rpm -q libicu69 package libicu69 is not installed bor@10:~> There is no way chromium can require libicu69 which is not even installed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201988 http://bugzilla.opensuse.org/show_bug.cgi?id=1201988#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arvidjaar@gmail.com Flags| |needinfo?(arvidjaar@gmail.c | |om) --- Comment #1 from Michael Andres <ma@suse.com> --- That's hard to judge without a solver testcase, so we can see all dependencies. You can try `zypper se -v --requires-pkg -x libicu69` for more details. `--requires-pkg libicu69` looks for packages which require something libicu69 provides. This does not necessarily mean, that libicu69 is the only provider for this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201988 http://bugzilla.opensuse.org/show_bug.cgi?id=1201988#c2 Andrei Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(arvidjaar@gmail.c | |om) | --- Comment #2 from Andrei Borzenkov <arvidjaar@gmail.com> --- (In reply to Michael Andres from comment #1)
You can try `zypper se -v --requires-pkg -x libicu69` for more details.
Indeed.
`--requires-pkg libicu69` looks for packages which require something libicu69 provides. This does not necessarily mean, that libicu69 is the only provider for this.
Yes, I checked it. Anyway v | chromium | package | 102.0.5005.115-bp154.2.8.1 | x86_64 | Update repository of openSUSE Backports requires: libicui18n.so.69()(64bit) requires: libicuuc.so.69()(64bit) v | chromium | package | 101.0.4951.64-bp154.1.2 | x86_64 | Main Repository requires: libicui18n.so.69()(64bit) requires: libicuuc.so.69()(64bit) v | chromium | package | 102.0.5005.61-bp154.2.5.3 | x86_64 | Update repository of openSUSE Backports requires: libicui18n.so.69()(64bit) requires: libicuuc.so.69()(64bit) bor@10:~> zypper se -isx chromium Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+----------+---------+-----------------------------+--------+---------------------------------------- i+ | chromium | package | 103.0.5060.114-bp154.2.14.1 | x86_64 | Update repository of openSUSE Backports bor@10:~> So this is mostly presentation issue. While some available versions of chromium do require this package, the *installed* version of chromium does not. While output of "zypper se --requires-pkg" makes impression that this requirement is in installed version. Unfortunately zypper offers no way show properties of previous versions. "zypper info" only shows information about the latest available version. bor@10:~> zypper info chromium=102.0.5005.61-bp154.2.5.3 Loading repository data... Reading installed packages... package 'chromium=102.0.5005.61-bp154.2.5.3' not found. bor@10:~> Which makes it basically impossible to troubleshoot such issues. Anyway thank you for the hint. So the zypper output is not exactly wrong even if it is confusing. Improving it would still be helpful (and supporting exact version in "zypper info" is something I miss for a long time). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201988 http://bugzilla.opensuse.org/show_bug.cgi?id=1201988#c3 --- Comment #3 from Michael Andres <ma@suse.com> --- (In reply to Andrei Borzenkov from comment #2)
So this is mostly presentation issue. While some available versions of chromium do require this package, the *installed* version of chromium does not. While output of "zypper se --requires-pkg" makes impression that this requirement is in installed version.
But this is always the difference between 'se' and 'se -s'. `zypper se --requires-pkg -x libicu69` tells you that some chromium package matches. `zypper se -s --requires-pkg -x libicu69` tells you exactly which versions match. And '-v', which implies '-s', tells the metches.
Unfortunately zypper offers no way show properties of previous versions. "zypper info" only shows information about the latest available version.
This is indeed true, but something we could fix. If the issue is solved for you so far, I'd rephrase the summary and keep it open as an enhancement request. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201988 http://bugzilla.opensuse.org/show_bug.cgi?id=1201988#c4 --- Comment #4 from Andrei Borzenkov <arvidjaar@gmail.com> --- (In reply to Michael Andres from comment #3)
`zypper se -s --requires-pkg -x libicu69` tells you exactly which versions match.
Right. Thank you.
Unfortunately zypper offers no way show properties of previous versions. "zypper info" only shows information about the latest available version.
This is indeed true, but something we could fix. If the issue is solved for you so far, I'd rephrase the summary and keep it open as an enhancement request.
Sure, go ahead. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201988 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED Summary|zypper --requires-pkg shows |Enable `zypper info` for |wrong package |individual versions of a | |package Severity|Normal |Enhancement -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com