Bug 19801 - dnf finds spurious conflicting packages
Summary: dnf finds spurious conflicting packages
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-16 18:24 CET by Chris Denice
Modified: 2016-11-17 19:42 CET (History)
2 users (show)

See Also:
Source RPM: dnf-1.1.10-2.mga6.src.rpm
CVE:
Status comment:


Attachments
the error log of dnf (2.12 KB, text/x-log)
2016-11-16 18:24 CET, Chris Denice
Details

Description Chris Denice 2016-11-16 18:24:36 CET
Hi,
I have given a try to dnf to my current cauldron, which used to be synced with urpmi --auto-update.

I did:
dnf check-update
which worked fine and listed the packages to be upgraded.

Then
dnf distro-sync

which failed with the messages in attachments, namely some conflicting packages but only under i586 (I am running x86_64)

Therefore, I did a urpmi --auto-update, which succeeded without finding any conflicts. So either urpmi hides the conflicts, or dnf finds conflicts that do not exist!?

Cheers,
chris.
Comment 1 Chris Denice 2016-11-16 18:24:58 CET
Created attachment 8673 [details]
the error log of dnf
Comment 2 Marja Van Waes 2016-11-17 09:42:51 CET
This might be a duplicate of bug 18343 (which needs a better summary than it has), I cannot tell from the attachment which version of those libraries was installed.

See the note here: https://wiki.mageia.org/en/Using_DNF :
> When dnf searches for dependencies, it'll stop looking when it finds a hit.
> That means that dnf can want to install a 32bit library, even if you're on a 64
> bit system and installing the 64bit version of the same library is preferred.
> You can add --exclude *.i586 to your command to avoid pulling in 32bit packages

CC: (none) => mageiatools, marja11
Assignee: bugsquad => ngompa13

Comment 3 Neal Gompa 2016-11-17 14:28:52 CET
This is happening because your urpmi repository configuration includes 32-bit repositories, and you've installed 32-bit library packages.

You need to enable the corresponding 32-bit repositories in DNF. It's a variant of bug 19480.

The reason this happens is that mageia-repos (the package shipping the default repository configuration) has the 32-bit repositories disabled by default.

It's mentioned in https://wiki.mageia.org/en/Using_DNF:

> 32-bit repositories are turned off by default on 64-bit x86.

Try enabling the correct repositories.
Comment 4 Neal Gompa 2016-11-17 14:29:47 CET
It also mentions you have tainted enabled, which means you need to also enable that through dnf config-manager.
Comment 5 Neal Gompa 2016-11-17 14:30:43 CET
Err, tainted and nonfree repositories enabled, I mean.
Comment 6 Chris Denice 2016-11-17 19:42:14 CET
ah, very good, thanks for the clarifications.
Then I close the bug as invalid!

Thanks!

Status: NEW => RESOLVED
Resolution: (none) => INVALID


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