Description of problem: dnf cannot install both the x86_64 and i686 versions of the pkgconf-pkg-config package due to a file conflict with the other version. Version-Release number of selected component (if applicable): 1.7.3-2.fc33 How reproducible: Should be reproducible from the current F33 Branched dnf repository. Steps to Reproduce: 1. Attempt to install the 'pkgconf-pkg-config.x86_64' and 'pkgconf-pkg-config.i686' package on the same system. 2. 3. Actual results: A dnf error is generated and the package will not install: Running transaction test ... Error: Transaction test error: file /usr/bin/pkg-config from install of pkgconf-pkg-config-1.7.3-2.fc33.i686 conflicts with file from package pkgconf-pkg-config-1.7.3-2.fc33.x86_64 Expected results: Packages install side-by-side without issue. Additional info:
for the sake of record, this bugs blocks (potentially) any upgrade to F33 when you have both (i686 and x86_64) versions of pkgconf-pkg-config installed and removing pkgconf-pkg-config.i686 before F32=>F33 is not an option either :-( Steps to Reproduce: 1. From F32, with both (i686 and x86_64) packages installed, try to run 'dnf system-upgrade download--releasever=33' 2. 3. Actual results: <<... download info skipped ...>> Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction test error: file /usr/bin/pkg-config conflicts between attempted installs of pkgconf-pkg-config-1.7.3-2.fc33.x86_64 and pkgconf-pkg-config-1.7.3-2.fc33.i686 Expected results: Transaction test to succeed. Additional info:
FEDORA-2020-1553536645 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-1553536645
Proposed as a Freeze Exception for 33-final by Fedora user ngompa using the blocker tracking app because: Fixes upgrade path for multilib installations of pkgconf-pkg-config from F32->F33.
FEDORA-2020-1553536645 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-1553536645` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1553536645 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Using the last updated (pkgconf-1.7.3-4.fc33) I managed to install both on my F33kde. Working fine. First I downloaded and upgraded the pkgconf-1.7.3-4.fc33.x86_64 and next I downloaded and instaled with dnf the pkgconf-1.7.3-4.fc33.i686 [geraldo@tangamandapio ~]$ rpm -qa| grep pkgconf pkgconf-m4-1.7.3-4.fc33.noarch libpkgconf-1.7.3-4.fc33.x86_64 pkgconf-1.7.3-4.fc33.x86_64 pkgconf-pkg-config-1.7.3-4.fc33.x86_64 libpkgconf-1.7.3-4.fc33.i686 pkgconf-1.7.3-4.fc33.i686 pkgconf-pkg-config-1.7.3-4.fc33.i686 Only this side effect: it downgrade this packages during installation of the pkgconf-1.7.3-4.fc33.i686: cpp x86_64 10.2.1-3.fc33 gcc x86_64 10.2.1-3.fc33 gcc-gdb-plugin x86_64 10.2.1-3.fc33 libgcc x86_64 10.2.1-3.fc33 libgomp x86_64 10.2.1-3.fc33
Discussed during the 2020-10-19 blocker review meeting: [0] The decision to classify this bug as an "AcceptedFreezeException (Final)" was made as it is a noticeable issue that cannot be fixed with an update. [0] https://meetbot.fedoraproject.org/fedora-blocker-review/2020-10-19/f33-blocker-review.2020-10-19-16.01.txt
FEDORA-2020-1553536645 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
(Sorry for the noob question) This bug is solved, but some packages (like libpng-devel.i686) still depend on pkgconf-pkg-config.i686, which tries to downgrade pkgconf again. What is the best way to solve that? Or does the pkgconf.i686 need a similar fix?
Why is this issue closed? Error: Transaction test error: file /usr/bin/pkg-config conflicts between attempted installs of pkgconf-pkg-config-1.7.3-2.fc33.i686 and pkgconf-pkg-config-1.7.3-2.fc33.x86_64 I'm now trying to upgrade from F32 to F33. I've even enabled `updates-testing` with zero success.
I'm sticking to F32 for a while because I cannot find a way to upgrade seamlessly - it just doesn't work. If I exclude 'pkgconf*' from distrosync I get other errors.
I removed my pkgconf-pkg-config-1.6.3-3.fc32.i686 package and solved this problem during the upgrade from fedora 32 to fedora 33.
(In reply to Daniel from comment #13) You did not solve the problem - you removed it. :-) I still need this package for multiple other packages which depend on it.
dnf remove pkgconf-pkg-config.i686 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: pkgconf-pkg-config i686 1.6.3-3.fc32 @fedora 457 Removing dependent packages: libpng-devel i686 2:1.6.37-3.fc32 @fedora 879 k libtiff-devel i686 4.1.0-2.fc32 @fedora 1.6 M Transaction Summary ================================================================================ Remove 3 Packages Freed space: 2.4 M Is this ok [y/N]: Operation aborted.
And both libpng-devel-1.6.37-5.fc33.i686 and libtiff-devel-4.1.0-4.fc33.i686 require pkgconfig(x86-32) which is provided by pkgconf-pkg-config.i686
Actually, I also removed libpng-devel-1.6.37-5.fc33.i686 package. I didn't know if that package is necessary and I think I can install that package again if I need it after upgrade to Fedora 33.
Tomorrow I will file a new bug report if none of the usual suspects take action or at least confirm this is still a glaring issue which should have been fixed even before F33 got released.
Filed bug 1893124.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days