Comment # 4 on bug 988190 from
(In reply to Peter Simons from comment #3)
> I just ran these commands on openSUSE 20160709 "Tumbleweed" x86_64:
> 
> # rm /sbin/lspci
> # zypper in --force pciutils
> Loading repository data...
> Reading installed packages...
> Forcing installation of 'pciutils-3.5.1-1.2.x86_64' from repository 'Main
> Repository (OSS)'.
> Resolving package dependencies...
> 
> The following package is going to be reinstalled:
>   pciutils
> 
> 1 package to reinstall.
> Overall download size: 69.8 KiB. Already cached: 0 B. No additional space
> will be used or freed after
> the operation.
> Continue? [y/n/? shows all options] (y): 
> Retrieving package pciutils-3.5.1-1.2.x86_64                       (1/1), 
> 69.8 KiB (132.0 KiB unpacked)
> Retrieving: pciutils-3.5.1-1.2.x86_64.rpm
> ........................................................[done]
> Checking for file conflicts:
> .....................................................................[done]
> (1/1) Installing: pciutils-3.5.1-1.2.x86_64
> ......................................................[done]
> # ls -l /sbin/lspci
> -rwxr-xr-x 1 root root 78096 Jun 15 16:12 /sbin/lspci
> 
> This suggests that
> https://build.opensuse.org/package/show/openSUSE:Factory/pciutils *does*
> include /sbin/lspci.

THANK YOU!! It was my mistake to not specify the full path to zypper when
looking for a provider of lspci command:

linux-pae6:~ # which lspci
which: no lspci in
(/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games)
linux-pae6:~ # zypper in pciutils
Retrieving repository 'openSUSE-20160703-0' metadata
..........................................................................................[done]
Building repository 'openSUSE-20160703-0' cache
...............................................................................................[done]
Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata
..................................................................................[done]
Building repository 'openSUSE-Tumbleweed-Non-Oss' cache
.......................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 3 NEW packages are going to be installed:
  libpci3 pciutils pciutils-ids

3 new packages to install.
Overall download size: 301.0 KiB. Already cached: 0 B. After the operation,
additional 1.2 MiB will be used.
Continue? [y/n/? shows all options] (y):
Retrieving package pciutils-ids-20160701-1.1.noarch                            
                               (1/3), 195.8 KiB (1011.7 KiB unpacked)
Retrieving: pciutils-ids-20160701-1.1.noarch.rpm
..............................................................................................[done]
Retrieving package libpci3-3.5.1-1.2.x86_64                                    
                                (2/3),  35.4 KiB ( 51.4 KiB unpacked)
Retrieving: libpci3-3.5.1-1.2.x86_64.rpm
......................................................................................................[done]
Retrieving package pciutils-3.5.1-1.2.x86_64                                   
                                (3/3),  69.8 KiB (132.0 KiB unpacked)
Retrieving: pciutils-3.5.1-1.2.x86_64.rpm
.......................................................................................[done
(542.1 KiB/s)]
Checking for file conflicts:
..................................................................................................................[done]
(1/3) Installing: pciutils-ids-20160701-1.1.noarch
............................................................................................[done]
(2/3) Installing: libpci3-3.5.1-1.2.x86_64
....................................................................................................[done]
(3/3) Installing: pciutils-3.5.1-1.2.x86_64
...................................................................................................[done]
linux-pae6:~ # which lspci
/sbin/lspci
linux-pae6:~ # zypper se --provides lspci
Loading repository data...
Reading installed packages...
No matching items found.
linux-pae6:~ # zypper se --provides /sbin/lspci
Loading repository data...
Reading installed packages...

S | Name     | Summary                            | Type
--+----------+------------------------------------+--------
i | pciutils | PCI utilities for the Linux Kernel | package
linux-pae6:~ #


You are receiving this mail because: