Hi,
I'm trying to upgrade a system here and am having some difficulty with dnf. Could I get some help or tips or suggestions please?
Below is what I would enter in a bugzilla.redhat.com bug report. I thought I'd check here first in case I've done something stupid.
Thanks,
George...
Description of problem:
Attempting to upgrade this system. First try revealed errors with "nut" and "gnutls" so I reran the command adding --exclude='nut-*' and --exclude='gnutls*'. This retry listed several other packages with problems. Second try, adding --exclude='kdevelop*' and --exclude='python*'. This resulted in the "protected packages" message.
It's clear that there's a bug here or (probably) I don't understand dnf as well as I thought.
Version-Release number of selected component (if applicable): dnf-4.2.21-1.fc33.noarch
How reproducible: always for now
Steps to Reproduce: 1.see below 2. 3.
Actual results: see below
Expected results: clean and successful system upgrade
Additional info:
fc33-bash 5.0 /donez# /usr/bin/dnf -y --noautoremove --refresh --skip-broken --best --allowerasing --exclude='gnutls-*' --exclude='nut*' upgrade Fedora 33 openh264 (From Cisco) - x86_64 1.6 kB/s | 986 B 00:00 Fedora - Rawhide - Developmental packages for the next Fedora release 32 kB/s | 14 kB 00:00 Error: Problem 1: cannot install the best update candidate for package thonny-3.2.7-2.fc32.noarch - problem with installed package thonny-3.2.7-2.fc32.noarch - nothing provides python3.9dist(asttokens) >= 1.1.10 needed by thonny-3.2.7-3.fc33.noarch Problem 2: cannot install the best update candidate for package pdfarranger-1.5.3-1.fc33.noarch - problem with installed package pdfarranger-1.5.3-1.fc33.noarch - nothing provides python3.9dist(pikepdf) >= 1.7 needed by pdfarranger-1.5.3-2.fc33.noarch Problem 3: cannot install the best update candidate for package kdevelop-libs-9:5.5.1-1.fc33.x86_64 - problem with installed package kdevelop-libs-9:5.5.1-1.fc33.x86_64 - nothing provides libprocesscore.so.9()(64bit) needed by kdevelop-libs-9:5.5.1-2.fc33.x86_64 - nothing provides libprocessui.so.9()(64bit) needed by kdevelop-libs-9:5.5.1-2.fc33.x86_64 Problem 4: cannot install the best update candidate for package kdevelop-9:5.5.1-1.fc33.x86_64 - problem with installed package kdevelop-9:5.5.1-1.fc33.x86_64 - package kdevelop-9:5.5.1-2.fc33.x86_64 requires kdevelop-libs(x86-64) = 9:5.5.1-2.fc33, but none of the providers can be installed - nothing provides libprocesscore.so.9()(64bit) needed by kdevelop-libs-9:5.5.1-2.fc33.x86_64 - nothing provides libprocessui.so.9()(64bit) needed by kdevelop-libs-9:5.5.1-2.fc33.x86_64 Problem 5: cannot install the best update candidate for package gnutls-3.6.13-3.fc33.x86_64 - cannot install both gnutls-3.6.13-6.fc33.x86_64 and gnutls-3.6.13-3.fc33.x86_64 - package gnutls-c++-3.6.13-3.fc33.x86_64 requires gnutls(x86-64) = 3.6.13-3.fc33, but none of the providers can be installed - problem with installed package gnutls-c++-3.6.13-3.fc33.x86_64 Problem 6: cannot install the best update candidate for package gnutls-3.6.13-3.fc33.i686 - cannot install both gnutls-3.6.13-6.fc33.i686 and gnutls-3.6.13-3.fc33.i686 - package gnutls-c++-3.6.13-3.fc33.i686 requires gnutls(x86-32) = 3.6.13-3.fc33, but none of the providers can be installed - problem with installed package gnutls-c++-3.6.13-3.fc33.i686 Problem 7: cannot install the best update candidate for package python3-3.8.3-1.fc33.x86_64 - cannot install both python3-3.9.0~b1-4.fc33.x86_64 and python3-3.8.3-1.fc33.x86_64 - python3-3.8.3-1.fc33.i686 has inferior architecture - package nut-client-2.7.4-27.fc32.x86_64 requires python(abi) = 3.8, but none of the providers can be installed - problem with installed package nut-client-2.7.4-27.fc32.x86_64 Problem 8: cannot install the best update candidate for package python3-devel-3.8.3-1.fc33.x86_64 - problem with installed package python3-devel-3.8.3-1.fc33.x86_64 - package python3-devel-3.9.0~b1-4.fc33.x86_64 conflicts with python3 < 3.9.0~b1-4.fc33 provided by python3-3.8.3-1.fc33.x86_64 - package nut-client-2.7.4-27.fc32.x86_64 requires python(abi) = 3.8, but none of the providers can be installed - cannot install the best update candidate for package python3-3.8.3-1.fc33.i686 - cannot install both python3-3.9.0~b1-4.fc33.i686 and python3-3.8.3-1.fc33.i686 - package nut-2.7.4-27.fc32.x86_64 requires libupsclient.so.4()(64bit), but none of the providers can be installed - problem with installed package nut-2.7.4-27.fc32.x86_64 - package nut-client-2.7.4-30.fc33.x86_64 is filtered out by exclude filtering
fc33-bash 5.0 /donez# /usr/bin/dnf -y --noautoremove --refresh --skip-broken --best --allowerasing --exclude='gnutls-*' --exclude='nut*' --exclude='kdevelop*' --exclude='python*' upgrade Fedora 33 openh264 (From Cisco) - x86_64 177 B/s | 986 B 00:05 Fedora - Rawhide - Developmental packages for the next Fedora release 43 kB/s | 14 kB 00:00 Error: Problem: The operation would result in removing the following protected packages: dnf
On 6/3/20 1:41 PM, George R Goffe via users wrote:
Description of problem:
Attempting to upgrade this system. First try revealed errors with "nut" and "gnutls" so I reran the command adding --exclude='nut-*' and --exclude='gnutls*'. This retry listed several other packages with problems. Second try, adding --exclude='kdevelop*' and --exclude='python*'. This resulted in the "protected packages" message.
It's clear that there's a bug here or (probably) I don't understand dnf as well as I thought.
Version-Release number of selected component (if applicable): dnf-4.2.21-1.fc33.noarch
This is a rawhide system, so someone is certainly going to tell you that you should post this on the test list instead. So there, I just did it. :-)
It is not unusual for rawhide to have periods of time where upgrades of certain packages have issues because that's where development is happening. I know there are two very large updates in progress, so you're likely hitting an issue with one or both of those. I see a reference to python3.9 in there, so very likely. Give it a few days to settle down and try again. That's quite the combination of dnf options you've put together, I'm not sure how well they all work together.
Maybe just try "--skip-broken" for now and if that doesn't work, try later.