Bug 1369096

Summary: Installation of redhat-lsb-core conflicts with updates from official repos.
Product: [Fedora] Fedora Reporter: Davi Garcia <davivcgarcia>
Component: dnfAssignee: rpm-software-management
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: davivcgarcia, dennis, dvercill, hliu, ignatenko, jsilhan, kevin, kzak, mluscon, ovasik, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 13:14:25 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:

Description Davi Garcia 2016-08-22 13:33:13 UTC
>> Description of problem:

The installation of the 'redhat-lsb' packages conflict and force downgrade of other packages from official Updates repository.

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

redhat-lsb-core, x86_64, 4.1-32.fc24  

>> How reproducible:

Easily.

>> Steps to Reproduce:

Install packages listed below and then try to install redhat-lsb-core.

 libblkid                                   x86_64                 2.28-3.fc24                    updates                 180 k
 libfdisk                                   x86_64                 2.28-3.fc24                    updates                 221 k
 libmount                                   x86_64                 2.28-3.fc24                    updates                 198 k
 libsmartcols                               x86_64                 2.28-3.fc24                    updates                 141 k
 libuuid                                    x86_64                 2.28-3.fc24                    updates                  80 k
 util-linux                                 x86_64                 2.28-3.fc24                    updates                 2.2 M

>> Actual results:

[root@deepblack Downloads]# dnf install redhat-lsb-core
Last metadata expiration check: 0:03:13 ago on Mon Aug 22 10:21:10 2016.
Error: package redhat-lsb-core-4.1-32.fc24.i686 requires /usr/bin/chfn, but none of the providers can be installed
(try to add '--allowerasing' to command line to replace conflicting packages)
[root@deepblack Downloads]# dnf install redhat-lsb-core --allowerasing
Last metadata expiration check: 0:03:20 ago on Mon Aug 22 10:21:10 2016.
Dependencies resolved.
================================================================================================================================
 Package                                    Arch                   Version                        Repository               Size
================================================================================================================================
Installing:
 ed                                         x86_64                 1.12-2.fc24                    fedora                   77 k
 esmtp                                      x86_64                 1.2-3.fc24                     updates                  55 k
 libesmtp                                   x86_64                 1.0.6-10.fc24                  fedora                   65 k
 liblockfile                                x86_64                 1.09-4.fc24                    fedora                   28 k
 m4                                         x86_64                 1.4.17-9.fc24                  fedora                  266 k
 mailx                                      x86_64                 12.5-19.fc24                   fedora                  258 k
 patch                                      x86_64                 2.7.5-3.fc24                   fedora                  125 k
 redhat-lsb-core                            x86_64                 4.1-32.fc24                    fedora                   43 k
 redhat-lsb-submod-security                 x86_64                 4.1-32.fc24                    fedora                   20 k
 spax                                       x86_64                 1.5.3-6.fc24                   fedora                  213 k
 util-linux-user                            x86_64                 2.28-3.fc24                    updates                  90 k
Downgrading:
 libblkid                                   x86_64                 2.28-3.fc24                    updates                 180 k
 libfdisk                                   x86_64                 2.28-3.fc24                    updates                 221 k
 libmount                                   x86_64                 2.28-3.fc24                    updates                 198 k
 libsmartcols                               x86_64                 2.28-3.fc24                    updates                 141 k
 libuuid                                    x86_64                 2.28-3.fc24                    updates                  80 k
 util-linux                                 x86_64                 2.28-3.fc24                    updates                 2.2 M

Transaction Summary
================================================================================================================================
Install    11 Packages
Downgrade   6 Packages

Total download size: 4.2 M
Is this ok [y/N]: 

>> Expected results:

Successful installation without conflicts.

Comment 1 Parag Nemade 2016-08-22 13:55:59 UTC
I think question here is why util-linux-user is not multilib?

Comment 2 Ondrej Vasik 2016-09-05 04:56:46 UTC
That's imho question for util-linux maintainer - whether util-linux-user should or should not be multilib...

Comment 3 Karel Zak 2016-09-05 10:33:06 UTC
It seems like like a bug, for util-linux we have x86_64 as well as i686, but i686 is missing for util-linux-user.

So yes, util-linux-user should be multi-lib (I guess).

Not sure what is the right procedure to fix this, do we need release-engineering ticket?

Comment 4 Ondrej Vasik 2016-09-09 06:33:35 UTC
Probably, let's reassign this to distribution - unfortunately Fedora doesn't have releng component.

Comment 5 Dennis Gilmore 2016-09-09 23:43:20 UTC
reassigning to dnf. no i686 packages should be installed at all. There is not enough output in the initial report from dnf to know what it is actually trying to do.

Comment 6 Igor Gnatenko 2016-09-12 11:11:28 UTC
Please run dnf ... with --debugdata. It will create "debugdata" directory. Compress it and attch it here, please.

Comment 7 Davi Garcia 2016-09-12 22:26:16 UTC
Not sure if I understood your request correctly, but looks like there is no --debugdata option available:

[root@blackstar]/home/dvercill# dnf install --debugdata redhat-lsb-core
Last metadata expiration check: 0:45:17 ago on Mon Sep 12 18:39:06 2016.
No package --debugdata available.
Error: Unable to find a match.

[root@blackstar]/home/dvercill# dnf --debugdata install redhat-lsb-core
No such command: --debugdata. Please use /bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(--debugdata)'"

[root@blackstar]/home/dvercill# dnf install redhat-lsb-core --debugdata
Last metadata expiration check: 0:45:25 ago on Mon Sep 12 18:39:06 2016.
No package --debugdata available.
Error: Unable to find a match.

Is it a plugin or provided by another package?

Comment 8 Parag Nemade 2016-09-13 03:44:44 UTC
I think Igor want to say --debugsolver option. It will be used as root user.

Comment 9 Igor Gnatenko 2016-09-13 06:02:08 UTC
yes, --debugsolver. sorry.

Comment 10 Davi Garcia 2016-09-13 13:04:45 UTC
Looks like the problem is not happening anymore:

[root@blackstar]/# dnf install redhat-lsb-core            
Last metadata expiration check: 0:20:38 ago on Tue Sep 13 09:42:29 2016.
Dependencies resolved.
================================================================================
 Package                        Arch       Version            Repository   Size
================================================================================
Installing:
 ed                             x86_64     1.12-2.fc24        fedora       77 k
 esmtp                          x86_64     1.2-3.fc24         updates      55 k
 libesmtp                       x86_64     1.0.6-10.fc24      fedora       65 k
 liblockfile                    x86_64     1.09-4.fc24        fedora       28 k
 m4                             x86_64     1.4.17-9.fc24      fedora      266 k
 mailx                          x86_64     12.5-19.fc24       fedora      258 k
 patch                          x86_64     2.7.5-3.fc24       fedora      125 k
 redhat-lsb-core                x86_64     4.1-32.fc24        fedora       43 k
 redhat-lsb-submod-security     x86_64     4.1-32.fc24        fedora       20 k
 spax                           x86_64     1.5.3-6.fc24       fedora      213 k
 util-linux-user                x86_64     2.28.1-1.fc24      updates      90 k

Transaction Summary
================================================================================
Install  11 Packages

Total download size: 1.2 M
Installed size: 2.1 M
Is this ok [y/N]: