I seem to be having issues with curl not updating in a Toolbox container because libnghttp2 can’t seem to update?
This is the error I’m seeing.
➜ ~
> sudo dnf update -y
Repository packages-microsoft-com-prod is listed more than once in the configuration
Last metadata expiration check: 0:05:37 ago on Thu Dec 15 07:27:35 2022.
Dependencies resolved.
Problem 1: package libcurl-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- cannot install the best update candidate for package libcurl-7.82.0-9.fc36.x86_64
- package libnghttp2-1.51.0-1.fc36.x86_64 is filtered out by modular filtering
Problem 2: package curl-7.82.0-11.fc36.x86_64 requires libcurl(x86-64) >= 7.82.0-11.fc36, but none of the providers can be installed
- package libcurl-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- package libcurl-minimal-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- cannot install the best update candidate for package curl-7.82.0-9.fc36.x86_64
- package libnghttp2-1.51.0-1.fc36.x86_64 is filtered out by modular filtering
=====================================================================================================================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================================================================================================================
Skipping packages with broken dependencies:
curl x86_64 7.82.0-11.fc36 updates 309 k
libcurl x86_64 7.82.0-11.fc36 updates 301 k
libcurl-minimal x86_64 7.82.0-11.fc36 updates 233 k
Transaction Summary
=====================================================================================================================================================================================================================
Skip 3 Packages
Nothing to do.
Complete!
So, I searched around and saw I should use --allowerasing --best
and got a different error. These I’ve never figured out how to fix.
➜ ~
> sudo dnf update -y --allowerasing --best
Repository packages-microsoft-com-prod is listed more than once in the configuration
Last metadata expiration check: 0:05:45 ago on Thu Dec 15 07:27:35 2022.
Error:
Problem 1: cannot install the best update candidate for package libcurl-7.82.0-9.fc36.x86_64
- problem with installed package libcurl-7.82.0-9.fc36.x86_64
- package libcurl-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- package libnghttp2-1.51.0-1.fc36.x86_64 is filtered out by modular filtering
Problem 2: cannot install the best update candidate for package curl-7.82.0-9.fc36.x86_64
- problem with installed package curl-7.82.0-9.fc36.x86_64
- package curl-7.82.0-11.fc36.x86_64 requires libcurl(x86-64) >= 7.82.0-11.fc36, but none of the providers can be installed
- package libcurl-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- package libcurl-minimal-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- package libnghttp2-1.51.0-1.fc36.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)
Then I think I saw someone say try to install it, but that failed. I’m hesitant to uninstall curl as I think most of this depends on that anyways.
➜ ~
> sudo dnf install curl --assumeyes --allowerasing --best
Repository packages-microsoft-com-prod is listed more than once in the configuration
Last metadata expiration check: 0:05:51 ago on Thu Dec 15 07:27:35 2022.
Package curl-7.82.0-9.fc36.x86_64 is already installed.
Error:
Problem: package curl-7.82.0-11.fc36.x86_64 requires libcurl(x86-64) >= 7.82.0-11.fc36, but none of the providers can be installed
- package libcurl-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- package libcurl-minimal-7.82.0-11.fc36.x86_64 requires libnghttp2(x86-64) >= 1.51.0, but none of the providers can be installed
- cannot install the best candidate for the job
- package libnghttp2-1.51.0-1.fc36.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)
I’m working in a Toolbox container currently that is running Fedora 36. The host is running Fedora 37.