Bug 437414 - debuginfo-install: arch is ignored
Summary: debuginfo-install: arch is ignored
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 8
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 436696
Blocks: 435581
TreeView+ depends on / blocked
 
Reported: 2008-03-13 22:02 UTC by Jan Kratochvil
Modified: 2008-03-14 03:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-14 03:44:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2008-03-13 22:02:57 UTC
+++ This bug was initially created as a clone of Bug #436696 +++

Description of problem:
When trying to install using `debuginfo-install' all the available debuginfo
arches get installed while only the matching one should get installed.

Version-Release number of selected component (if applicable):
yum-utils-1.1.11-1.fc8.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Provide the test repository of dummy-{1,2}-0.fc8.{i386,x86_64} for yum.
2. Install dummy-1.0.fc8.x86_64.
3. rpm --qf '%{name}-%{version}-%{release}.%{arch}\n'  -qa 'dummy*'|sort
4. debuginfo-install --disablerepo='*' --enablerepo='dummy-*' dummy

Actual results:
# rpm --qf '%{name}-%{version}-%{release}.%{arch}\n'  -qa 'dummy*'|sort
dummy-1-0.fc8.x86_64
# debuginfo-install --disablerepo='*' --enablerepo='dummy-*' dummy
Loaded plugins: priorities, refresh-updatesd
dummy-2-debuginfo         100% |=========================|  951 B    00:00     
dummy-1                   100% |=========================|  951 B    00:00     
dummy-1-debuginfo         100% |=========================|  951 B    00:00     
dummy-2                   100% |=========================|  951 B    00:00     
...
--> Running transaction check
---> Package dummy-debuginfo.x86_64 0:1-0.fc8 set to be updated
---> Package dummy-debuginfo.i386 0:1-0.fc8 set to be updated
--> Finished Dependency Resolution

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 dummy-debuginfo         x86_64     1-0.fc8          dummy-1-debuginfo  4.8 k
 dummy-debuginfo         i386       1-0.fc8          dummy-1-debuginfo  5.0 k


Expected results:
# rpm --qf '%{name}-%{version}-%{release}.%{arch}\n'  -qa 'dummy*'|sort
dummy-1-0.fc8.x86_64
# debuginfo-install --disablerepo='*' --enablerepo='dummy-*' dummy
Loaded plugins: priorities, refresh-updatesd
dummy-2-debuginfo         100% |=========================|  951 B    00:00
dummy-1                   100% |=========================|  951 B    00:00
dummy-1-debuginfo         100% |=========================|  951 B    00:00
dummy-2                   100% |=========================|  951 B    00:00
...
--> Running transaction check
---> Package dummy-debuginfo.x86_64 0:1-0.fc8 set to be updated
--> Finished Dependency Resolution

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 dummy-debuginfo         x86_64     1-0.fc8          dummy-1-debuginfo  4.8 k


Additional info:

-- Additional comment from skvidal.edu on 2008-03-13 16:41 EST --
Jan, your patch makes sense to me - including it in yum-utils.

Comment 1 Seth Vidal 2008-03-14 02:31:09 UTC
closing this one upstream, too. We don't really need two bugs for this, do we?


Comment 2 Jan Kratochvil 2008-03-14 02:48:11 UTC
(In reply to comment #1)
> closing this one upstream, too. We don't really need two bugs for this, do we?

This Bug was cloned for F-8 as the backport would be IMO easy for F-8 as the GDB
debuginfo suggestion feature was also backported for F-8.

Still it is not much of a concern WONTFIXing the F-8 backport, people who know
how to use GDB usually know how to download debuginfos by hand.


Comment 3 Seth Vidal 2008-03-14 03:05:30 UTC
most of the time we release the same version of yum-utils for f7, f8 and rawhide
when it comes out.

That's why I closed it 'upstream'

Comment 4 Jan Kratochvil 2008-03-14 03:44:40 UTC
OK.



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