error during cadmin update

Lawrence MacIntyre <[email protected]> 03 Dec 2002 16:33:51 -0500
Newsgroups gmane.network.up2date.current.devel
Message-ID <1038951231.1878.9.camel@nautique>
Hi:

I ran cadmin update redhat-7.3-i386 and got the following error:

[root@xstar root]# cadmin update redhat-7.3-i386
Dec 03 16:1755 : EXCEPTION in /usr/share/current/channel.py,
_getHeaderFromFilename(), 592 [logException()]
Traceback (innermost last):
  File "/usr/share/current/channel.py", line 588, in
_getHeaderFromFilename
    fd = os.open(pathname, os.O_RDONLY)
OSError: [Errno 2] No such file or directory:
'/mnt/sws1/updates/7.3/en/os/i386/xinetd-2.3.9-0.73.i386.rpm'
Traceback (innermost last):
  File "/usr/sbin/cadmin", line 325, in ?
    main()
  File "/usr/sbin/cadmin", line 260, in main
    mychan.update()
  File "/usr/share/current/channel.py", line 182, in update
    self._addRpmDir(dir)
  File "/usr/share/current/channel.py", line 624, in _addRpmDir
    self._addRpmPackage(pathname)
  File "/usr/share/current/channel.py", line 733, in _addRpmPackage
    self._deleteRpmPackage(fullname)
  File "/usr/share/current/channel.py", line 949, in _deleteRpmPackage
    rpm_size = str(os.stat(pathname)[stat.ST_SIZE])
OSError: [Errno 2] No such file or directory:
'/mnt/sws1/updates/7.3/en/os/i386/xinetd-2.3.9-0.73.i386.rpm'

I looked, and sure enough, that file isn't there.  So the directory that
I am using is behind up2date and the required file isn't there?  Do I
just need to wait for the mirror to catch up?  Is cadmin checking with
rhn to find out what it is supposed to have?  The version of xinetd that
is present is 2.3.7-4.7x.

Also, I copied the /etc/sysconfig/rhn/up2date and
/usr/share/rhn/RHN-CA-CERT.current files from a working RH 8.0 client to
a new RH 8.0 client and ran up2date.  It died with an error (sadly, I
don't remember the exact message, but it was something like server
error) after the registration forms were filled out, but I ran it again
and it worked fine.
-- 
     Lawrence MacIntyre     865.574.8696     [email protected]
                Oak Ridge National Laboratory
Center for High Performance Information Infrastructure Technology
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA97SM/CNjP8rawCW4RAg4TAJ9cyIk2znAVwU8JIhtCiOhRYlf8MgCfcUY1
leyWsY5uwtxd5okc2mhxaTc=
=QH6W
-----END PGP SIGNATURE-----