LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora Core 6 Error on update (https://www.linuxquestions.org/questions/linux-software-2/fedora-core-6-error-on-update-555918/)

shwanky 05-22-2007 08:27 PM

Fedora Core 6 Error on update
 
Last night I ran yum updated and for some reason the update failed. Now every time I try to run yum update I get this errror

Code:

Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1333, in shutdown
    h.close()
  File "/usr/lib/python2.4/logging/handlers.py", line 630, in close
    if self.unixsocket:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1333, in shutdown
    h.close()
  File "/usr/lib/python2.4/logging/handlers.py", line 630, in close
    if self.unixsocket:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'

Anyone have any suggestions?

Lenard 05-23-2007 05:21 AM

First try: yum clean all

Also try downloading and reinstalling manually the python-elementtree and python-urlgrabber rpm packages from Fedora Core 6:

rpm -Uvh python*.rpm --force

thinkmassive 07-18-2007 03:07 PM

Quote:

Originally Posted by Lenard
First try: yum clean all

Also try downloading and reinstalling manually the python-elementtree and python-urlgrabber rpm packages from Fedora Core 6:

rpm -Uvh python*.rpm --force

I am having the same issue on my Fedora Core 6 system. This is probably a silly problem but I can't figure out where to download these two rpms for FC6.

What I did find is the Python scripts from Duke, and RPMs from:
dag.wieers.com/rpm/packages/python-elementtree/
dag.wieers.com/rpm/packages/python-urlgrabber/
...but these RPMs only go to RH9, FC3, EL5, or source.

Will any of those work or should I grab the python scripts and copy them into the proper location?

Thanks,
Alex

btw: awesome site. I've referenced it many times but this is my first post.

Lenard 07-19-2007 04:04 AM

Direct links;

http://download.fedora.redhat.com/pu...2.6-5.i386.rpm
http://download.fedora.redhat.com/pu...6-5.x86_64.rpm
http://download.fedora.redhat.com/pu...9-2.noarch.rpm

Use something like wget for example;

wget http://download.fedora.redhat.com/pu...6-5.x86_64.rpm

thinkmassive 07-20-2007 03:03 PM

Thanks for the quick response! I installed the RPMs successfully but still received the exit errors from yum. Running yum with no arguments gave me the same error plus this at the bottom:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'

I recently installed syslog-ng, at which time I disabled the (old) syslog service. Starting syslog (and klog) resulted in yum running without error. Now I just wonder why my syslog-ng is not taking this log entry?

Thanks,
Alex


All times are GMT -5. The time now is 04:35 PM.