ClusterLabs / ClusterLabs/resource-agents

nothing provides /bin/ps needed by resource-agents-4.11.0

Open
#1,845 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
519
Forks
608
Avg merge
6d 1h
Merged PRs (30d)
7

Description

Hi,I make rpm of resource-agents from sourcecode,the version of resource-agents is 4.11.0,it succeed.

When I execute the following command
[root@192 Packages]# rpm -ivh resource-agents-4.11.0-1.a.ky10.loongarch64.rpm
Verifying... ################################# [100%]
准备中... ################################# [100%]
正在升级/安装...
1:resource-agents-4.11.0-1.a.ky10 ################################# [100%]
/usr/lib/tmpfiles.d/net-snmp.conf:1: Line references path below legacy directory /var/run/, updating /var/run/net-snmp → /run/net-snmp; please update the tmpfiles.d/ drop-in file accordingly.
/usr/lib/tmpfiles.d/slapd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/openldap → /run/openldap; please update the tmpfiles.d/ drop-in file accordingly.
/usr/lib/tmpfiles.d/spice-vdagentd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/spice-vdagentd → /run/spice-vdagentd; please update the tmpfiles.d/ drop-in file accordingly.
/usr/lib/tmpfiles.d/subscription-manager.conf:1: Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly.

when i make it into yum source,I execute the following command
[root@192 Packages]# yum install resource-agents
Last metadata expiration check: 0:56:58 ago on 2023年03月06日 星期一 15时21分44秒.
Error:
Problem: conflicting requests
- nothing provides /bin/ps needed by resource-agents-4.11.0-1.a.ky10.loongarch64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

my system already has ps.
[root@192 Packages]# ps --version
ps from procps-ng 3.3.16

Do you have any suggestions?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the generated resource-agents RPM dependency metadata and comparing its /bin/ps requirement with the installed procps-ng package. Confirm how the package declares that dependency and verify the fix by rebuilding it and checking that yum can resolve and install resource-agents.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.