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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- 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
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux