Bug 1654612

Summary: yumdownloader --archlist=x86_64 downloads i686 on x86_64
Product: [Fedora] Fedora Reporter: Arnau Sistach <arnau.sistach>
Component: yum-utilsAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: dmach, mdomonko, packaging-team-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-02 16:44:08 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:
Embargoed:

Description Arnau Sistach 2018-11-29 08:58:18 UTC
+ This bug was similar to https://bugzilla.redhat.com/show_bug.cgi?id=1045871 +

Description of problem:
When trying to download x86_64 packages and explicitly using --archlist=x86_64 it also downloads i686 packages.

Version-Release number of selected component (if applicable):
yum-utils-1.1.31-45.el7.noarch
yum-3.4.3-158.el7.centos.noarch

How reproducible:


Steps to Reproduce:

1. Download packages from @core, specific packages error:
$ yumdownloader --archlist=x86_64 \
   btrfs-progs \
   glibc \
   iptables \
   libsysfs \
   parted \
   procps-ng \
   sg3_utils-libs \
   util-linux \
   xfsprogs

2. See the output
3. $ ls | grep i686

Actual results:
All packages for i686 and x86_64
$ ls -1
btrfs-progs-4.9.1-1.el7.i686.rpm
btrfs-progs-4.9.1-1.el7.x86_64.rpm
glibc-2.17-222.el7.i686.rpm
glibc-2.17-222.el7.x86_64.rpm
iptables-1.4.21-24.1.el7_5.i686.rpm
iptables-1.4.21-24.1.el7_5.x86_64.rpm
libsysfs-2.1.0-16.el7.i686.rpm
libsysfs-2.1.0-16.el7.x86_64.rpm
parted-3.1-29.el7.i686.rpm
parted-3.1-29.el7.x86_64.rpm
procps-ng-3.3.10-17.el7_5.2.i686.rpm
procps-ng-3.3.10-17.el7_5.2.x86_64.rpm
sg3_utils-libs-1.37-12.el7.i686.rpm
sg3_utils-libs-1.37-12.el7.x86_64.rpm
util-linux-2.23.2-52.el7_5.1.i686.rpm
util-linux-2.23.2-52.el7_5.1.x86_64.rpm
xfsprogs-4.5.0-15.el7.i686.rpm
xfsprogs-4.5.0-15.el7.x86_64.rpm

Expected results:
Only packages for x86_64
$ ls -1
btrfs-progs-4.9.1-1.el7.x86_64.rpm
glibc-2.17-222.el7.x86_64.rpm
iptables-1.4.21-24.1.el7_5.x86_64.rpm
libsysfs-2.1.0-16.el7.x86_64.rpm
parted-3.1-29.el7.x86_64.rpm
procps-ng-3.3.10-17.el7_5.2.x86_64.rpm
sg3_utils-libs-1.37-12.el7.x86_64.rpm
util-linux-2.23.2-52.el7_5.1.x86_64.rpm
xfsprogs-4.5.0-15.el7.x86_64.rpm

Comment 1 Ben Cotton 2019-08-13 17:08:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 18:56:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Michal Domonkos 2019-09-02 16:44:08 UTC
This is expected; i686 is compatible with x86_64 and therefore is downloaded alongside.  For details, see this reply in the other bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1045871#c2