jmm@bp6:/home/jmm> sudo up2date -u Password: Retrieving list of all available packages... ######################################## Removing installed packages from list of updates... ######################################## Removing packages marked to skip from list... ######################################## Getting headers for available packages... ######################################## Removing packages with files marked to skip from list... ######################################## Getting headers for skipped packages... ######################################## The following Packages were marked to be skipped by your configuration: Name Version Rel Reason ------------------------------------------------------------------------------- XFree86-100dpi-fonts 4.1.0 15 Config modified XFree86-75dpi-fonts 4.1.0 15 Config modified Testing package set / solving RPM inter-dependencies... ######################################## Retrieving selected packages... php-4.0.6-12.i386.rpm: ########################## Done. Preparing... ########################################### [100%] 1:php ########################################### [100%] Traceback (innermost last): File "/usr/sbin/up2date", line 1014, in ? main() File "/usr/sbin/up2date", line 341, in main sys.exit(batchRun(argObj.getLong("list"), pkgNames, fullUpdate)) File "/usr/sbin/up2date", line 986, in batchRun kernelsToInstall = up2date.installPackages(selPkgList, rpmCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 2023, in installPackages remoteDelPackages(removedPackages) File "/usr/share/rhn/up2date_client/up2date.py", line 1063, in remoteDelPackages doCall(s.registration.delete_packages,getSystemId(), pkg) File "/usr/share/rhn/up2date_client/up2date.py", line 313, in doCall raise CommunicationError(e.errmsg) up2date_client.up2date.CommunicationError: Error communicating with server. The message was: Proxy Error ****** I have no proxies defined jmm@bp6:/home/jmm> sudo grep -i prox /etc/sysconfig/rhn/up2date httpProxy[comment]=HTTP proxy in host:port format, e.g. squid.redhat.com:3128 httpProxy= enableProxy[comment]=Use a HTTP Proxy enableProxy=0 proxyPassword[comment]=The password to use for an authenticated proxy proxyPassword= proxyUser[comment]=The username for an authenticated proxy proxyUser= enableProxyAuth[comment]=To use an authenticated proxy or not enableProxyAuth=0 ***** As you can see in the above, it already fetched and installed the new package - what's the deal with this error anyway?
this... [02:11] <adrian> that will go away when we turn the servers back on ...notwithstanding, I still think either 1) error message should be much better or 2) retries would be nice, ncftp style with sleeps perhaps?
yeah yeah, a nicer error would be better. In the next version. All network calls get 5 retries at 1 or 5 second intervals (newer versions are 5).
wow, what a weird code path to get a network error in. Thats like the last call you make after a dozen or more network calls on average. Bad timing for a server error ;-> I'll catch exceptions for these cases too, I missed them in most recent "catch all exceptions" extravaganza.
fixed in cvs, should be in next errata
reflecting today's errata push