Re: Could python2 be breaking genpkgmetadata.py?

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



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux