Bug 1187249

Summary: Broken dependency in lsb
Product: [openSUSE] openSUSE Distribution Reporter: Dr. Martin P.J. Zinser <martin.p.j.zinser>
Component: BasesystemAssignee: Max Lin <mlin>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: coolo
Version: Leap 15.3   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dr. Martin P.J. Zinser 2021-06-12 10:34:23 UTC
Installation error for lsb.

Package from official repo

localhost:/etc/zypp/repos.d # zypper info lsb
Loading repository data...
Reading installed packages...


Information for package lsb:
----------------------------
Repository     : Main Repository
Name           : lsb
Version        : 4.0.fake-lp153.1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 110 B
Installed      : No
Status         : not installed
Source package : lsb-4.0.fake-lp153.1.1.src
Summary        : LSB Fake Package
Description    : 
    Necessary files and dependencies for the Linux Standard Base (LSB)
    Core.

Error while installing:
 localhost:/etc/zypp/repos.d # zypper in lsb
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides '/usr/bin/pidof' needed by the to be installed lsb-4.0.fake-lp153.1.1.x86_64
 Solution 1: do not install lsb-4.0.fake-lp153.1.1.x86_64
 Solution 2: break lsb-4.0.fake-lp153.1.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c):

pidof installed in different location:
localhost:/etc/zypp/repos.d # locate pidof
/bin/pidof
/sbin/pidof
...

File comes from
localhost:/etc/zypp/repos.d # rpm -q --whatprovides /bin/pidof
sysvinit-tools-2.99-1.1.x86_64
localhost:/etc/zypp/repos.d # rpm -q --whatprovides /sbin/pidof
sysvinit-tools-2.99-1.1.x86_64

Looks to me that either lsb looks in the wrong place of sysvinit-tools installs in the wrong place.
Comment 1 Stephan Kulow 2021-06-28 05:52:56 UTC
https://build.opensuse.org/request/show/892442 submitted the Factory version (where pidof was moved to %_bindir)

No idea how to correct this
Comment 2 Max Lin 2021-06-28 10:58:57 UTC
Martin fixed it via https://build.opensuse.org/request/show/897452

*** This bug has been marked as a duplicate of bug 1186855 ***