Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours

Bug 75171

Summary: iteration over non-sequence
Product: Red Hat Enterprise Linux 4 Reporter: Patrick C. F. Ernzer <pcfe>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: cturner, gafton, mihai.ibanescu, pjones, taw
Target Milestone: ---   
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-26 20:25:29 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
rpm -qa --last none

Description Patrick C. F. Ernzer 2002-10-04 21:03:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809

Description of problem:
Installing a package fails

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


How reproducible:
Always

Steps to Reproduce:
1. unset DISPLAY
2. up2date <not yet istalled package>
	

Actual Results:  # up2date glut-devel

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

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

Fetching rpm headers...

Testing package set / solving RPM inter-dependencies...
########################################
glut-devel-3.7-8.i386.rpm:  ########################## Done.
Preparing              ########################################### [100%]

Installing...
   1:glut-devel             ########################################### [100%]
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 74, in run
    self.__installPackages()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 127, in
__installPackages
    self.kernelsToInstall = up2date.installPackages(self.packagesToInstall,
self.rpmCallback)
  File "/usr/share/rhn/up2date_client/up2date.py", line 545, in installPackages
    runTransaction(ts, rpmCallback)
  File "/usr/share/rhn/up2date_client/up2date.py", line 514, in runTransaction
    rhnPackageInfo.remoteAddPackages(addedPackages)
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 47, in
remoteAddPackages
    updateTransactions()
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 69, in
updateTransactions
    rollback = rollbacks.Rollback()
  File "/usr/share/rhn/up2date_client/rollbacks.py", line 129, in __init__
    self.__genAvailableTidHdrDict()
  File "/usr/share/rhn/up2date_client/rollbacks.py", line 163, in
__genAvailableTidHdrDict
    for (tid, hdr, filename) in transList:
TypeError: iteration over non-sequence
# cd /var/spool/up2date/
# rpm -e glut-devel
# rpm -Uhv glut-devel-3.7-8.i386.rpm
Preparing...                ########################################### [100%]
   1:glut-devel             ########################################### [100%]
#

Expected Results:  installation without Traceback

Additional info:

got same result with kernel-pcmcia-cs.
Comment 1 Patrick C. F. Ernzer 2002-10-04 21:04:32 EDT
Created attachment 78807 [details]
rpm -qa --last
Comment 2 Josef Komenda 2002-10-24 16:29:02 EDT
Looks legit to me - up2date acl won't complete. An 8.0 bug - over to Adrian. 

Comment 3 Adrian Likins 2003-01-15 01:05:00 EST
Turn off rollbacks, it's an experimental feature.

Should be fixed anyway in a upcoming errata.
Comment 4 Patrick C. F. Ernzer 2004-02-20 13:37:57 EST
going through old bugs, I think this can be closed.