[WBEL-users] Up2date trouble

Kevin Hanser Kevin@mica.net
Mon, 9 Aug 2004 16:27:32 -0400


Hello, 

I have recently installed WBEL 3.0 Respin 1 as a replacement OS on a
server that was previously running RedHat/Fedora.  The installation was
pretty painless as usual, but now I'm having some trouble checking for
updates via up2date.

In the past, with my RH/Fedora systems, I have always used the
rhn-applet-tui application to give me a list of the available packages.
I have a wrapper script that parses the output from that program and
download the appropriate RPMs and notifies me.

I have also been able to do a similar thing with the up2date program,
using the command "up2date --nodownload --list", which seems to give me
a list of available updates (I like to see what's available before I go
and get/install anything).

However, when I run up2date in this way on my WBEL system, I'm getting
python tracebacks.  And since I'm no python expert, I'm not sure what's
going on here.

Here's the output I see when I run "up2date --nodownload --list" (or
up2date --dry-run):

----OUTPUT----
[kmh@uranus rhn]$ sudo up2date --nodownload --list
http://whiteboxlinux.org/up2date-mirrors/wbel3-base
using mirror: http://whitebox.phantomhosting.com/3.0/en/os/i386/
http://whiteboxlinux.org/up2date-mirrors/wbel3-updates
using mirror:
ftp://ftp.esat.net/mirrors/whiteboxlinux.org/3.0/en/updates/
http://whiteboxlinux.org/up2date-mirrors/wbel3-extras
using mirror:
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/3.0/en/extras/
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1271, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 799, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 1147, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in
__findPackagesToUpdate
    plist.addGlobs(self.listOfGlobs)
  File "/usr/share/rhn/up2date_client/packageList.py", line 157, in
addGlobs
    availList = rhnPackageInfo.getAvailablePackageList()
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in
getAvailablePackageList
    package_list = availablePackageList(
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in
availablePackageList
    progressCallback = progressCallback)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in
listPackages
    return self.handlers[channel['type']].listPackages(channel,
msgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in
listPackages
    msgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line
201, in listPackages
    agent = "Up2date %s/Yum" % up2dateUtils.version())
  File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line
324, in fetchUrl
    endRange=end)
  File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line
117, in open_resource
    return opener.open(request)
  File "/usr/lib/python2.2/urllib2.py", line 328, in open
    '_open', req)
  File "/usr/lib/python2.2/urllib2.py", line 307, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.2/urllib2.py", line 824, in http_open
    return self.do_open(httplib.HTTP, req)
  File "/usr/lib/python2.2/urllib2.py", line 809, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error (-3, 'Temporary failure in name
resolution')>
----END OUTPUT----

I see that the last line is an error that says there is a "Temporary
failure in name resolution".  However, I'm not sure what it was trying
to resolve when this happened!  I thought maybe it was the last mirror
listed (gd.tuwien.ac.at), but when I do a dig it resolves fine:

----DIG----
[kmh@uranus rhn]$ dig gd.tuwien.ac.at

; <<>> DiG 9.2.2 <<>> gd.tuwien.ac.at
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32359
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;gd.tuwien.ac.at.               IN      A

;; ANSWER SECTION:
gd.tuwien.ac.at.        86400   IN      A       192.35.244.50
----END DIG----


Anyone know what's going on here?  Did I forget something?

Thanx!

k