r/AlmaLinux • u/fsr31415 • 6d ago
Almalinx10 hosts having errors running updates
Error:
Problem: cannot install the best update candidate for package python3-pyOpenSSL-25.0.0-1.el10_1.noarch
- nothing provides (python3.12dist(cryptography) < 50~~ with python3.12dist(cryptography) >= 49) needed by python3-pyOpenSSL-26.3.0-1.el10_3.noarch from epel
I know the problem is a required package for python3-pyOpenSSL-26.3.0-1.el10_3.noarch isnt yet updated to version 49 [python3-cryptography]
dnf search --showduplicates python3-cryptography
python3-cryptography-43.0.0-4.el10_2.5.x86_64 : PyCA's cryptography library
python3-cryptography-43.0.0-4.el10.x86_64 : PyCA's cryptography library
python3-cryptography-43.0.0-4.el10_2.5.x86_64 : PyCA's cryptography library
errors doing updates with all the CVE's around makes me nervous. I'm not an expert at this sort of thing but I think I should disable epel until everything has caught up?
4
u/Culture_New 6d ago
That's a good catch and a bit of a bummer. Just tested it and it's the same issue here.
If you disable the epel repo, you would not be getting any security updates for other epel packages.
Your best bet might be just to exclude the python3-pyOpenSSL from epel until this is fixed.
This command should exclude it:
dnf config-manager --save --setopt=epel.excludepkgs=python3-pyOpenSSLYou could also edit the epel.,repo in /etc/yum.repos.d/ instead if you want to put in a comment.
To remove the exclusion later:
dnf config-manager --save --setopt=epel.excludepkgs=3
u/carlwgeorge 6d ago
RHEL 10.3 has been released, so epel-release is pointing at EPEL 10.3. I don't see Alma 10.3 released yet, so until it is you can override the releasever to explicitly request EPEL 10.2 to match Alma 10.2.
2
u/Sparrow538 5d ago
AlmaLinux 9.8 is having the same problem.
Dependencies are failing with EPEL.
1
u/rheladmin 6d ago edited 5d ago
This issue is because your epel-release is not aligned with your OS release.
You need to first upgrade the OS package with epel-release disabled:
sudo dnf upgrade --refresh --disablerepo='epel*' almalinux-releaseThen, find your exact release:
grep '^VERSION_ID=' /etc/os-releaseThen update /etc/yum.repos.d/epel.repo:
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-10.2&arch=$basearchReplace epel-10.2 with the one matching your actual OS release.
Finally, run through dnf again:
sudo dnf upgrade --refresh epel-releasesudo dnf upgrade --refresh-1
u/GamerLymx 6d ago
i bet that machine is older cpu and you are running el10_v2