Re: Something broke in genpkgmetadata.py?
"David C. Rankin" <[email protected]> Fri, 12 Nov 2010 11:33:24 -0600
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Organization | Rankin Law Firm, PLLC |
| Message-ID | <[email protected]> |
On 11/12/2010 02:49 AM, Anders F Björklund wrote: > 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) > Ah! Thank you Anders & Seth. I knew something broke, but not knowing python from a snake, all I knew was it changed. I also posted this with Arch so I'll see what the devs think is the cleanest way to handle this with the distro. I'll probably have to post a follow-up after I had a chance to thoroughly confuse myself. Thanks again for your help. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com