[Yum] Yum failing FC3 and FC4

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

 



Thanks..I see that.
Still can't get yum to work. Trying to import yum...no luck.
Any help would be appreciated...I'm stuck and don't want to reload from
scratch....
-Larry

[root@GA-LDBoehm ~]# yum
The yum libraries do not seem to be availableon your system for this
version of                    python  2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]
Please make sure the package you used to installyum was built for your
install o                   f python.
[root@GA-LDBoehm ~]# python
Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "__init__.py", line 35, in ?
  File "config.py", line 32, in ?
  File "/usr/lib/python2.4/site-packages/urlgrabber/__init__.py", line
53, in ?
    from grabber import urlgrab, urlopen, urlread
  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
302, in ?
    import urllib2
  File "/usr/lib/python2.4/urllib2.py", line 93, in ?
    import httplib
  File "/usr/lib/python2.4/httplib.py", line 70, in ?
    import mimetools
  File "/usr/lib/python2.4/mimetools.py", line 6, in ?
    import tempfile
  File "/usr/lib/python2.4/tempfile.py", line 33, in ?
    from random import Random as _Random
  File "/usr/lib/python2.4/random.py", line 69, in ?
    import _random
ImportError: /usr/lib/python2.4/lib-dynload/_random.so: undefined
symbol: _PyArg                   _NoKeywords

[root@GA-LDBoehm ~]# rpm -q python-urlgrabber
python-urlgrabber-2.9.6-1 

-----Original Message-----
From: yum-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:yum-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of seth vidal
Sent: Thursday, March 02, 2006 9:51 AM
To: Yellowdog Updater, Modified
Subject: Re: [Yum] Yum failing FC3 and FC4

On Wed, 2006-03-01 at 14:19 -0500, Larry.D.Boehm@xxxxxxxxxxxxxxxxxxx
wrote:
> All,
> My yum is dead starting on FC3 with a python error. 
> Tried removing and reinstalling, failed Tried upgrading, failed Tried 
> downloading source, compiling and installing, failed.
> Removed all and upgraded to FC4. Upgrade successful, yum still failing

> (up2date failing too) Through out this I was looking on the groups and

> internet for hints;
> 
> Where I am now is this message: 
> The yum libraries do not seem to be availableon your system for this
> version of                              python  2.4.1 (#1, May 16
> 2005, 15:19:29)
> 
> [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] Please make sure the package 
> you used to installyum was built for your
> install o                             f python.
> 
> Reading notes, I see that urlgrabber and python-devel is needed Doing 
> a rpm-q shows them not installed...so I install them.
> Doing another rpm -q shows still not installed...huh?!
> 
> # rpm -Uvh python-urlgrabber-2.9.6-1.noarch.rpm
> Preparing...
> ########################################### [100%] 
>         package python-urlgrabber-2.9.6-1 is already installed
> 
> # rpm -q libmxl* *python* yum*
> package libmxl* is not installed
> package libxml2-python-2.6.19-1.i386.rpm is not installed package 
> libxml2-python-2.6.20-1.FC4.x86_64.rpm is not installed package 
> python-2.4.1-2.i386.rpm is not installed package 
> python-elementtree-1.2.6-4.i386.rpm is not installed package 
> python-sqlite-1.1.6-1.i386.rpm is not installed package 
> python-urlgrabber-2.9.6-1.noarch.rpm is not installed package 
> rpm-python-4.4.1-21.i386.rpm is not installed package 
> yum-2.3.2-7.noarch.rpm is not installed
> 
> [root@GA-LDBoehm tmp]# rpm -q libmxl* *python* yum* package libmxl* is

> not installed package libxml2-python-2.6.19-1.i386.rpm is not 
> installed package libxml2-python-2.6.20-1.FC4.x86_64.rpm is not 
> installed package python-2.4.1-2.i386.rpm is not installed package 
> python-elementtree-1.2.6-4.i386.rpm is not installed package 
> python-sqlite-1.1.6-1.i386.rpm is not installed package 
> python-urlgrabber-2.9.6-1.noarch.rpm is not installed package 
> rpm-python-4.4.1-21.i386.rpm is not installed package 
> yum-2.3.2-7.noarch.rpm is not installed
> 
> [root@GA-LDBoehm tmp]# rpm -q python
> python-2.4.1-2
> 
> [root@GA-LDBoehm tmp]# rpm -q python* package python-2.4.1-2.i386.rpm 
> is not installed package python-elementtree-1.2.6-4.i386.rpm is not 
> installed package python-sqlite-1.1.6-1.i386.rpm is not installed 
> package python-urlgrabber-2.9.6-1.noarch.rpm is not installed
> 
> 
> What is going on here?! 
> Can anyone offer some insight...ok, forget the insight..how do I fix
> this? 
> TIA
> 

Your shell is expanding out the '*' to the files in your dir.

run this:

rpm -q yum python python-elementtree python-sqlite python-urlgrabber
rpm-python

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux