[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

up2date -fu error: Unable to fetch requested Package



Hello list,

I try to update a RHEL 4.7 server connected to RHN. The server is
connected to RHN through a webproxy.

up2date -fu fails this way:


Testing package set / solving RPM inter-dependencies...
########################################
NetworkManager-0.3.1-5.el4.  An error has occurred:
Unable to fetch requested Package


/var/log/up2date looks like this while up2date -fu is running:

[Fri Jul 10 08:00:51 2009] up2date updating login info
[Fri Jul 10 08:00:51 2009] up2date logging into up2date server
[Fri Jul 10 08:00:53 2009] up2date successfully retrieved
authentication token from up2date server
[Fri Jul 10 08:00:53 2009] up2date availablePackageList from network
[Fri Jul 10 08:00:58 2009] up2date solving dep for: ['beecrypt-devel',
'elfutils-libelf-devel', 'libselinux-devel']
[Fri Jul 10 08:01:23 2009] up2date Unable to fetch requested Package
[Fri Jul 10 08:01:23 2009] up2date   File "/usr/sbin/up2date", line 1315, in ?
    sys.exit(main() or 0)
   File "/usr/sbin/up2date", line 816, in main
    fullUpdate, dryRun=options.dry_run))
   File "/usr/sbin/up2date", line 1163, in batchRun
    batch.run()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 96, in run
    self.__getPackages()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 252, in
__getPackages
    up2date.getPackage(pkg, wrapperUtils.printPkg,
wrapperUtils.printRetrieveHash)
   File "/usr/share/rhn/up2date_client/up2date.py", line 180, in getPackage
    buf = rpcServer.doCall(repos.getPackage, pkg, msgCallback,
progressCallback)
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 238, in doCall
    ret = apply(method, args, kwargs)
   File "/usr/share/rhn/up2date_client/repoDirector.py", line 37, in getPackage
    return self.handlers[channel['type']].getPackage(pkg, msgCallback,
progressCallback)
   File "/usr/share/rhn/up2date_client/rpmSource.py", line 186, in getPackage
    package = source.getPackage(pkg, MsgCallback, progressCallback)
   File "/usr/share/rhn/up2date_client/repoBackends/up2dateRepo.py",
line 206, in getPackage
    raise up2dateErrors.InvalidRedirectionError(e)

I can sucessfully connect to https://xmlrpc.rhn.redhat.com from a user
where the same webproxy is used as what is specified in the httpProxy
variable in /etc/sysconfig/rhn/up2date.

[myuser myserver ~]$ elinks -dump https://xmlrpc.rhn.redhat.com/
   Red Hat Network
[myuser myserver ~]$


up2date --hardware -v do not return anything and seems to work. tcpdump
shows that communication with the proxy seems to work well, also during up2date
-fu.

After googling a bit I have found this:

https://bugzilla.redhat.com/show_bug.cgi?id=497364

Which supposedly is a dupliacte of

https://bugzilla.redhat.com/show_bug.cgi?id=489328

Do you think this can be the cause? If, I will probably need to get the updated
rhnlib manually and then rerun up2date -fu.

Any other suggestions for further troubleshooting is appreciated.

Best regards,

Erling Ringen Elvsrud



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]