Red Hat Bugzilla – Bug 115754
up2date failure in FC2 test 1
Last modified: 2007-11-30 17:10:36 EST
Description of problem:
up2date hangs when started from a non-privileged user
Version-Release number of selected component (if applicable):
Fedore Core 2 Test 1
Steps to Reproduce:
1. Login as a non-root user
2. up2date-nox -l
You are attempting to run "up2date-nox" which requires administrative
privileges, but more information is needed in order to do so.
Password for root:
using mirror: http://mirrors.kernel.org/fedora/core/development/i386/
Fetching Obsoletes list for channel: fedora-core-rawhide...
Traceback (most recent call last):
File "/usr/sbin/up2date-nox", line 1267, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date-nox", line 797, in main
File "/usr/sbin/up2date-nox", line 1141, in batchRun
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 108, in
self.availableUpdates = plist.getPackagesToInstall()
File "/usr/share/rhn/up2date_client/packageList.py", line 574, in
File "/usr/share/rhn/up2date_client/packageList.py", line 454, in
if op & int(obsSense):
TypeError: int() argument must be a string or a number
When running this from a root-terminal, there are no problems.
Created attachment 98651 [details]
Fix to error in obsolete list
Here's a simple fix to this problem
fixed in cvs
*** This bug has been marked as a duplicate of 118039 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.