Bug 20332 - up2date dies on download errors
up2date dies on download errors
Status: CLOSED DUPLICATE of bug 18994
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-11-04 09:06 EST by David Woodhouse
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-04 09:06:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Woodhouse 2000-11-04 09:06:37 EST
This failure mode appears to have been triggered by a failure to download
the complete file for a glibc update. Bringing up a window to complain
about it would be preferable.

Actually, I didn't notice this in the terminal from which up2date was
started for some time - because I've got used to the fact that it just sits
there and fails to even redraw its windows while it's doing something else.
That is also a severe defect in its functionality, IMO.

imladris /home/dwmw2 # up2date
Traceback (innermost last):
  File "/usr/share/rhn/up2date/gui.py", line 356, in doRetrieval
    res = up2date.hasBadSignature(self.selectedPkgList[index])
  File "/usr/share/rhn/up2date/up2date.py", line 806, in hasBadSignature
    hdr = rpm.headerFromPackage(fd)[0]
rpm.error: error reading package
Comment 1 Preston Brown 2000-11-28 15:08:19 EST

*** This bug has been marked as a duplicate of 18994 ***
Comment 2 David Woodhouse 2000-11-28 17:33:07 EST
This doesn't look like a duplicate of 18994. This appears to be caused by an
aborted download of the package and a subsequent failure to read the RPM headers
of the new package, rather than a failure to grok the system's RPM database.

The other part: "just dies horribly without bringing up a dialog box to complain
and you don't notice for hours because you've come to _expect_ it not to redraw
itself for ages anyway" is the same though.

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