Re: Hosed yum

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

 



On Wed, 2005-02-02 at 23:02 -0800, Per Bjornsson wrote:
> On Thu, 2005-02-03 at 17:19 +1100, Rodd Clarkson wrote:
> ...
> > Now when I try to run yum i get:
> > 
> > [rodd@trevally packages]$ sudo yum update
> > Traceback (most recent call last):
> >   File "/usr/bin/yum", line 6, in ?
> >     import yummain
> >   File "/usr/share/yum-cli/yummain.py", line 23, in ?
> >     import yum
> >   File "__init__.py", line 21, in ?
> > ImportError: No module named rpm
> > [rodd@trevally packages]$
> 
> I recognize this. I ran into it a little while back when trying to
> upgrade a box that had too little disk space to do it all at once. Turns
> out that somewhere in the RPM/yum stack there's an SELinux dependency
> that shows up at runtime. I don't really know what's going on, but at
> least for me it went away after updating libselinux. (Of course, since
> both yum and up2date use the rpm Python bindings and a simple "import
> rpm" in yum is what dies, well, they're both hosed at the moment so
> you'll have to download and 'rpm -Uvh' that package manually.)
> 
> Turns out we're not the only ones to hit this, it's in bugzilla:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144446

Thanks!  That fixed it.


Rodd
-- 
>From the pain come the dream
>From the dream come the vision
>From the vision come the people
>From the people come the power
>From this power come the change

                         - Peter Gabriel


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]