Re: Something broke in genpkgmetadata.py?
Anders F Björklund <[email protected]> Fri, 12 Nov 2010 09:49:55 +0100
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
David C. Rankin wrote:
> Nothing with createrepo has changed, could this be a python/python2 bug? I have
> both the following installed:
>
> python 3.1.2-2
> python2 2.7-3
Arch Linux has moved their "python" binary, so you need to patch...
(all #!/usr/bin/python needs to be replaced with #!/usr/bin/python2)
We do similar things on Mac OS X and FreeBSD, where /usr/bin/python
is outdated or non-existant. (real one is in /opt/local or /usr/local)
--anders
PS. This broke a *lot* of python programs, not only yum...
See https://wiki.archlinux.org/index.php/Python#Python_2
Almost everyone else has Python 3000 as "python3" instead.
(and "python2" doesn't exist, only python2.6 and friends)