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

Bohuslav Kabrda slavek at redhat.com
Wed Aug 12 12:48:18 UTC 2015


----- Original Message -----
> 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.

Have you checked hashbangs? RPM will automatically generate file-based requires for #!/bin/python, if such a hashbang is in any of the packaged files. I guess the proper way to fix this error would be to replace that with #!/usr/bin/python2.

-- 
Regards,
Slavek Kabrda


More information about the devel mailing list