Bug 116985 - up2date crash
Summary: up2date crash
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: up2date
Version: 2.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: up2date-rhel3-u2
TreeView+ depends on / blocked
 
Reported: 2004-02-27 02:54 UTC by Brian DeFeyter
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-07-28 03:54:06 UTC


Attachments (Terms of Use)

Description Brian DeFeyter 2004-02-27 02:54:12 UTC
Description of problem:
up2date crashes when running attempting an update:

Fetching package list for channel: rhel-i386-es-3...
########################################
 
Fetching Obsoletes list for channel: rhel-i386-es-3...
 
Fetching rpm headers...
########################################
 
Name                                    Version        Rel
----------------------------------------------------------
libxml2                                 2.5.10         6             
     i386
libxml2-devel                           2.5.10         6             
     i386
 
 
Testing package set / solving RPM inter-dependencies...
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1190, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 776, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 1069, in batchRun
    batch.run()
  File "up2dateBatch.py", line 70, in run
  File "up2dateBatch.py", line 142, in __dryRun
  File "up2date.py", line 384, in dryRun
  File "depSolver.py", line 357, in setup
  File "depSolver.py", line 448, in __add
TypeError: 'in <string>' requires character as left operand


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

How reproducible: every time


Steps to Reproduce:
1. up2date -u
2.
3.
  
Actual results: crash

Expected results: complete update

Additional info:

Comment 1 Brian DeFeyter 2004-02-27 03:00:27 UTC
Also when trying to schedule a package update via RHN, the scheduled
action will fail with the following output:

Client execution returned "Fatal error in Python code occured [[6]]"
(code -1)



Comment 2 Adrian Likins 2004-04-05 20:11:04 UTC
Ahh. Easy workaround. Add a semicolon to the
end of the line for pkgsToInstallNotUpdate
in /etc/sysconfig/rhn/up2date

That is expected to be a list not a string
by the code. 

I'll take a look and see if I can make it
except either. 

Comment 3 Adrian Likins 2004-04-06 19:41:19 UTC
okay, 4.2.9 should handle this either way

Comment 4 Brian DeFeyter 2004-04-06 20:48:41 UTC
thank you


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