Re: new up2date
Mike Wohlgemuth <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
I just installed RedHat 8.0, and it is working with my Current server
fine right now, but I had an issue when I first ran up2date on the 8.0
box. I had a fresh install, and never tried to connect to the RHN
servers, I just hacked my configs to point to my Current server. The
registration code in up2date didn't like this. Here is the error I was
getting:
Traceback (most recent call last):
File "/usr/sbin/up2date", line 801, in ?
main()
File "/usr/sbin/up2date", line 463, in main
ret = configdlg.main(options.firstboot)
File "/usr/share/rhn/up2date_client/configdlg.py", line 365, in main
gui = Gui(firstboot)
File "/usr/share/rhn/up2date_client/configdlg.py", line 79, in
__init__
self.setInitialValues()
File "/usr/share/rhn/up2date_client/configdlg.py", line 95, in
setInitialValues
self.serverUrls = configUtils.getServerUrls()
File "/usr/share/rhn/up2date_client/configUtils.py", line 38, in
getServerUrls serverUrls = rpcServer.doCall(s.servers.list, systemid)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 107, in doCall
ret = apply(method, args, kwargs)
File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in
_request
verbose=self._verbose
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 141,
in request
return self.parse_response(fd)
File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 160,
in parse_response
p.close()
File "/usr/lib/python2.2/xmlrpclib.py", line 393, in close
self._parser.Parse("", 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 1, column 0
I still have the original /etc/sysconfig/rhn/up2date that had the
problem, so I can go back and reproduce it if you'd like me to do any
more testing. I put back the original up2date configuration and tried
connecting to RHN. This worked, and I killed up2date just after it
asked to import the RHN GPG keys into my keyring, without actually
signing up for RHN. Doing this created a new
/etc/sysconfig/rhn/up2date, so I took this file and pointed it at my
Current server, and everything worked fine.
One more thing. In /etc/sysconfig/rhn/up2date there is a line for where
to find the CA certificate:
sslCACert=/usr/share/rhn/RHNS-CA-CERT
I changed this to
sslCACert=/usr/share/rhn/RHNS-CA-CERT.current
instead of overwriting the file. In versions prior to 8.0, you couldn't
really do this, since there wasn't a corresponding entry in
/etc/sysconfig/rhn/rhn_register. Since there is no rhn_register with
8.0, you don't need to worry about that anymore. Changing the location
of the CA cert could be useful, since the RedHat updates to up2date have
overwritten it in the past.
Woogie
On Fri, 2002-10-11 at 12:02, Hunter Matthews wrote:
> current-0.20021011
>
> Is on the ftp/web site. It _IS_ 1.4.2 unless you people find a bug.
>
> It is supposed to serve 2.8 and 3.0 clients, as documented in the
> README/CHANGELOG/RELEASE-NOTES in the package.
>
> Please test this extra super carefully on 3.0 clients - I cannot test
> them directly as yet. The 2.8 backport seems to work for me here, but
> since I'm not uber confident, its a snap and not a full out release.
>
>
> On Fri, 2002-10-11 at 09:41, John Berninger wrote:
> > This si the result of the back-port of the 3.0 API (in RHL 8.0) to the
> > 7.x series; Current has not yet been updated to handle this new API.
> > Hunter and I are working on that and other stuff now.
> >
> > On Fri, 11 Oct 2002, Mindaugas Riauba wrote:
> >
> > >
> > > Today I installed up2date update (up2date-2.8.39-1.7.1). Machine
> > > is RedHat 7.1.
> > >
> > > And trying to use it got such error messages:
> > >
> > > # up2date -lu
> > >
> > > Fetching package list for channel: redhat-linux-i386-7.1...
> > > ########################################
> > >
> > > Fetching Obsoletes list for channel: redhat-linux-i386-7.1...
> > > There was a fatal error communicating with the server. The message was:
> > > 400: "Function getObsoletes not recognized" while attempting to get
> > > $RHN/redhat-linux-i386-7.1/getObsoletes/20021011062138
> > >
> > > Is that something that upgrade from my ancient 1.0.5 version
> > > of current to 1.4.x would fix? I know that I'm way behind but
> > > "don't fix it if it works" :).
> > >
> > > Mindaugas
> > >
> > > _______________________________________________
> > > Current-server mailing list
> > > [email protected]
> > > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> >
> > --
> > Thank you,
> > John Berninger
> >
> > Systems Administrator [email protected]
> > Department of Mathematics Box 8205, Harrelson Hall
> > NC State University Raleigh, NC 27695
> > Phone: (919)515-6315 Fax: (919)515-3798
> >
> > GPG Key ID: A8C1D45C
> > Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C
> > --
> > _______________________________________________
> > Current-server mailing list
> > [email protected]
> > http://lists.dulug.duke.edu/mailman/listinfo/current-server
> >
> >
> --
> Hunter Matthews Unix / Network Administrator
> Office: BioScience 145/244 Duke Univ. Biology Department
> Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438
> Never take candy from strangers. Especially on the internet.
>
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
>