Bug 436696 - debuginfo-install: arch is ignored
Summary: debuginfo-install: arch is ignored
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 437414
TreeView+ depends on / blocked
 
Reported: 2008-03-09 15:38 UTC by Jan Kratochvil
Modified: 2014-01-21 23:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-13 20:41:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix. (835 bytes, patch)
2008-03-09 15:38 UTC, Jan Kratochvil
no flags Details | Diff
Testing repository. (32.83 KB, application/octet-stream)
2008-03-09 15:39 UTC, Jan Kratochvil
no flags Details

Description Jan Kratochvil 2008-03-09 15:38:43 UTC
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-3.2.12-3.fc9.noarch (Rawhide yum+rpm on F8)

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:

Comment 1 Jan Kratochvil 2008-03-09 15:38:43 UTC
Created attachment 297361 [details]
Fix.

Comment 2 Jan Kratochvil 2008-03-09 15:39:24 UTC
Created attachment 297362 [details]
Testing repository.

Comment 3 Seth Vidal 2008-03-12 16:54:19 UTC
YUMBUGDAY

Comment 4 Seth Vidal 2008-03-13 20:41:49 UTC
Jan, your patch makes sense to me - including it in yum-utils.




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