Bug 1147034

Summary: File provides don't seem to respect multilib policy
Product: [Fedora] Fedora Reporter: Lubomir Rintel <lrintel>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, jsilhan, packaging-team-maint, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-29 12:05:28 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 Lubomir Rintel 2014-09-26 16:14:28 UTC
Description of problem:

On an x86_64, installing a package via a filelist provide drags in the i686 package as well. Yum did not do that.

Version-Release number of selected component (if applicable):

dnf-0.5.4-2.fc20.noarch
yum-3.4.3-152.fc20.noarch

Additional info:

[root@fedora20-2 lkundrak]# yum -y install /usr/include/db_185.h
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package libdb-devel.x86_64 0:5.3.28-1.fc20 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
 Package                                              Arch                                            Version                                                Repository                                       Size
===================================================================================================================================================================================================================
Installing:
 libdb-devel                                          x86_64                                          5.3.28-1.fc20                                          fedora                                           37 k

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package

Total download size: 37 k
Installed size: 126 k
Downloading packages:
libdb-devel-5.3.28-1.fc20.x86_64.rpm                                                                                                                                                        |  37 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Warning: RPMDB altered outside of yum.
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
kernel-debuginfo-3.16.3-200.fc20.x86_64 is a duplicate with kernel-debuginfo-3.16.2-200.fc20.x86_64
kernel-debuginfo-3.17.0-0.rc4.git1.1.fc22.x86_64 is a duplicate with kernel-debuginfo-3.16.3-200.fc20.x86_64
kernel-debuginfo-common-x86_64-3.16.3-200.fc20.x86_64 is a duplicate with kernel-debuginfo-common-x86_64-3.16.2-200.fc20.x86_64
kernel-debuginfo-common-x86_64-3.17.0-0.rc4.git1.1.fc22.x86_64 is a duplicate with kernel-debuginfo-common-x86_64-3.16.3-200.fc20.x86_64
  Installing : libdb-devel-5.3.28-1.fc20.x86_64                                                                                                                                                                1/1
  Verifying  : libdb-devel-5.3.28-1.fc20.x86_64                                                                                                                                                                1/1

Installed:
  libdb-devel.x86_64 0:5.3.28-1.fc20

Complete!
[root@fedora20-2 lkundrak]# rpm -e libdb-devel
[root@fedora20-2 lkundrak]# dnf -y install /usr/include/db_185.h
Dependencies resolved.

===================================================================================================================================================================================================================
 Package                                              Arch                                            Version                                                Repository                                       Size
===================================================================================================================================================================================================================
Installing:
 libdb-devel                                          x86_64                                          5.3.28-1.fc20                                          fedora                                           37 k
 libdb-devel                                          i686                                            5.3.28-1.fc20                                          fedora                                           37 k

Transaction Summary
===================================================================================================================================================================================================================
Install  2 Packages

Total download size: 75 k
Installed size: 252 k
Downloading Packages:
(1/2): libdb-devel-5.3.28-1.fc20.x86_64.rpm                                                                                                                                        3.2 kB/s |  37 kB     00:11
(2/2): libdb-devel-5.3.28-1.fc20.i686.rpm                                                                                                                                          2.7 kB/s |  37 kB     00:13
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              4.0 kB/s |  75 kB     00:18
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : libdb-devel-5.3.28-1.fc20.i686                                                                                                                                                                 1/2
  Installing  : libdb-devel-5.3.28-1.fc20.x86_64                                                                                                                                                               2/2
  Verifying   : libdb-devel-5.3.28-1.fc20.x86_64                                                                                                                                                               1/2
  Verifying   : libdb-devel-5.3.28-1.fc20.i686                                                                                                                                                                 2/2

Installed:
  libdb-devel.x86_64 5.3.28-1.fc20                                                                          libdb-devel.i686 5.3.28-1.fc20

Complete!

Comment 1 Honza Silhan 2014-09-29 12:05:28 UTC
Hi, this bug is fixed in dnf-0.5.5.

*** This bug has been marked as a duplicate of bug 1100946 ***