| Summary: | [GSS 7.0] change in debuginfo channel names causes debuginfo-install to fail | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Karl Hastings <kasmith> |
| Component: | yum-utils | Assignee: | James Antill <james.antill> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 | CC: | andriusb, jon.stanley, notting, packaging-team-maint, vgaikwad, vmukhame |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http// | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-15 14:02:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 860099, 1044717 | ||
I don't think this should be fixed in yum-utils. Moving to releng. -debug-rpms is a common suffix for debuginfo repos in CDN. I see 380 repos with this suffix. My suggestion is to change yum-utils to search for both -debuginfo and -debug-rpms. Since we've added -rpms to the tail of all our channels, it's no longer a simple matter of taking the existing channel name and appending "-debuginfo" or especially in this case '-debug-rpms'. Instead the existing channel will need to be parsed. If there is a -rpms suffix try '-debug-rpms' as the replacement suffix, else '-debuginfo' as the suffix. *** This bug has been marked as a duplicate of bug 1052871 *** |
Description of problem: The channel containing -debuginfo rpms has changed. instead of being the expected "rhel-7-server-htb-rpms-debuginfo" it is actually "rhel-7-server-htb-debug-rpms" This causes debuginfo-install to fail because it uses: for repoid in repos: di = '%s-debuginfo' % repoid Version-Release number of selected component (if applicable): yum-utils-1.1.31-19.el7.noarch How reproducible: 100% Steps to Reproduce: 1. subscription-manager register 2. subscription-manager attach --auto 3. yum install yum-utils 4. debuginfo-install bash Actual results: [root@localhost ~]# debuginfo-install bash Loaded plugins: product-id rhel-7-server-htb-rpms | 3.4 kB 00:00 rhel-ha-for-rhel-7-server-htb-rpms | 3.4 kB 00:00 rhel-lb-for-rhel-7-server-htb-rpms | 3.4 kB 00:00 rhel-rs-for-rhel-7-server-htb-rpms | 3.4 kB 00:00 (1/4): rhel-lb-for-rhel-7-server-htb-rpms/x86_64/primary_d | 5.2 kB 00:00 (2/4): rhel-rs-for-rhel-7-server-htb-rpms/x86_64/primary_d | 29 kB 00:00 (3/4): rhel-ha-for-rhel-7-server-htb-rpms/x86_64/primary_d | 26 kB 00:00 (4/4): rhel-7-server-htb-rpms/x86_64/primary_db | 3.6 MB 00:02 (1/4): rhel-ha-for-rhel-7-server-htb-rpms/x86_64/group_gz | 3.3 kB 00:00 (2/4): rhel-lb-for-rhel-7-server-htb-rpms/x86_64/group_gz | 2.5 kB 00:00 (3/4): rhel-rs-for-rhel-7-server-htb-rpms/x86_64/group_gz | 4.9 kB 00:00 (4/4): rhel-7-server-htb-rpms/x86_64/group_gz | 102 kB 00:00 Could not find debuginfo for main pkg: bash-4.2.45-2.el7.x86_64 Could not find debuginfo pkg for dependency package glibc-2.17-36.el7.x86_64 Could not find debuginfo pkg for dependency package ncurses-libs-5.9-11.20130511.el7.x86_64 No debuginfo packages available to install Expected results: following packages should have installed. bash-debuginfo glibc-debuginfo ncurses-libs-debuginfo Additional info: