[arch-general] Could python2 be breaking genpkgmetadata.py?

David C. Rankin drankinatty at suddenlinkmail.com
Fri Nov 12 19:00:26 CET 2010


On 11/12/2010 11:44 AM, David C. Rankin wrote:
> 
> But on how many packages? Just the ones that are breaking or is there some set
> of base packages I should backup and the do a 'perl -p -i -e
> s/bin\/python/bin\/python2/' on?
> 

Err.. It doesn't seem to be that simple. After changed the executable line, now
the scripts don't find the modules:

Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 29, in <module>
    import createrepo
ImportError: No module named createrepo

Is there a way to teach the python2 scripts about the modules it used to know?


-- 
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


More information about the arch-general mailing list