On Wed, 2013-07-31 at 09:38 -0500, Richard Shaw wrote:

>         
>         # export PYTHONPATH=/mnt/sysimage/usr/share/yum-cli
>         # yum --installroot=/mnt/sysimage .....
> 
> 
> Interesting, I'll have to give that a try before submitting a bug.

Now that I'm thinking about this again, I think I may have had to add
another directory to the PYTHONPATH after this one to make it work. So
if you get another module that it can't find, use "find" to locate the
".py" file for that module, then add the appropriate directory to
PYTHONPATH and try again. I did get it to work, and I was able to patch
up a botched fedup upgrade that would have been a royal pain to
re-create from scratch (lots of extra packages and local
customizations).

--Greg



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to