Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 115754

Summary: up2date failure in FC2 test 1
Product: [Fedora] Fedora Reporter: Magnus Johansson <l_magnus_j>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED DUPLICATE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: tjarls
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:01:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114961    
Attachments:
Description Flags
Fix to error in obsolete list none

Description Magnus Johansson 2004-02-15 18:58:42 UTC
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

How reproducible:
Always

Steps to Reproduce:
1. Login as a non-root user
2. up2date-nox -l
3.
  
Actual results:
You are attempting to run "up2date-nox" which requires administrative
privileges, but more information is needed in order to do so.
Password for root:
http://fedora.redhat.com/download/up2date-mirrors/fedora-core-rawhide
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
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date-nox", line 1141, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 108, in
__findPackagesToUpdate
    self.availableUpdates = plist.getPackagesToInstall()
  File "/usr/share/rhn/up2date_client/packageList.py", line 574, in
getPackagesToInstall
    self.__findObsoletingPackages()
  File "/usr/share/rhn/up2date_client/packageList.py", line 454, in
__findObsoletingPackages
    if op & int(obsSense):
TypeError: int() argument must be a string or a number


Expected results:


Additional info:
When running this from a root-terminal, there are no problems.

Comment 1 Charles Lopes 2004-03-18 15:01:40 UTC
Created attachment 98651 [details]
Fix to error in obsolete list

Here's a simple fix to this problem

Comment 2 Adrian Likins 2004-03-22 21:03:59 UTC
fixed in cvs

*** This bug has been marked as a duplicate of 118039 ***

Comment 3 Red Hat Bugzilla 2006-02-21 19:01:18 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.