Bug 116267
| Summary: | up2date --showall fails with "dir" repos | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Bob Gorman <bob> |
| 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: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-08-26 23:57:35 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 | ||
fix is in cvs 4.2.9 or higher should have it when released. Where is the cvs tree? Verfied fixed. |
From Bugzilla Helper: User-Agent: Opera/7.23 (Windows NT 5.0; U) [en] Description of problem: Add a 'dir' entry to /etc/sysconfig/rhn/sources such as: dir rsi-rpms-rhel3r /rsi/rpms/rhel3r/ Run: up2date --showall Get: Traceback (most recent call last): File "/usr/sbin/up2date", line 1190, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 601, in main printList(rhnPackageInfo.getAllAvailableAllArchPackageList(), cfg['showChannels']) File "rhnPackageInfo.py", line 263, in getAllAvailableAllArchPackageList File "rhnPackageInfo.py", line 202, in allAvailablePackageList File "rpcServer.py", line 112, in doCall File "repoDirector.py", line 23, in listAllPackages File "rpmSource.py", line 237, in listAllPackages AttributeError: DirRepoSource instance has no attribute 'listAllPackages' Version-Release number of selected component (if applicable): up2date-4.2.5-1 How reproducible: Always Steps to Reproduce: 1. Edit /etc/sysconfig/rhn/ and add a 'dir' entry. 2. Run up2date --showall 3. Actual Results: Traceback (most recent call last): File "/usr/sbin/up2date", line 1190, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 601, in main printList(rhnPackageInfo.getAllAvailableAllArchPackageList(), cfg['showChannels']) File "rhnPackageInfo.py", line 263, in getAllAvailableAllArchPackageList File "rhnPackageInfo.py", line 202, in allAvailablePackageList File "rpcServer.py", line 112, in doCall File "repoDirector.py", line 23, in listAllPackages File "rpmSource.py", line 237, in listAllPackages AttributeError: DirRepoSource instance has no attribute 'listAllPackages' Expected Results: No errors. Additional info: This does not happen with up2date-4.1.16-1 under Fedora Core 1.