PDA

View Full Version : up2date: this newby needs a copy of /etc/sysconfig/rhn/sources file for FC3_64


goldstar1
29th November 2004, 01:15 AM
i think that i made a mistake updating sources in my /etc/sysconfig/rhn/sources file, because as soon as i finished, my red exclamation mark started to flash, but up2date was unresponsive.

so i removed the stuff i placed in my /etc/sysconfig/rhn/sources file and i think i also removed part of, or maybe, even a whole line of something that was supposed to remain.

Below is my relevant /etc/sysconfig/rhn/sources file...everything else have # in front of the lines

yum fedora-core-3 http://download.fedora.redhat.com/pub/fedora/linux/core/3/$ARC
H/os/
yum updates-released-fc3 http://download.fedora.redhat.com/pub/fedora/linux/core
/updates/3/$ARCH/

yum-mirror fedora-core-3 http://fedora.redhat.com/download/up2date-mirrors/fedor
a-core-3
yum-mirror updates-released-fc3 http://fedora.redhat.com/download/up2date-mirror
s/updates-released-fc3

from a command line, i get the following errors...

[root@localhost george]# up2date
Traceback (most recent call last):
File "/usr/sbin/up2date", line 33, in ?
from up2date_client import up2date
File "/usr/share/rhn/up2date_client/up2date.py", line 29, in ?
import depSolver
File "/usr/share/rhn/up2date_client/depSolver.py", line 4, in ?
import packageList
File "/usr/share/rhn/up2date_client/packageList.py", line 17, in ?
import up2dateComps
File "/usr/share/rhn/up2date_client/up2dateComps.py", line 7, in ?
from rhpl import comps
File "/usr/lib64/python2.3/site-packages/rhpl/comps.py", line 5, in ?
import libxml2
File "/usr/lib64/python2.3/site-packages/libxml2.py", line 1, in ?
import libxml2mod
ImportError: /usr/lib64/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlNewDocPI

I tried #> yum update and got the same message

I looked everywhere i could imagine for help, newsgroups, books, this forum and what i found i was able to reconstruct my /etc/sysconfig/rhn/sources file to what it says above.

If someone that has no problems with up2date and is running a FC3_64, i would appriciate a check on the above configuration file.

Maybe, my configuration file isnt the problem, any help i would appriciate.

Im a newby at this and this is a fresh install of FC3_64. I just want to have the system work as it should out of the box, then as i learn ill make whatever upgrades and improvements that are necessary.

Thank you all very much

sornen
29th November 2004, 09:09 AM
My sources file is the same. The problem seems to be with the python library libxml2mod. Sorry not sure how to fix this. Perhaps you should reload the python packages.

Or use yum directly rather than up2date.

goldstar1
30th November 2004, 12:07 AM

Ill try that thanx, ill get back and see if that works

irchs
13th February 2005, 05:23 PM
I am having the same problem :( Anyone have a fix, I think an upgrade somewhere borked it, cause it was working one second, and then it broke :(

Jan