Bug 120026
| Summary: | up2date crashes with yum when fetching obsolete list | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Rainer Traut <rainer.traut> | ||||
| Component: | up2date | Assignee: | Adrian Likins <alikins> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.0 | ||||||
| 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: | 2004-08-26 23:49:00 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: | 119505, 120067 | ||||||
| Attachments: |
|
||||||
|
Description
Rainer Traut
2004-04-05 11:42:25 UTC
Created attachment 99108 [details]
My sources file
My sources file with just one yum entry.
Next fedora push should have a fix for this (4.3.15 or higher) Sorry, it's still not working:
[root@localhost root]# rpm -qa|grep up2date
up2date-4.3.15-2
up2date-gnome-4.3.15-2
[root@localhost root]# up2date -u
Fetching Obsoletes list for channel: u2beta...
Traceback (most recent call last):
File "/usr/sbin/up2date", line 1271, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 799, in main
fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 1147, 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
[root@localhost root]#
Still same /etc/sysconfig/rhn/sources file.
You may need to blow away the cached obsoletes files in /var/spool/up2date Also, I misread the bug as a fedora bug. Sorry about pointing you at a fedora update (though, that code should work). I'll make sure the fix goes into the next rhel3 update. I emptied the /var/spool/up2date directory. Now it works. Thank you. Closing then. |