Bug 121090

Summary: Up2date crahes with IOError message.
Product: [Fedora] Fedora Reporter: Damien <djcovey>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED DUPLICATE QA Contact: Fanny Augustin <fmoquete>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: djuran, sundaram, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 06:25:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 124619    

Description Damien 2004-04-16 23:19:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
Up2date fails with the following error when performing any funcions,
like -l or -u.
I have tried with several mirror sites as well as the main redhat
up2date site.  Used planetmirror.com, kernel.org, and pacific.net.au.
This occurs imediately upon trying to get headers, the "Fetching rpm
headers..." line.

Version-Release number of selected component (if applicable):
up2date-gnome-4.3.16-1
up2date-4.3.16-1


How reproducible:
Always

Steps to Reproduce:
1.Run up2date -l
    

Actual Results:  See crash data.

Expected Results:  Should have had a listing of packages available.

Additional info:

Here is the ouput :
Fetching Obsoletes list for channel: fedora-core-rawhide...
 
Fetching rpm headers...
Traceback (most recent call last):
  File "/usr/sbin/up2date-nox", line 1271, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date-nox", line 799, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date-nox", line 1147, in batchRun
    batch.run()
  File "up2dateBatch.py", line 62, in run
  File "up2dateBatch.py", line 108, in __findPackagesToUpdate
  File "packageList.py", line 580, in getPackagesToInstall
  File "packageList.py", line 609, in __skipPackages
  File "packageList.py", line 630, in __skipFiles
  File "packageList.py", line 669, in buildHeaderList
  File "headers.py", line 37, in __getitem__
  File "headers.py", line 42, in __retrievePackage
  File "rpcServer.py", line 112, in doCall
  File "repoDirector.py", line 31, in getHeader
  File "rpmSource.py", line 210, in getHeader
  File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line
93, in getHeader
    hdrBuf = fh.read()
  File "/usr/lib/python2.3/gzip.py", line 217, in read
    self._read(readsize)
  File "/usr/lib/python2.3/gzip.py", line 260, in _read
    self._read_gzip_header()
  File "/usr/lib/python2.3/gzip.py", line 161, in _read_gzip_header
    raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file

Comment 1 Rahul Sundaram 2005-09-05 06:25:41 UTC

*** This bug has been marked as a duplicate of 117054 ***