need rpm help (nothing provides /bin/python)

Petr Spacek pspacek at redhat.com
Tue Jun 23 11:52:55 UTC 2015


On 23.6.2015 13:21, Neal Becker wrote:
> I updated mercurial to mercurial-3.4.1-1 and did a fedpkg push.
> 
> Now I tried a local build, and tried to locally install, but I got:
>  sudo dnf install x86_64/*3.4.1*
> [sudo] password for nbecker: 
> Last metadata expiration check performed 0:22:21 ago on Tue Jun 23 06:57:18 
> 2015.
> Error: nothing provides /bin/python needed by mercurial-3.4.1-1.fc23.x86_64.
> nothing provides /bin/python needed by mercurial-3.4.1-1.fc23.x86_64
> 
> Anyone see how to fix this?

This happens if your local PATH variable contains /bin before /usr/bin. Try to
change the order and rebuild the package.

Apparently Koji does not have this problem, please do not ask me why :-)

Petr Spacek  @  Red Hat

> Also, can someone please confirm that I correctly took care of 
> obsoleting the mercurial-emacs{-el} as per:
> 
> https://fedoraproject.org/wiki/Packaging:Emacs


More information about the devel mailing list