Quote:
|
Originally Posted by Knuckles T15
Wow... some of you aren't reading his post.
|
I see that over and over here...
Quote:
|
Originally Posted by Knuckles T15
|
Thank you that was very much what I was looking for, and that made installing up2date very easy on FC5.
# rpm -ivh up2date-4.4.23-4.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bb up2date.spec
This will build 3 RPM's for installation. Before we install these we need a couple of pre-requisites, which are available from yum thankfully
# yum -y install rhnlib
This will install both the rhnlib and pyOpenSSl RPM's. Now we can install up2date
# cd /usr/src/redhat/RPMS/i386
# rpm -ivh up2date-*
DONE. BUT now...
[root@localhost log]# up2date --nox --show-channels An error has occurred:
exceptions.AttributeError
See /var/log/up2date for more information
Thu Sep 14 12:08:36 2006] up2date File "/usr/sbin/up2date", line 1265, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 328, in main
sources = sourcesConfig.getSources()
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 263, in getSources
scfg = SourcesConfigFile(filename="/etc/sysconfig/rhn/sources")
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 42, in __init__
self.load()
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 85, in load
self.parseRepomd(line)
File "/usr/share/rhn/up2date_client/sourcesConfig.py", line 220, in parseRepomd
yb = yumBaseRepo.initYumRepo()
File "/usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.py", line 40, in initYumRepo
yb = YumBaseRepo()
File "/usr/share/rhn/up2date_client/repoBackends/yumBaseRepo.py", line 20, in __init__
self.conf = yum.config.yumconf()
That has ot be the most useless log data I have ever seen... WTF is the problem???
FYI to be clear I edited the /etc/sysconfig/rhn/up2date and pointed to our local satellite