While trying to upgrade from F32 to F33 I get this error: 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've even enabled `updates-testing` with zero success. This is a bug. It's a duplicate of bug 1878909 but for some reasons it's closed despite not being resolved.
This was fixed in pkgconf-1.7.3-5.fc33, that's why it's closed. For some reason, you aren't getting that version, so it's failing for you.
(In reply to Neal Gompa from comment #1) When distroupdate'ing I'm offered these packages: libpkgconf i686 1.7.3-2.fc33 fedora 38 k libpkgconf x86_64 1.7.3-2.fc33 fedora 35 k pkgconf i686 1.7.3-2.fc33 fedora 41 k pkgconf x86_64 1.7.3-2.fc33 fedora 41 k pkgconf-m4 noarch 1.7.3-2.fc33 fedora 14 k pkgconf-pkg-config i686 1.7.3-2.fc33 fedora 9.7 k pkgconf-pkg-config x86_64 1.7.3-2.fc33 fedora 9.6 k pkgconf-1.7.3-5.fc33 is nowhere to be seen. Is dnf broken?
# dnf remove libpng-devel.i686 libtiff-devel.i686 Dependencies resolved. ============================================================================================================================================================================================== Package Architecture Version Repository Size ============================================================================================================================================================================================== Removing: 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 2 Packages Freed space: 2.4 M Is this ok [y/N]: y Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Erasing : libtiff-devel-4.1.0-2.fc32.i686 1/2 Erasing : libpng-devel-2:1.6.37-3.fc32.i686 2/2 Running scriptlet: libpng-devel-2:1.6.37-3.fc32.i686 2/2 Verifying : libpng-devel-2:1.6.37-3.fc32.i686 1/2 Verifying : libtiff-devel-4.1.0-2.fc32.i686 2/2 Removed: libpng-devel-2:1.6.37-3.fc32.i686 libtiff-devel-4.1.0-2.fc32.i686 Complete! What's going on?? # dnf update '*pkgconf*' Last metadata expiration check: 0:16:35 ago on Sat 31 Oct 2020 01:07:32 AM +05. Dependencies resolved. Problem 1: package pkgconf-pkg-config-1.7.3-2.fc33.i686 requires pkgconf(x86-32) = 1.7.3-2.fc33, but none of the providers can be installed - cannot install both pkgconf-1.7.3-2.fc33.i686 and pkgconf-1.7.3-5.fc33.i686 - cannot install the best update candidate for package pkgconf-pkg-config-1.6.3-3.fc32.i686 - cannot install the best update candidate for package pkgconf-1.6.3-3.fc32.i686 Problem 2: problem with installed package pkgconf-pkg-config-1.6.3-3.fc32.i686 - package pkgconf-pkg-config-1.6.3-3.fc32.i686 requires pkgconf-m4 = 1.6.3-3.fc32, but none of the providers can be installed - package pkgconf-pkg-config-1.7.3-2.fc33.i686 requires pkgconf-m4 = 1.7.3-2.fc33, but none of the providers can be installed - cannot install both pkgconf-m4-1.7.3-5.fc33.noarch and pkgconf-m4-1.6.3-3.fc32.noarch - cannot install both pkgconf-m4-1.7.3-2.fc33.noarch and pkgconf-m4-1.7.3-5.fc33.noarch - cannot install the best update candidate for package pkgconf-m4-1.6.3-3.fc32.noarch ============================================================================================================================================================================================== Package Architecture Version Repository Size ============================================================================================================================================================================================== Upgrading: libpkgconf i686 1.7.3-2.fc33 fedora 38 k libpkgconf x86_64 1.7.3-2.fc33 fedora 35 k pkgconf i686 1.7.3-2.fc33 fedora 41 k pkgconf x86_64 1.7.3-2.fc33 fedora 41 k pkgconf-m4 noarch 1.7.3-2.fc33 fedora 14 k pkgconf-pkg-config i686 1.7.3-2.fc33 fedora 9.7 k pkgconf-pkg-config x86_64 1.7.3-2.fc33 fedora 9.6 k Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): pkgconf i686 1.7.3-5.fc33 updates 41 k pkgconf-m4 noarch 1.7.3-5.fc33 updates 14 k Transaction Summary ============================================================================================================================================================================================== Upgrade 7 Packages Skip 2 Packages Total size: 188 k Is this ok [y/N]:
OK then here's what's broken: # dnf info pkgconf-pkg-config Available Packages Name : pkgconf-pkg-config Version : 1.7.3 Release : 2.fc33 Architecture : i686 Size : 9.7 k Source : pkgconf-1.7.3-2.fc33.src.rpm Repository : fedora Summary : pkgconf shim to provide /usr/bin/pkg-config URL : http://pkgconf.org/ License : ISC Description : This package provides the shim links for pkgconf to be automatically : used in place of pkgconfig. This ensures that pkgconf is used as : the system provider of pkg-config. Name : pkgconf-pkg-config Version : 1.7.3 Release : 5.fc33 Architecture : x86_64 Size : 10 k Source : pkgconf-1.7.3-5.fc33.src.rpm Repository : updates Summary : pkgconf shim to provide /usr/bin/pkg-config URL : http://pkgconf.org/ License : ISC Description : This package provides the shim links for pkgconf to be automatically : used in place of pkgconfig. This ensures that pkgconf is used as : the system provider of pkg-config. There's no pkgconf-pkg-config-1.7.3-5.fc33.i686 Has someone forgotten to build the package?
The package pkgconf-pkg-config-1.7.3-5.fc34.i686.rpm is available only in Rawhide, WTF?
And I cannot mix rawhide packages with f33 packages: -rw-r--r--. 1 ftp ftp 39041 Oct 19 13:56 libpkgconf-1.7.3-5.fc33.i686.rpm -rw-r--r--. 1 ftp ftp 36422 Oct 19 13:56 libpkgconf-1.7.3-5.fc33.x86_64.rpm -rw-r--r--. 1 ftp ftp 41984 Oct 19 13:56 pkgconf-1.7.3-5.fc33.i686.rpm -rw-r--r--. 1 ftp ftp 41699 Oct 19 13:56 pkgconf-1.7.3-5.fc33.x86_64.rpm -rw-r--r--. 1 ftp ftp 14754 Oct 19 13:56 pkgconf-m4-1.7.3-5.fc33.noarch.rpm -rw-r--r--. 1 ftp ftp 10317 Oct 19 13:56 pkgconf-pkg-config-1.7.3-5.fc33.x86_64.rpm -rw-r--r--. 1 ftp ftp 10380 Oct 19 13:54 pkgconf-pkg-config-1.7.3-5.fc34.i686.rpm # rpm -Uvh * warning: pkgconf-pkg-config-1.7.3-5.fc34.i686.rpm: Header V4 RSA/SHA256 Signature, key ID 45719a39: NOKEY error: Failed dependencies: pkgconf(x86-32) = 1.7.3-5.fc34 is needed by pkgconf-pkg-config-1.7.3-5.fc34.i686 pkgconf-m4 = 1.7.3-5.fc34 is needed by pkgconf-pkg-config-1.7.3-5.fc34.i686 Is it too much to ask to build pkgconf-pkg-config-1.7.3-5.fc33.i686.rpm ?
I did a long time ago: https://koji.fedoraproject.org/koji/buildinfo?buildID=1627610 Your mirrors are all broken somehow.
Do you even read comments? > OK then here's what's broken: > > # dnf info pkgconf-pkg-config > > Available Packages > Name : pkgconf-pkg-config > Version : 1.7.3 > Release : 2.fc33 > Architecture : i686 > Size : 9.7 k > Source : pkgconf-1.7.3-2.fc33.src.rpm > Repository : fedora > Summary : pkgconf shim to provide /usr/bin/pkg-config > URL : http://pkgconf.org/ > License : ISC > Description : This package provides the shim links for pkgconf to be automatically > : used in place of pkgconfig. This ensures that pkgconf is used as > : the system provider of pkg-config. > > Name : pkgconf-pkg-config > Version : 1.7.3 > Release : 5.fc33 > Architecture : x86_64 > Size : 10 k > Source : pkgconf-1.7.3-5.fc33.src.rpm > Repository : updates > Summary : pkgconf shim to provide /usr/bin/pkg-config > URL : http://pkgconf.org/ > License : ISC > Description : This package provides the shim links for pkgconf to be automatically > : used in place of pkgconfig. This ensures that pkgconf is used as > : the system provider of pkg-config. > > > There's no pkgconf-pkg-config-1.7.3-5.fc33.i686 > > Has someone forgotten to build the package?
PLEASE BUILD pkgconf-pkg-config-1.7.3-5.fc33.i686.rpm IT IS PRESENT NEITHER IN FEDORA UPDATES REPOSITORY, NOR AS A NORMAL FILE UPDATE. I've just checked ten random Fedora 33 mirrors - none of them has this file FFS.
That is not in my control, I built the thing for all architectures. This issue is not at my level.
I verified that 1.7.3-5.fc33 exists for both i686 and x86_64 as files in the mirror sites, but i686 version doesn't seem to have been registered in repodata, so dnf will never find it. I wonder where this inconsistency originated from. Could it be from original redhat repo, or some intermediate mirror sites?
Please ignore my last comment. I must have mistaken pkgconf for pkgconf-pkg-config. Anyway, the i686 file is not present at all.
So, this it multilib and it's determined by the python-multilib package + white and black lists. We can add pkgconf to the whitelist for updates, but I don't quite understand why it's working for base rawhide/branched composes and not updates. Both composes define devel and runtime methods (ie, packages with -devel are mulitlibed and packages with .so files are also multilibed) Perhaps lsedlar (added to cc) can see whats going wrong here? Side note: we should really change white/black lists here. :(
This is a long standing problem of how updates repos are created. When rawhide is composed, it can access all packages and therefore see everything and make correct decisions about multilib packages. For updates composes, only the updated packages are processed, and therefore it's possible packages that were multilib in the full compose are not multilib in updates. This happens if the multilib package was pulled in as a dependency of something. Example: foo.i686 is supposed to be included (either by rules or explicit listing) and requires bar.i686, which is then included in the full compose as well. But then in updates the batch of updated packages only contains bar. Since that doesn't match any rules and isn't explicitly listed, bar.i686 will not be included. The only way to fix this is to carry over information from the original full compose into all updates composes.
*** Bug 1894327 has been marked as a duplicate of this bug. ***
Yeah, or just whitelist it so it always gets pulled in no?
This seems to be fixed. I can install both pkgconf-1.7.3-5.fc33.i686 and x86_64.
This message is a reminder that Fedora 33 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '33'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 33 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.