Bug 81304 - up2date -lv crashes with trackback
up2date -lv crashes with trackback
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
8.0
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Adrian Likins
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-07 16:04 EST by Need Real Name
Modified: 2007-04-18 12:49 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-14 23:54: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 Need Real Name 2003-01-07 16:04:38 EST
% sudo up2date -lv webalizer

Fetching package list for channel: redhat-linux-i386-8.0...
########################################

Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
########################################

Fetching rpm headers...

Name                                    Version        Rel     
----------------------------------------------------------
webalizer                               2.01_10        9                   
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 801, in ?
    main()
  File "/usr/sbin/up2date", line 573, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 737, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 58, in run
    wrapperUtils.printVerboseList(self.packagesToInstall)
  File "/usr/share/rhn/up2date_client/wrapperUtils.py", line 303, in
printVerboseList
    advisories = rhnErrata.getAdvisoryInfo(pkg)
  File "/usr/share/rhn/up2date_client/rhnErrata.py", line 40, in getAdvisoryInfo
    pkgName = "%s-%s-%s" % (h['name'],
UnboundLocalError: local variable 'h' referenced before assignment


Version-Release number of selected component (if applicable): up2date-3.0.7-1
How reproducible: always
Comment 1 Adrian Likins 2003-01-14 23:54:49 EST
should be fixed in versions higher than 3.0.40
upcoming errata should fix it.

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