Bug 159945 - up2date crashes in yumRepo.py
up2date crashes in yumRepo.py
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: up2date (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bret McMillan
Fanny Augustin
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-09 11:33 EDT by Kyle R Maxwell
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-30 10:16:49 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 Kyle R Maxwell 2005-06-09 11:33:36 EDT
Description of problem:
up2date crashes when trying to update from the repositories.

Version-Release number of selected component (if applicable):
up2date-4.4.23-4

I'm not able to reproduce this particular problem at will, but running "up2date
-u" or even "yum update" results in errors, either 404 in up2date (from all
mirrors) or "[Errno -1] Metadata file does not match checksum" in yum (when
reading primary.xml.gz from all mirrors). This part might be site-specific, but
I don't think the below crash output is.

$ sudo up2date -i gaim gaim-meanwhile
http://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide
using mirror: http://mirrors.kernel.org/fedora/core/development/i386/
http://fedora.redhat.com/download/mirrors/fedora-extras-devel
using mirror: http://ftp.kddilabs.jp/Linux/packages/fedora/extras/development/i386/

Fetching Obsoletes list for channel: development...

Fetching Obsoletes list for channel: extras-development...

Fetching rpm headers...
There was an error downloading:
http://mirrors.kernel.org/fedora/core/development/i386//headers/gaim-1-1.3.0-1.fc4.i386.hdr
There was an error downloading:
http://mirrors.kernel.org/fedora/core/development/i386//headers/gaim-1-1.3.0-1.fc4.i386.hdr
There was an error downloading:
http://mirrors.kernel.org/fedora/core/development/i386//headers/gaim-1-1.3.0-1.fc4.i386.hdr
There was an error downloading:
http://mirrors.kernel.org/fedora/core/development/i386//headers/gaim-1-1.3.0-1.fc4.i386.hdr
There was an error downloading:
http://mirrors.kernel.org/fedora/core/development/i386//headers/gaim-1-1.3.0-1.fc4.i386.hdr
An error has occurred:
exceptions.UnboundLocalError
See /var/log/up2date for more information

From /var/log/up2date:

[Thu Jun  9 09:31:02 2005] up2date availablePackageList from network
[Thu Jun  9 09:31:08 2005] up2date   File "/usr/sbin/up2date", line 1265, in ?
    sys.exit(main() or 0)
   File "/usr/sbin/up2date", line 800, in main
    fullUpdate, dryRun=options.dry_run))
   File "/usr/sbin/up2date", line 1120, in batchRun
    batch.init()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 65, in init
    self.__findPackagesToUpdate()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 112, in
__findPackagesToUpdate
    self.availableUpdates = plist.getPackagesToInstall()
   File "/usr/share/rhn/up2date_client/packageList.py", line 645, in
getPackagesToInstall
    result = self.__skipPackages(result)
   File "/usr/share/rhn/up2date_client/packageList.py", line 674, in __skipPackages
    packageList = self.__skipFiles(packageList)
   File "/usr/share/rhn/up2date_client/packageList.py", line 695, in __skipFiles
   ignoreMsgCallback = self.ignoreMsgCallback)
   File "/usr/share/rhn/up2date_client/packageList.py", line 734, in buildHeaderList
    hdr = headerList[pkg]
   File "/usr/share/rhn/up2date_client/headers.py", line 37, in __getitem__
    self.__retrievePackage(item)
   File "/usr/share/rhn/up2date_client/headers.py", line 42, in __retrievePackage
    hdr, sourceType = rpcServer.doCall(self.repos.getHeader, item)
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 316, in doCall
    ret = apply(method, args, kwargs)
   File "/usr/share/rhn/up2date_client/repoDirector.py", line 32, in getHeader
    return self.handlers[channel['type']].getHeader(pkg, msgCallback,
progressCallback)
   File "/usr/share/rhn/up2date_client/rpmSource.py", line 213, in getHeader
    header = source.getHeader(pkg, progressCallback = progressCallback)
   File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 112, in
getHeader

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