Bug 115754 - up2date failure in FC2 test 1
up2date failure in FC2 test 1
Status: CLOSED DUPLICATE of bug 118039
Product: Fedora
Classification: Fedora
Component: up2date (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Fanny Augustin
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
Reported: 2004-02-15 13:58 EST by Magnus Johansson
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:01:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fix to error in obsolete list (384 bytes, patch)
2004-03-18 10:01 EST, Charles Lopes
no flags Details | Diff

  None (edit)
Description Magnus Johansson 2004-02-15 13:58:42 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

How reproducible:

Steps to Reproduce:
1. Login as a non-root user
2. up2date-nox -l
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:
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
  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

Expected results:

Additional info:
When running this from a root-terminal, there are no problems.
Comment 1 Charles Lopes 2004-03-18 10:01:40 EST
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 16:03:59 EST
fixed in cvs

*** This bug has been marked as a duplicate of 118039 ***
Comment 3 Red Hat Bugzilla 2006-02-21 14:01:18 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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