Description of problem: When the bodhi.spec file was updated for epel7 in commit 79547df691ab5624bb0ef9cf47799b944aa06434, it added: +%{__mkdir_p} %{buildroot}%{_bindir}/%{name} +%{__mkdir_p} %{buildroot}%{_mandir}/man1 %{__install} %{name}/tools/client.py %{buildroot}%{_bindir}/%{name} +%{__install} docs/bodhi.1 %{buildroot}%{_mandir}/man1/bodhi.1 Unfortunately, that means that client.py was installed into a directory called /usr/bin/bodhi/, rather than as a file called /usr/bin/bodhi. This means that on an installed EL7 system, the bodhi client is called /usr/bin/bodhi/client.py. The simple solution is to change that first line to: %{__mkdir_p} %{buildroot}%{_bindir} Version-Release number of selected component (if applicable): bodhi-client-0.9.8-3.el7.noarch How reproducible: Always Steps to Reproduce: 1. Install 'bodhi-client' on an RHEL7 system with EPEL7 enabled 2. Try to run 'bodhi' from the command line 3. Actual results: No executable found. You have to run /usr/bin/bodhi/client.py to get the correct behavior. Expected results: 'bodhi' to behave like every other platform. Additional info:
Bug reproduced with bodhi-client.noarch 0:0.9.8-3.el7 Steps to reproduce: 1. Run repoquery -ql bodhi-client Actual: /usr/bin/bodhi /usr/bin/bodhi/client.py /usr/share/man/man1/bodhi.1.gz /usr/bin/bodhi is a directory! Expected: /usr/bin/bodhi /usr/share/man/man1/bodhi.1.gz /usr/bin/bodhi should be an executable.
Would be nice to fix this before EPEL7 goes out of Beta soon.
Would be nice to fix this now that EPEL7 is out of beta, since this breaks "fedpkg update".
This is indeed a little confusing since fedpkg update does indeed just not work with the message /bin/sh: bodhi: command not found Could not generate update request: Command 'bodhi --new --release f21 --file bodhi.template ...' returned non-zero exit status 127
bodhi-0.9.8-4.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/bodhi-0.9.8-4.el7
Package bodhi-0.9.8-4.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing bodhi-0.9.8-4.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2571/bodhi-0.9.8-4.el7 then log in and leave karma (feedback).
bodhi-0.9.8-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
It has to be noted that the upgrade path is broken. Transaction check error: file /usr/bin/bodhi from install of bodhi-client-0.9.8-4.el7.noarch conflicts with file from package bodhi-client-0.9.8-3.el7.noarch
(In reply to M. Scherer from comment #8) > It has to be noted that the upgrade path is broken. > > Transaction check error: > file /usr/bin/bodhi from install of bodhi-client-0.9.8-4.el7.noarch > conflicts with file from package bodhi-client-0.9.8-3.el7.noarch +1, same here. I could of course uninstall the old version first, but then it would remove "fedpkg" too, for dependencies, and unfortunately that would delete the "/etc/rpkg/fedpkg.conf" file too.
Yeah... I think simplest workaround is to "sudo rpm -e bodhi-client --nodeps" before yum updating.