Description of problem: During F34->F35 upgrade, some packages related to Python and PHP are not upgraded because of broken dependencies. Version-Release number of selected component (if applicable): Fedora 35 How reproducible: Once. Steps to Reproduce: 1. dnf update --release=35 2. 3. Actual results: Not every package is upgraded to F35 branch. Expected results: Every installed package would be from Fedora 35. Additional info: I had similar issur with upgrade to Fedora 34 and managed to resolve dependencies by hand. I'm pretty sure, that I can do it again. Sometimes I have to reinstall PHP, or add force parameter to dnf. If I try to upgrade system again, dnf returns: sudo dnf update Last metadata expiration check: 0:14:03 ago on Thu Oct 21 12:54:06 2021. Dependencies resolved. Problem 1: cannot install both php-common-8.0.11-1.fc35.x86_64 and php-common-7.4.24-1.fc34.x86_64 - package php-pecl-zip-1.20.0-1.fc34.x86_64 requires php(api) = 20190902-64, but none of the providers can be installed - package php-pecl-zip-1.20.0-1.fc34.x86_64 requires php(zend-abi) = 20190902-64, but none of the providers can be installed - cannot install the best update candidate for package php-common-7.4.24-1.fc34.x86_64 - problem with installed package php-pecl-zip-1.20.0-1.fc34.x86_64 Problem 2: package php-pecl-zip-1.20.0-1.fc34.x86_64 requires php(api) = 20190902-64, but none of the providers can be installed - package php-pecl-zip-1.20.0-1.fc34.x86_64 requires php(zend-abi) = 20190902-64, but none of the providers can be installed - cannot install both php-common-8.0.11-1.fc35.x86_64 and php-common-7.4.24-1.fc34.x86_64 - cannot install the best update candidate for package php-pecl-zip-1.20.0-1.fc34.x86_64 - cannot install the best update candidate for package php-json-7.4.24-1.fc34.x86_64 Problem 3: cannot install both python3-3.10.0-1.fc35.x86_64 and python3-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - cannot install the best update candidate for package python3-3.9.7-1.fc34.x86_64 - problem with installed package fail2ban-server-0.11.2-9.fc34.noarch Problem 4: cannot install both python3-augeas-1.1.0-2.fc35.noarch and python3-augeas-0.5.0-23.fc34.noarch - package python3-certbot-apache-1.20.0-1.fc34.noarch requires python3.9dist(python-augeas), but none of the providers can be installed - cannot install the best update candidate for package python3-augeas-0.5.0-23.fc34.noarch - problem with installed package python3-certbot-apache-1.20.0-1.fc34.noarch Problem 5: cannot install both python3-configargparse-1.4.1-2.fc35.noarch and python3-configargparse-1.3-1.fc34.noarch - package python3-certbot-1.20.0-1.fc34.noarch requires python3.9dist(configargparse) >= 0.9.3, but none of the providers can be installed - cannot install the best update candidate for package python3-configargparse-1.3-1.fc34.noarch - problem with installed package python3-certbot-1.20.0-1.fc34.noarch Problem 6: cannot install both python3-configobj-5.0.6-25.fc35.noarch and python3-configobj-5.0.6-23.fc34.noarch - package python3-certbot-1.20.0-1.fc34.noarch requires python3.9dist(configobj) >= 5.0.6, but none of the providers can be installed - cannot install the best update candidate for package python3-configobj-5.0.6-23.fc34.noarch - cannot install the best update candidate for package python3-certbot-1.20.0-1.fc34.noarch Problem 7: cannot install both python3-cryptography-3.4.7-5.fc35.x86_64 and python3-cryptography-3.4.6-1.fc34.x86_64 - package python3-acme-1.20.0-1.fc34.noarch requires python3.9dist(cryptography) >= 2.1.4, but none of the providers can be installed - cannot install the best update candidate for package python3-cryptography-3.4.6-1.fc34.x86_64 - problem with installed package python3-acme-1.20.0-1.fc34.noarch Problem 8: cannot install both python3-josepy-1.9.0-1.fc35.noarch and python3-josepy-1.9.0-1.fc34.noarch - package python3-acme-1.20.0-1.fc34.noarch requires python3.9dist(josepy) >= 1.9, but none of the providers can be installed - cannot install the best update candidate for package python3-josepy-1.9.0-1.fc34.noarch - cannot install the best update candidate for package python3-acme-1.20.0-1.fc34.noarch Problem 9: package python3-ndg_httpsclient-0.5.1-11.fc35.noarch requires python3.10dist(pyopenssl), but none of the providers can be installed - cannot install both python3-pyOpenSSL-20.0.1-4.fc35.noarch and python3-pyOpenSSL-21.0.0-1.fc34.noarch - cannot install the best update candidate for package python3-ndg_httpsclient-0.5.1-9.fc34.noarch - problem with installed package python3-pyOpenSSL-21.0.0-1.fc34.noarch Problem 10: package python3-pyrfc3339-1.1-9.fc35.noarch requires python3.10dist(pytz), but none of the providers can be installed - cannot install both python3-pytz-2021.1-4.fc35.noarch and python3-pytz-2021.3-1.fc34.noarch - cannot install the best update candidate for package python3-pyrfc3339-1.1-7.fc34.noarch - problem with installed package python3-pytz-2021.3-1.fc34.noarch Problem 11: cannot install both python3-setuptools-57.4.0-1.fc35.noarch and python3-setuptools-53.0.0-2.fc34.noarch - package python3-certbot-apache-1.20.0-1.fc34.noarch requires python3.9dist(setuptools) >= 39.0.1, but none of the providers can be installed - cannot install the best update candidate for package python3-setuptools-53.0.0-2.fc34.noarch - cannot install the best update candidate for package python3-certbot-apache-1.20.0-1.fc34.noarch Problem 12: cannot install both python3-six-1.16.0-4.fc35.noarch and python3-six-1.15.0-5.fc34.noarch - package python3-pyOpenSSL-21.0.0-1.fc34.noarch requires python3.9dist(six) >= 1.5.2, but none of the providers can be installed - cannot install the best update candidate for package python3-six-1.15.0-5.fc34.noarch - cannot install the best update candidate for package python3-pyOpenSSL-21.0.0-1.fc34.noarch Problem 13: package python3-certbot-1.20.0-1.fc34.noarch requires python3.9dist(distro) >= 1.0.1, but none of the providers can be installed - cannot install both python3-distro-1.6.0-1.fc35.noarch and python3-distro-1.5.0-5.fc34.noarch - package certbot-1.20.0-1.fc34.noarch requires python3-certbot = 1.20.0-1.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-distro-1.5.0-5.fc34.noarch - problem with installed package certbot-1.20.0-1.fc34.noarch Problem 14: package python3-certbot-1.20.0-1.fc34.noarch requires python3.9dist(parsedatetime) >= 2.4, but none of the providers can be installed - cannot install both python3-parsedatetime-2.6-4.fc35.noarch and python3-parsedatetime-2.6-2.fc34.noarch - package certbot-1.20.0-1.fc34.noarch requires python3-certbot = 1.20.0-1.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-parsedatetime-2.6-2.fc34.noarch - cannot install the best update candidate for package certbot-1.20.0-1.fc34.noarch Problem 15: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - cannot install the best update candidate for package python3-libs-3.9.7-1.fc34.x86_64 - cannot install the best update candidate for package fail2ban-server-0.11.2-9.fc34.noarch Problem 16: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package python3-pytz-2021.3-1.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package python3-hawkey-0.64.0-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - cannot install the best update candidate for package python3-pytz-2021.3-1.fc34.noarch - cannot install the best update candidate for package python3-hawkey-0.64.0-1.fc34.x86_64 Problem 17: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package python3-libcomps-0.1.18-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - package fail2ban-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-libcomps-0.1.18-1.fc34.x86_64 - problem with installed package fail2ban-0.11.2-9.fc34.noarch Problem 18: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package python3-libdnf-0.64.0-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - package fail2ban-firewalld-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-libdnf-0.64.0-1.fc34.x86_64 - problem with installed package fail2ban-firewalld-0.11.2-9.fc34.noarch Problem 19: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package python3-unbound-1.13.2-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - package fail2ban-sendmail-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-unbound-1.13.2-1.fc34.x86_64 - problem with installed package fail2ban-sendmail-0.11.2-9.fc34.noarch Problem 20: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package sudo-python-plugin-1.9.7p2-2.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - package fail2ban-systemd-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package sudo-python-plugin-1.9.5p2-1.fc34.x86_64 - problem with installed package fail2ban-systemd-0.11.2-9.fc34.noarch Problem 21: package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package unbound-libs-1.13.2-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - package fail2ban-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package unbound-libs-1.13.2-1.fc34.x86_64 - cannot install the best update candidate for package fail2ban-0.11.2-9.fc34.noarch Problem 22: python3-3.10.0-1.fc35.i686 has inferior architecture - package python3-pyOpenSSL-20.0.1-4.fc35.noarch requires python(abi) = 3.10, but none of the providers can be installed - cannot install both python3-3.10.0-1.fc35.x86_64 and python3-3.9.7-1.fc34.x86_64 - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - package python3-twisted+tls-21.7.0-2.fc35.noarch requires python3.10dist(pyopenssl) >= 16, but none of the providers can be installed - package fail2ban-firewalld-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-twisted+tls-21.2.0-2.fc34.noarch - cannot install the best update candidate for package fail2ban-firewalld-0.11.2-9.fc34.noarch Problem 23: package python3-libcomps-0.1.18-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package python3-dnf-4.9.0-1.fc35.noarch requires python3-libcomps >= 0.1.8, but none of the providers can be installed - package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - package python3-libcomps-0.1.18-1.fc34.x86_64 requires libcomps(x86-64) = 0.1.18-1.fc34, but none of the providers can be installed - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - cannot install both libcomps-0.1.18-1.fc35.x86_64 and libcomps-0.1.18-1.fc34.x86_64 - package fail2ban-sendmail-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - cannot install the best update candidate for package python3-dnf-4.9.0-1.fc34.noarch - cannot install the best update candidate for package libcomps-0.1.18-1.fc34.x86_64 - cannot install the best update candidate for package fail2ban-sendmail-0.11.2-9.fc34.noarch Problem 24: package python3-libdnf-0.64.0-1.fc35.x86_64 requires libpython3.10.so.1.0()(64bit), but none of the providers can be installed - cannot install both python3-libs-3.10.0-1.fc35.x86_64 and python3-libs-3.9.7-1.fc34.x86_64 - package python3-dnf-4.9.0-1.fc35.noarch requires python3-libdnf, but none of the providers can be installed - package python3-dnf-4.9.0-1.fc35.noarch requires python3-libdnf >= 0.64.0, but none of the providers can be installed - package python3-3.9.7-1.fc34.x86_64 requires python3-libs(x86-64) = 3.9.7-1.fc34, but none of the providers can be installed - package python3-libdnf-0.64.0-1.fc34.x86_64 requires libdnf(x86-64) = 0.64.0-1.fc34, but none of the providers can be installed - package fail2ban-server-0.11.2-9.fc34.noarch requires python(abi) = 3.9, but none of the providers can be installed - cannot install both libdnf-0.64.0-1.fc35.x86_64 and libdnf-0.64.0-1.fc34.x86_64 - package fail2ban-systemd-0.11.2-9.fc34.noarch requires fail2ban-server = 0.11.2-9.fc34, but none of the providers can be installed - package dnf-4.9.0-1.fc35.noarch requires python3-dnf = 4.9.0-1.fc35, but none of the providers can be installed - cannot install the best update candidate for package libdnf-0.64.0-1.fc34.x86_64 - cannot install the best update candidate for package fail2ban-systemd-0.11.2-9.fc34.noarch - cannot install the best update candidate for package dnf-4.9.0-1.fc34.noarch ================================================================================================================================================== Package Architecture Version Repository Size ================================================================================================================================================== Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): libcomps x86_64 0.1.18-1.fc35 fedora 77 k libdnf x86_64 0.64.0-1.fc35 fedora 646 k php-common x86_64 8.0.11-1.fc35 fedora 814 k python3 x86_64 3.10.0-1.fc35 fedora 25 k python3-augeas noarch 1.1.0-2.fc35 fedora 39 k python3-configargparse noarch 1.4.1-2.fc35 fedora 37 k python3-configobj noarch 5.0.6-25.fc35 fedora 63 k python3-cryptography x86_64 3.4.7-5.fc35 fedora 695 k python3-distro noarch 1.6.0-1.fc35 fedora 38 k python3-josepy noarch 1.9.0-1.fc35 fedora 102 k python3-libs x86_64 3.10.0-1.fc35 fedora 7.5 M python3-parsedatetime noarch 2.6-4.fc35 fedora 80 k python3-pyOpenSSL noarch 20.0.1-4.fc35 fedora 90 k python3-pytz noarch 2021.1-4.fc35 fedora 47 k python3-setuptools noarch 57.4.0-1.fc35 fedora 928 k python3-six noarch 1.16.0-4.fc35 fedora 36 k Skipping packages with broken dependencies: dnf noarch 4.9.0-1.fc35 fedora 448 k python3-dnf noarch 4.9.0-1.fc35 fedora 417 k python3-hawkey x86_64 0.64.0-1.fc35 fedora 112 k python3-libcomps x86_64 0.1.18-1.fc35 fedora 48 k python3-libdnf x86_64 0.64.0-1.fc35 fedora 781 k python3-ndg_httpsclient noarch 0.5.1-11.fc35 fedora 52 k python3-pyrfc3339 noarch 1.1-9.fc35 fedora 18 k python3-twisted+tls noarch 21.7.0-2.fc35 fedora 9.7 k python3-unbound x86_64 1.13.2-1.fc35 fedora 100 k sudo-python-plugin x86_64 1.9.7p2-2.fc35 fedora 55 k unbound-libs x86_64 1.13.2-1.fc35 fedora 537 k Transaction Summary ================================================================================================================================================== Skip 27 Packages Nothing to do. Complete!
As I wrote, reinstallation of PHP packages and problematic Python dependencies: certbot fail2ban fail2ban-firewalld fail2ban-sendmail fail2ban-server fail2ban-systemd python3-acme python3-certbot python3-certbot-apache python3-josepy python3-ndg_httpsclient python3-pyOpenSSL python3-pyrfc3339 python3-pytz python3-service-identity python3-twisted+tls did the trick. All packages are up to date now. # rpm -qa | grep f34 returns nothing. This is a recurrent problem during updates between releases. Nothing super serious, when I know what to do.
Do I understand correctly that you do Fedora upgrade using `dnf update --release=35`? That's not a supported method, please use system-upgrade plugin - see https://docs.fedoraproject.org/en-US/quick-docs/upgrading/ and https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/. The reason why `dnf upgrade` might not work is that sometimes even downgrade of some packages is required during transition to a newer version of Fedora. If you for some reason do not want to use `dnf system-upgrade`, you might want to try the `distrosync` method (see https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-online/). But remember - this method is not supported.
Thank You. I'm using --release=n+1 method since Fedora 31 and it were always successful, with minor tweaks along the way. I'll try system-upgrade plugin next time.
I believe the problem is caused by using unsupported Fedora upgrade method. The Fedora distro upgrade requires downgrading the `php-pecl-zip` package (because version 1.20 is not part of F35) which is not achievable by using `dnf upgrade` command. Please do use system-upgrade for transition to a newer Fedora version. Fedora 34: # dnf repoquery php-pecl-zip php-pecl-zip-0:1.19.2-2.fc34.x86_64 php-pecl-zip-0:1.20.0-1.fc34.x86_64 <- this is installed version Fedora 35: # dnf repoquery php-pecl-zip --release=35 php-pecl-zip-0:1.19.4-1.fc35.x86_64 Please do not hesitate to re-open the bug if those problems occured using system-upgrade command.