From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809 Description of problem: The failure modes are slightly different from command line to GUI, but they look pretty similar to my untrained eye Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run up2date -u Or 1. run up2date 2. select packages to update 3. hit forward to go to the screen about packages required to solve dependancies Actual Results: In GUI mode, the "progress dialog" stalls at 0% of "Testing package set / solving RPM inter-dependancies". In TUI mode, traceback is generated immediately after "Testing package set / solving RPM inter-dependencies..." Expected Results: up2date should check dependancies, and install packages Additional info: Sorry these are so long, but they're much easier to search on in the body of a bug than in an attachment. [gleblanc@peecee BUILD]$ rpm -q up2date up2date-2.9.55-2 Text mode traceback: Testing package set / solving RPM inter-dependencies... Traceback (most recent call last): File "/usr/sbin/up2date", line 800, in ? main() File "/usr/sbin/up2date", line 536, in main sys.exit(batchRun(options.list, pkgNames, fullUpdate)) File "/usr/sbin/up2date", line 749, in batchRun batch.run() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 57, in run self.__dryRun() File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 111, in __dryRun self.percentCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 405, in dryRun rc = depsolve.run() File "/usr/share/rhn/up2date_client/depSolver.py", line 473, in run self.ts.setProbFilter(rpm.RPMTRANS_FLAG_BUILD_PROBS) AttributeError: setProbFilter GUI Traceback: Traceback (most recent call last): File "/usr/share/rhn/up2date_client/gui.py", line 1311, in onPackagePageNext self.__refreshCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 405, in dryRun rc = depsolve.run() File "/usr/share/rhn/up2date_client/depSolver.py", line 473, in run self.ts.setProbFilter(rpm.RPMTRANS_FLAG_BUILD_PROBS) AttributeError: setProbFilter Traceback (most recent call last): File "/usr/share/rhn/up2date_client/gui.py", line 1375, in onDependencyPagePrepare for pkg in self.depPackages: AttributeError: Gui instance has no attribute 'depPackages'
Can you try this with the very latest rpm from rawhide?
[gleblanc@peecee gleblanc]$ rpm -q up2date up2date-2.9.61-1 I get the same trace, except that a few of the line numbers are changed.
heh, I meant the very latest version of the rpm package. The error looks to be an old version of rpm without a new method new up2date is calling (ie, rpm.ts.setProbFilter()) Sorry about that (second time I've done that even...)
Ahh, I see! I did have the latest rpm package installed, but not the latest rpm-python nor rpm404-python packages installed. I installed both of those, and now it works. Sounds like a Requires line got left out of one of those packages.
Yeah, pretty much. Next version should have a more up2date requires line.
resolved, closing bug.