Bug 21730 - Downloads hang during multi-file download
Summary: Downloads hang during multi-file download
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-05 04:47 UTC by rwv1
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-12-27 21:50:15 UTC
Embargoed:


Attachments (Terms of Use)

Description rwv1 2000-12-05 04:47:42 UTC
Suppose there are a number of updates to download to a given machine.
Up2date accurately identifies them, offers them to the user and downloads
the .hdr files. It then properly begins downloading file one. After the
file has reached 100% downloaded (top status bar), the update agent seems
to just hang, and the second status bar (overall progress) doesn't update. 

If the user runs xkill to kill the agent, they can then rerun the agent. It
will offer the same files(which the user again selects), recognizes the
.hdr files are already there, recognizes the first file is already
downloaded and update the overall status bar. The download of the next file
then begins, but hangs at the end of the download of that file. Again,
xkilling the agent and following the same process allows the user to
continue through the selected patches.

Once this process has been repeated for the remaining updates, the
installation occurs normally, but the .hdr files are not automatically
deleted.

Comment 1 Preston Brown 2000-12-08 20:39:18 UTC
something strange must be happening on your system.  can you run 'up2date' from
the command line, not from the menu, and see if any errors appear in the
terminal window at the point where it hangs please?

Comment 2 rwv1 2000-12-19 05:29:21 UTC
That produced the following error:

Traceback (innermost last):
 File "/usr/share/rhn/up2date/gui.py", line 350, in doRetrieval
     self.setProgress)
 File "/usr/share/rhn/up2date/up2date.py", line 527 in getPackage
     raise CommunicationError(f.faultString)
up2date.CommunicationError: Error communicating with server. The message was:
Invalid RPM package requested:
/var/up2date/packages/7.0/SRPMS/glibc-devel-2.2-9.*.rpm

Does this mean there is no source package available, or is it looking in the
wrong directory?

Comment 3 Preston Brown 2000-12-27 21:50:12 UTC
source package retrieval should be fixed at this moment, but I am asking the 
developer to double check.  For now, if you are still experiencing trouble, a 
simple work around would be to turn off the "retrieve source packages" option 
in the /etc/sysconfig/rhn/up2date config file.

Cristian, can you check the source package retrieval code please?


Comment 4 Preston Brown 2001-02-09 05:35:35 UTC
souce package retrieval has been corrected in up2date 2.1.7.


Note You need to log in before you can comment on or make changes to this bug.