Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ashore1992 opened this issue Mar 6, 2023 · 1 comment
Open

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

ashore1992 opened this issue Mar 6, 2023 · 1 comment

Comments

@ashore1992
Copy link

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?

@oalbrigt
Copy link
Contributor

oalbrigt commented Mar 6, 2023

You can update the path in the spec file if your distro doesnt have it in the expected path (it's probably in /usr/bin/). Or you can add --nodeps to ignore the error, as the agents doesnt seem to call it with full path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants