Bug 85287 - up2date -u fails completely
up2date -u fails completely
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
9
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Fanny Augustin
:
: 91973 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-27 09:42 EST by Paul Schmehl
Modified: 2007-04-18 12:51 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-08-20 16:10:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paul Schmehl 2003-02-27 09:42:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120
Netscape/7.01

Description of problem:
up2date -u fails to run and produces the following error report:

 sudo up2date -u
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 934, in ?
    main()
  File "/usr/sbin/up2date", line 666, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 835, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 57, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 88, in
__findPackagesToUpdate
    plist.run()
  File "/usr/share/rhn/up2date_client/packageList.py", line 89, in run
    self.addObsoletePackages(obsList)
  File "/usr/share/rhn/up2date_client/packageList.py", line 141, in
addObsoletePackages
    for p in obsoletePackages:
TypeError: iteration over non-sequence

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


How reproducible:
Always

Steps to Reproduce:
1.sudo up2date -u
2.
3.
    

Actual Results:  The error message pasted in the Description field is
consistently produced every time up2date is run

Expected Results:  It should have gone to the RH site, determined what RPMs
needed to be updated, downloaded them and installed them.

Additional info:

The GUI updater fails as well, but it doesn't produce any error messages.  It
just sits there forever doing nothing.
Comment 1 Paul Schmehl 2003-02-27 09:49:02 EST
Version of up2date is 3.0.42
Comment 2 Paul Schmehl 2003-02-27 10:33:51 EST
When I tried to get the version of up2date, I got the following errors:

 up2date --version
 
(up2date:1389): Gtk-WARNING **: /usr/lib/gtk-2.0/2.2.0/engines/libredmond95.so:
undefined symbol: gtk_rc_style_get_type
 
(up2date:1389): GLib-GObject-CRITICAL **: file gobject.c: line 1315
(g_object_unref): assertion `G_IS_OBJECT (object)' failed
Comment 3 Adrian Likins 2003-03-04 11:08:12 EST
3.0.42 is pretty old.

Do newer versions from later betas show the same problem?
Comment 4 Paul Schmehl 2003-03-04 11:42:08 EST
I wasn't aware there was a newer one.  I fetched and installed 3.1.17-1 just now
and then tried to run it:

Gtk-WARNING **: /usr/lib/gtk-2.0/2.2.0/engines/libredmond95.so: undefined
symbol: gtk_rc_style_get_type
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 992, in ?
    main()
  File "/usr/sbin/up2date", line 719, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 892, in batchRun
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 57, in run
    self.__findPackagesToUpdate()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 88, in
__findPackagesToUpdate
    plist.run()
  File "/usr/share/rhn/up2date_client/packageList.py", line 88, in run
    self.addObsoletePackages(obsList)
  File "/usr/share/rhn/up2date_client/packageList.py", line 116, in
addObsoletePackages
    for p in obsoletePackages:
TypeError: iteration over non-sequence

Because of the library error, I ran ldconfig and then tried to run up2date -u again:

[root@utd49554 root]# ldconfig
[root@utd49554 root]# up2date -u
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 992, in ?
    main()
  File "/usr/sbin/up2date", line 719, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 892, in batchRun
    batch.run()
  File "up2dateBatch.py", line 57, in run
  File "up2dateBatch.py", line 88, in __findPackagesToUpdate
  File "packageList.py", line 88, in run
  File "packageList.py", line 116, in addObsoletePackages
TypeError: iteration over non-sequence
Comment 5 Adrian Likins 2004-08-20 16:10:10 EDT
The problem here is the server is not subscribed to a base
channel. Please go the to rhn website and assign the server
to a channel 

Also, currently versions report a more useful error in this case.
Comment 6 Adrian Likins 2004-08-20 16:47:08 EDT
*** Bug 91973 has been marked as a duplicate of this bug. ***

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