Re: Script to diagnose "no module named yum"
David Timms <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
MikeW wrote: >>From much searching it looks as if it's a broken/inconsistent Python > installation, but Python itself does not appear to provide the means > to diagnose or fix this. (FWIW I think it should !) Would rpm -V python yum rpm give you the info you need to confirm that python, or indeed yum itself are "as packaged" ? > It's not sufficient (as many of the "answers" suggest) to reinstall > from source or from RPM - or from Synaptic. > This does not seem to fix whatever it is that is out of alignment, > since I have reinstalled Python, pygtk and yum from source > without any improvement. Is that from src.rpm or actual source ? So that could point at config that doesn't get updated with an compile/install. Perhaps python library/include path ? > I would be very grateful if the yum shell script would be able > to take a more proactive approach to finding out what it > needed and what was missing - maybe looking in both > /usr/lib and /usr/local/lib for example, or finding multiple > Python installations and behaving in a sensible way. Or perhaps you aren't using rpm to begin with ? David Timms.