$ sudo dnf install prison prison.i686 --debuglevel 1Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libdmtx i686 0.7.2-15.fc22 rawhide 70 k libdmtx x86_64 0.7.2-15.fc22 rawhide 69 k prison i686 1.0-9.fc22 rawhide 21 k qrencode-libs i686 3.4.2-4.fc22 rawhide 56 k Transaction Summary ================================================================================ Install 4 Packages Total download size: 216 k Installed size: 456 k Is this ok [y/N]: $ sudo dnf install prison.x86_64 prison.i686 --debuglevel 1 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libdmtx i686 0.7.2-15.fc22 rawhide 70 k libdmtx x86_64 0.7.2-15.fc22 rawhide 69 k prison i686 1.0-9.fc22 rawhide 21 k prison x86_64 1.0-9.fc22 rawhide 21 k qrencode-libs i686 3.4.2-4.fc22 rawhide 56 k Transaction Summary ================================================================================ Install 5 Packages Total download size: 236 k Installed size: 496 k Is this ok [y/N]: It should be the same.
$ sudo yum install prison prison.i686 --debuglevel 1 ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: prison i686 1.0-9.fc22 rawhide 21 k prison x86_64 1.0-9.fc22 rawhide 21 k Installing for dependencies: libdmtx i686 0.7.2-15.fc22 rawhide 70 k libdmtx x86_64 0.7.2-15.fc22 rawhide 69 k qrencode-libs i686 3.4.2-4.fc22 rawhide 56 k Transaction Summary ================================================================================ Install 2 Packages (+3 Dependent packages) Total download size: 236 k Installed size: 496 k Is this ok [y/d/N]:
Thanks for the report. This is strange. On libsolv level it works as expected, no other package provides `prison` and `dnf install librepo librepo.i686` works. We will take a look.
Isn't it the expected behavior? "prison" means "install any prison" so if you want to install "any prison" and "prison.i686", you want to install "prison.i686". Otherwise the logic starts to be a bit complicated.
In yum, prison means "prison.x86_64" in an x86_64 system. If DNF decides to treat prison as "any prison", it should be documented as an important difference between Yum and DNF, as it can affect many install scripts. It will even affect some custom .ks files for building Fedora spins/remixes which have packages from multiple archs. For example, I have my own Fedora remix which does include some packages from both x86_64 and i686 archs. My .ks will certainly break if pungi uses DNF instead of yum.
(In reply to Radek Holy from comment #3) > Isn't it the expected behavior? "prison" means "install any prison" so if > you want to install "any prison" and "prison.i686", you want to install > "prison.i686". Otherwise the logic starts to be a bit complicated. then it shouldn't install 64 bit libraries if we want to install i686
(In reply to Igor Gnatenko from comment #5) > (In reply to Radek Holy from comment #3) > > Isn't it the expected behavior? "prison" means "install any prison" so if > > you want to install "any prison" and "prison.i686", you want to install > > "prison.i686". Otherwise the logic starts to be a bit complicated. > then it shouldn't install 64 bit libraries if we want to install i686 Unless the 64-bit version is required too.
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
The report from comment 0 is considered as bug in DNF and we will fix it.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
Hi Igor, The problem cannot be reproduce with dnf-2.4.1-1 and libdnf-0.8.2-1.