Bug 180390

Summary: rhn_check crashing when installing updates
Product: Red Hat Enterprise Linux 4 Reporter: Razvan Corneliu C.R. VILT <razvan.vilt>
Component: up2dateAssignee: Mike Orazi <morazi>
Status: CLOSED WORKSFORME QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-18 21:56:59 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:

Description Razvan Corneliu C.R. VILT 2006-02-07 19:24:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Description of problem:
After noticing that my server is out of sync, I've tried the manual rhn_check. The error doesn't give me any clue as to the cause of the error. I will try installing the updates manually to see if the problem can be reproduced with other packages.

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

How reproducible:
Always

Steps to Reproduce:
1. select some updates in rhn.redhat.com to be installed on the target system.
2. run rhn_check or rhn_check -v.


Actual Results:  I received an error:

(...)
ypbind                                  1.17.2         8
No advisory information available

ypserv                                  2.13           9
No advisory information available

  File "/usr/sbin/rhn_check", line 174, in run_action
    (status, message, data) = do_call(method, params)
  File "/usr/sbin/rhn_check", line 91, in do_call
    retval = apply(method, params)
  File "/usr/share/rhn/actions/packages.py", line 353, in update
    ret = _catchErrors(batchRun, "packages.update", (0, pkgList))
  File "/usr/share/rhn/actions/packages.py", line 189, in _catchErro
    ret = apply(method, args)
  File "/usr/share/rhn/actions/packages.py", line 390, in batchRun
    actionPkgs = pkgList)
  File "/usr/share/rhn/up2date_client/wrapper.py", line 1137, in bat
    batch.run()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 78, in
    self.__dryRun()
  File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 163, in
    self.percentCallback)
  File "/usr/share/rhn/up2date_client/up2date.py", line 386, in dryR
    ret = depsolve.solvedep()
  File "/usr/share/rhn/up2date_client/depSolver.py", line 750, in so
    ret = self.process_deps(deps)
  File "/usr/share/rhn/up2date_client/depSolver.py", line 644, in pr
    changed = self.__dependencies(dependencies)
  File "/usr/share/rhn/up2date_client/depSolver.py", line 411, in __
    added = self.__add(solved, check = 1)
  File "/usr/share/rhn/up2date_client/depSolver.py", line 232, in __
    hdr = headerList[p]
  File "/usr/share/rhn/up2date_client/headers.py", line 34, in __get
    if self._cache.has_key(itemtuple):
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 117, in ha
    return self.__cache.has_key(item)
TypeError: list objects are unhashable

Expected Results:  The updates downloaded and installed.

Additional info:

I even tried setting up2date to just-download the updates and am still getting the same error after the package list. I am using a proxy server without authentication.

Comment 1 Red Hat Bugzilla 2007-04-12 00:30:26 UTC
User bnackash's account has been closed

Comment 2 Razvan Corneliu C.R. VILT 2007-10-31 12:07:56 UTC
The problem solved itself a long time ago. I think that this bug is irelevant,
and I sugest closing it.
Keep Bugzilla clean!!!

Comment 3 Mike Orazi 2008-04-18 21:57:15 UTC
Will do.