Cannot update xdm and Mesa 3D from Experimental repo - "nothing provides /usr/bin/pidof"

Hi.

I was trying to update Mesa 3D from this repo: https://build.opensuse.org/package/show/X11%3AXOrg/Mesa

with command


sudo zypper dup --from (# or name) --allow-vendor-change

Command tries to update xdm, but fails:


:~> LANG=C sudo zypper dup --from 8 --allow-vendor-change
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Problem: **nothing provides /usr/bin/pidof **needed by xdm-1.1.12-lp152.319.1.i586
 Solution 1: Following actions will be done:
  deinstallation of xdm-1.1.11-lp152.14.6.x86_64
  deinstallation of sddm-0.18.0-lp152.5.6.1.x86_64
  deinstallation of lightdm-1.24.1-lp152.3.10.x86_64
  deinstallation of gdm-3.34.1-lp152.6.9.1.x86_64
  deinstallation of sddm-branding-openSUSE-0.18.0-lp152.5.6.1.x86_64
  deinstallation of lightdm-gtk-greeter-2.0.5-lp152.4.7.x86_64
  deinstallation of lightdm-lang-1.24.1-lp152.3.10.noarch
  deinstallation of gdm-branding-openSUSE-42.3-lp152.5.3.noarch
  deinstallation of patterns-gnome-gnome_basis-20180321-lp152.7.3.x86_64
  deinstallation of pulseaudio-gdm-hooks-13.0-lp152.2.3.x86_64
  deinstallation of gdm-lang-3.34.1-lp152.6.9.1.noarch
  deinstallation of lightdm-gtk-greeter-branding-openSUSE-2.0-lp152.5.1.noarch
  deinstallation of lightdm-gtk-greeter-lang-2.0.5-lp152.4.7.noarch
  deinstallation of patterns-gnome-gnome_basic-20180321-lp152.7.3.x86_64
  deinstallation of patterns-gnome-gnome_imaging-20180321-lp152.7.3.x86_64
  deinstallation of patterns-gnome-gnome_office-20180321-lp152.7.3.x86_64
  deinstallation of patterns-gnome-gnome_utilities-20180321-lp152.7.3.x86_64
  deinstallation of patterns-gnome-gnome_x11-20180321-lp152.7.3.x86_64
  deinstallation of patterns-gnome-gnome-20180321-lp152.7.3.x86_64
 Solution 2: keep obsolete xdm-1.1.11-lp152.14.6.x86_64
 Solution 3: break xdm-1.1.12-lp152.319.1.i586 by ignoring some of its dependencies

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


So I need /usr/bin/pidof.
I get /bin/pidof and /sbin/pidof with package “sysvinit-tools”.

First I created symbol link, second I copied file /bin/pidof to /usr/bin, but this problem still exist.

Same problem was in Leap 15.1 in last months.

How to solve this problem?

This is not repo, this is package.

with command

sudo zypper dup --from (# or name) --allow-vendor-change

Command tries to update xdm, but fails:

First you show link to one package and then you say you failed to install completely different package. How should we know where this different package comes from?

Problem: **nothing provides /usr/bin/pidof **needed by xdm-1.1.12-lp152.319.1.i586

So I need /usr/bin/pidof.
I get /bin/pidof and /sbin/pidof with package “sysvinit-tools”.

First I created symbol link, second I copied file /bin/pidof to /usr/bin, but this problem still exist.

As I already told just recently in another similar thread - RPM dependency has nothing to do with actual file content.

How to solve this problem?

Contact maintainer of package that fails to install and tell him/her that package dependency must be fixed for Leap 15.2. Could be more than just adjusting Requires line if this path is hardcoded in some scripts.

You could try to ignore this dependency and see if anything breaks.

Or you could simply not “upgrade” xdm in the first place. I do not see any dependency on xdm in Mesa package you linked to.

Problem: nothing provides /usr/bin/pidof needed by xdm-1.1.12-lp152.319.1.i586

Question is:
Why does the dup want to install an i586 package in Leap?

Please post:

zypper lr -d
zypper se -s xdm

Here is why:


:~> LANG=C sudo zypper in xdm
Loading repository data...
Reading installed packages...
'xdm' is already installed.
There is an update candidate for 'xdm' from vendor 'obs://build.opensuse.org/X11', while the current vendor is 'openSUSE'. Use 'zypper install xdm-1.1.12-lp152.319.1.x86_64' to install this candidate.
Resolving package dependencies...

Nothing to do.

:~> LANG=C sudo zypper install xdm-1.1.12-lp152.319.1.x86_64
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides /usr/bin/pidof needed by xdm-1.1.12-lp152.319.1.x86_64
 Solution 1: do not install xdm-1.1.12-lp152.319.1.x86_64
 Solution 2: break xdm-1.1.12-lp152.319.1.x86_64 by ignoring some of its dependencies

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

:~> LANG=C zypper lr -d
#  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type     | URI                                                                              | Service
...
[FONT=monospace] [FONT=monospace] 8 | openSUSE_Leap_15.1_1      | X11XOrg                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.2/         | 
[/FONT][/FONT]...


:~> LANG=C zypper se -s xdm 
Loading repository data... 
Reading installed packages... 

S  | Name                 | Type       | Version            | Arch   | Repository 
---+----------------------+------------+--------------------+--------+----------------------- 
   | libXdmcp             | srcpackage | 1.1.3-lp152.24.3   | noarch | X11XOrg 
   | libXdmcp-devel       | package    | 1.1.3-lp152.24.3   | x86_64 | X11XOrg 
   | libXdmcp-devel       | package    | 1.1.2-lp152.3.4    | x86_64 | Main Repository 
   | libXdmcp-devel       | package    | 1.1.3-lp152.24.3   | i586   | X11XOrg 
   | libXdmcp-devel-32bit | package    | 1.1.3-lp152.24.3   | x86_64 | X11XOrg 
   | libXdmcp-devel-32bit | package    | 1.1.2-lp152.3.4    | x86_64 | Main Repository 
v  | libXdmcp6            | package    | 1.1.3-lp152.24.3   | x86_64 | X11XOrg 
i+ | libXdmcp6            | package    | 1.1.2-lp152.3.4    | x86_64 | Main Repository 
v  | libXdmcp6            | package    | 1.1.3-lp152.24.3   | i586   | X11XOrg 
   | libXdmcp6-32bit      | package    | 1.1.3-lp152.24.3   | x86_64 | X11XOrg 
   | libXdmcp6-32bit      | package    | 1.1.2-lp152.3.4    | x86_64 | Main Repository 
i  | remmina-plugin-xdmcp | package    | 1.4.2-lp152.2.3.1  | x86_64 | Main Update Repository 
v  | remmina-plugin-xdmcp | package    | 1.4.2-lp152.1.2    | x86_64 | Main Repository 
v  | xdm                  | package    | 1.1.12-lp152.319.1 | x86_64 | X11XOrg 
i+ | xdm                  | package    | 1.1.11-lp152.14.6  | x86_64 | Main Repository 
v  | xdm                  | package    | 1.1.12-lp152.319.1 | i586   | X11XOrg 
   | xdm                  | srcpackage | 1.1.12-lp152.319.1 | noarch | X11XOrg 
   | xdm-xsession         | package    | 1.1.12-lp152.319.1 | x86_64 | X11XOrg 
   | xdm-xsession         | package    | 1.1.11-lp152.14.6  | x86_64 | Main Repository 
   | xdm-xsession         | package    | 1.1.12-lp152.319.1 | i586   | X11XOrg 
i  | xdmbgrd              | package    | 0.6-lp152.3.5      | x86_64 | Main Repository 
   | xdmsc                | package    | 0.6-lp152.3.2      | noarch | Main Repository

I am trying to update Mesa 3D.
Previously (Leap 15.0, 15.1) I failed with simple “Single package Vendor change” - system was not loaded.
So I performed Mesa 3D update with “Full repository Vendor change” to X11:XOrg repo: Show X11:XOrg - openSUSE Build Service, and this went Ok.

You still did not explain why you need to “update” xdm in the first place.

:~> LANG=C zypper lr -d
#  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type     | URI                                                                              | Service
...
  8 | openSUSE_Leap_15.1_1      | X11XOrg                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.2/         | 

If you do not wantt to show it…

I think its a build error.
This is in Leap:

Requires:       /sbin/pidof

This is in Xorg:

Requires:       %{_bindir}/pidof

So bugreport?

Maybe a symlink will work?

As I wrote, previously system hangs during loading:

Symlink is not working - maybe wrong rights, IDK.
I created it as root.

I will create bug report.

I updated Mesa* + libdrm* + libv* + some other stuff (but not (x* + libx* + other X11 stuff)) and successfully loaded system.

Bugreport:
https://bugzilla.opensuse.org/show_bug.cgi?id=1179607

This bug was fixed.
I successfully performed Full repository Vendor change to repo https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.2/ .