Bug 1223457 - zypper fails to search for modalias supplements.
Summary: zypper fails to search for modalias supplements.
Status: CONFIRMED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Current
Hardware: Other Other
: P4 - Low : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-28 14:14 UTC by Andrei Borzenkov
Modified: 2024-05-02 12:45 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Borzenkov 2024-04-28 14:14:37 UTC
> rpm -qp openSUSE-repos-MicroOS-NVIDIA-20240412.89bd714-2.1.x86_64.rpm --supplements 
modalias(pci:v000010DEd*sv*sd*bc03sc*i*)
> zypper info --supplements openSUSE-repos-MicroOS-NVIDIA
Repository                             : Time since last refresh
openSUSE-20221216-0 (20240426)         : 12 min 0 s 
openSUSE-Tumbleweed-Non-Oss (20240426) : 12 min 0 s 
openSUSE-Tumbleweed-Update             : 12 min 0 s 


    Note: Running with user privileges. From time to time run 'zypper refresh'
    as root to make sure the repository metadata are complete and up-to-date.

Loading repository data...
Reading installed packages...


Information for package openSUSE-repos-MicroOS-NVIDIA:
------------------------------------------------------
Repository     : openSUSE-20221216-0 (20240426)
Name           : openSUSE-repos-MicroOS-NVIDIA
Version        : 20240412.89bd714-2.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 284 B
Installed      : No
Status         : not installed
Source package : openSUSE-repos-MicroOS-20240412.89bd714-2.1.src
Upstream URL   : https://github.com/openSUSE/openSUSE-repos
Summary        : openSUSE NVIDIA repository definitions
Description    : 
    Definitions for NVIDIA repository management via zypp-services
Supplements    : namespace:modalias(pci:v000010DEd*sv*sd*bc03sc*i*)


But

> zypper search --supplements 'modalias(pci:v000010DEd*sv*sd*bc03sc*i*)'
Repository                             : Time since last refresh
openSUSE-20221216-0 (20240426)         : 12 min 43 s 
openSUSE-Tumbleweed-Non-Oss (20240426) : 12 min 43 s 
openSUSE-Tumbleweed-Update             : 12 min 43 s 


    Note: Running with user privileges. From time to time run 'zypper refresh'
    as root to make sure the repository metadata are complete and up-to-date.

Loading repository data...
Reading installed packages...
No matching items found.
bor@tw:/var/cache/zypp/packages/openSUSE-20221216-0/x86_64> zypper search --supplements 'namespace:modalias(pci:v000010DEd*sv*sd*bc03sc*i*)'
Repository                             : Time since last refresh
openSUSE-20221216-0 (20240426)         : 12 min 52 s 
openSUSE-Tumbleweed-Non-Oss (20240426) : 12 min 52 s 
openSUSE-Tumbleweed-Update             : 12 min 52 s 


    Note: Running with user privileges. From time to time run 'zypper refresh'
    as root to make sure the repository metadata are complete and up-to-date.

Loading repository data...
Reading installed packages...
No matching items found.
bor@tw:/var/cache/zypp/packages/openSUSE-20221216-0/x86_64> zypper search --supplements 'pci'
Repository                             : Time since last refresh
openSUSE-20221216-0 (20240426)         : 13 min 0 s 
openSUSE-Tumbleweed-Non-Oss (20240426) : 13 min 0 s 
openSUSE-Tumbleweed-Update             : 13 min 0 s 


    Note: Running with user privileges. From time to time run 'zypper refresh'
    as root to make sure the repository metadata are complete and up-to-date.

Loading repository data...
Reading installed packages...

S | Name                                 | Summary                     | Type
--+--------------------------------------+-----------------------------+--------
  | texlive-biblatex-opcit-booktitle-doc | Documentation for texlive-> | package
  | texlive-dpcircling-doc               | Documentation for texlive-> | package
  | texlive-opcit-doc                    | Documentation for texlive-> | package
bor@tw:/var/cache/zypp/packages/openSUSE-20221216-0/x86_64>
Comment 1 Michael Andres 2024-05-02 12:45:11 UTC
We probably need a different case for handling namespace dependencies.