nothing provides /bin/python needed by mercurial-3.5-1.fc23.x86_64

Michael Mraka michael.mraka at redhat.com
Wed Aug 12 12:47:13 UTC 2015


Neal Becker wrote:
% I'm stuck on this (again).  According to advice here:
% 
% https://lists.fedoraproject.org/pipermail/devel/2015-June/211666.html
% 
% I just needed to use
% Requires: /usr/bin/python
% 
% But I tried changing 
% 
% Requires: python
% 
% to 
% 
% Requires: /usr/bin/python
% 
% and it doesn't work.  Somehow I still get:
% ...
% Requires: /bin/python /usr/bin/env libc.so.6()(64bit) libc.so.6(GLIBC_2.14)
% (64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) 
% libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) 
% libpthread.so.0(GLIBC_2.2.5)(64bit) libpython2.7.so.1.0()(64bit) python(abi) 
% = 2.7 rtld(GNU_HASH)
% 
% I don't know where this is coming from or how to fix it.

Hi Neal,

It looks like an autogenerated provide. I guess there's a script
starting with '#!/usr/bin/env python' and /bin is before /usr/bin in your PATH.
In this case either replacing '#!/usr/bin/env python' with '#!/usr/bin/python'
or fixing PATH should help.

Regards,

--
Michael Mráka
Software Management Engineering, Red Hat



More information about the devel mailing list