ymu problem with package libnghttp2-devel

Perfh

Verified User
Joined
Aug 19, 2007
Messages
23
Location
France
Hello !

Since this morning I have a problem with my server using RHEL 8.5 :

yum update
Failed to set locale, defaulting to C.UTF-8
Updating Subscription Management repositories.
Last metadata expiration check: 0:58:53 ago on Sun Jul 7 14:46:52 2024.
Error:
Problem: package libnghttp2-devel-1.33.0-5.el8_9.x86_64 from @System requires libnghttp2(x86-64) = 1.33.0-5.el8_9, but none of the providers can be installed
- cannot install both libnghttp2-1.33.0-6.el8_10.1.x86_64 from rhel-8-for-x86_64-baseos-rpms and libnghttp2-1.33.0-5.el8_9.x86_64 from @System
- cannot install both libnghttp2-1.33.0-6.el8_10.1.x86_64 from rhel-8-for-x86_64-baseos-rpms and libnghttp2-1.33.0-5.el8_9.x86_64 from rhel-8-for-x86_64-baseos-rpms
- cannot install the best update candidate for package libnghttp2-1.33.0-5.el8_9.x86_64
- problem with installed package libnghttp2-devel-1.33.0-5.el8_9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

/usr/local/directadmin/directadmin version
DirectAdmin v.1.664 e660b56ef8fc2a8ff370c15d2f0b70dfe9d4697d
cat /proc/version
Linux version 4.18.0-553.5.1.el8_10.x86_64 ([email protected]) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-22) (GCC)) #1 SMP Tue May 21 03:13:04 EDT 2024

Do you have any advice to fix that?

Thanks for help !
 
did you try recommended:
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
 
Not for the moment because I prefer an opinion before possibly doing the manipulation and maybe breaking something.

--allowerasing would be without too much risk?
 
For follow-up, I tested the command line with --allowerasing ; problem fixed.
All is working fine and libnghttp2-1.33.0-6 was installed
 
sometime I have problem like this too, because some mirror doesn't sync package correctly. so I just "yum clean all" and "yum update" until got correct repo sync from other mirror location.

that's why I never push autoupdate in cronjob.
 
Back
Top