python3-nftables error when updating
AnsweredFor weeks now I've been getting the same error when cPanel updates. Here is the relevant log info:
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] Error:
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] Problem: package python3-nftables-1:1.0.4-3.el8_9.x86_64 requires nftables = 1:1.0.4-3.el8_9, but none of the providers can be installed
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package python3-nftables-1:0.9.3-26.el8.x86_64
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] - package nftables-1:1.0.4-3.el8_9.i686 is filtered out by exclude filtering
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] - package nftables-1:1.0.4-3.el8_9.x86_64 is filtered out by exclude filtering
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[2024-01-02 21:53:14 -0600] [/usr/local/cpanel/scripts/update-packages] (XID 6e573j) “/usr/bin/yum” reported error code “1” when it ended:
[2024-01-02 21:53:14 -0600] E [/usr/local/cpanel/scripts/update-packages] The “/usr/local/cpanel/scripts/update-packages” command (process 2129261) reported error number 1 when it ended.
I checked my /etc/yum.conf and it does not look like python3-nftables is configured to be excluded.
exclude=bind-chroot dovecot* exim* filesystem p0f php* proftpd* pure-ftpd*
I also hadn't changed any exclude configurations when suddenly this error started happening.
-
Hey there! Can you let me know the operating system you're using? Once I know that I can do some additional testing on my end.
0 -
I'm not 100% sure this is the answer you're looking for, but I'm using cPanel with almalinux 8.
0 -
Thanks for the additional details. If you check the /etc/yum.conf file you'll likely find that the package is listed in the exclude line. If not, it may be in the repo directly, which you can check with this command:
grep exclude /etc/yum.repos.d/*
Remove the package from either exclude area you find and that should resolve the issue.
0 -
It took me a bit to figure out how to do this, but for whatever reason nftables was indeed excluded in the repo directory, and I think I was able to remove that. The error has stopped reporting anyway. So thank you for the help!
1 -
I'm glad that's all it was!
0
Please sign in to leave a comment.
Comments
5 comments