Author Topic: packages update error AlmaLinux 8  (Read 131 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
packages update error AlmaLinux 8
« on: October 10, 2025, 12:53:58 PM »
In a fresh VPS with Almalinux8

I have tried to do:

dnf -update


Error:
 Problem: package perl-IO-Compress-2.081-1.el8.noarch from @System requires perl(Compress::Raw::Zlib) >= 2.081, but none of the providers can be installed
  - cannot install both perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64 from base and perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 from @System
  - cannot install both perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 from baseos and perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64 from base
  - cannot install the best update candidate for package perl-IO-Compress-2.081-1.el8.noarch
  - cannot install the best update candidate for package perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
  - package perl-Compress-Raw-Zlib-2.093-1.module_el8.3.0+6149+d2c5d96d.x86_64 from appstream is filtered out by modular filtering
  - package perl-Compress-Raw-Zlib-2.096-2.module_el8.10.0+3779+d5938d28.x86_64 from appstream is filtered out by modular filtering
(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)


Any idea?

Offline
*
Re: packages update error AlmaLinux 8
« Reply #1 on: October 10, 2025, 12:58:27 PM »
Hi,

Try to do this commands in SSH:
sudo dnf clean all
sudo dnf update

if the error is still there, you can try to update anyway:
sudo dnf update --allowerasing

Offline
*
Re: packages update error AlmaLinux 8
« Reply #2 on: October 10, 2025, 01:06:28 PM »
same problem :(

Code: [Select]
Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:00:27 ago on Fri Oct 10 13:04:30 2025.
Error:
 Problem: package amavis-2.13.1-1.el8.noarch from @System requires perl(Amavis), but none of the providers can be installed
  - package amavis-2.13.1-1.el8.noarch from @System requires perl(Amavis::Boot), but none of the providers can be installed
  - package amavis-2.13.1-1.el8.noarch from @System requires perl(Amavis::Util), but none of the providers can be installed
  - package amavis-2.13.1-1.el8.noarch from @System requires perl-Amavis = 2.13.1-1.el8, but none of the providers can be installed
  - package perl-Amavis-2.13.1-1.el8.noarch from epel requires perl(Compress::Zlib) >= 1.35, but none of the providers can be installed
  - package perl-Amavis-2.13.1-1.el8.noarch from @System requires perl(Compress::Zlib) >= 1.35, but none of the providers can be installed
  - cannot install the best update candidate for package perl-IO-Compress-2.081-1.el8.noarch
  - package perl-IO-Compress-2.081-1.el8.noarch from @System requires perl(Compress::Raw::Zlib) >= 2.081, but none of the providers can be installed
  - package perl-IO-Compress-2.081-1.el8.noarch from baseos requires perl(Compress::Raw::Zlib) >= 2.081, but none of the providers can be installed
  - cannot install both perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64 from base and perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 from @System
  - cannot install both perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 from baseos and perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64 from base
  - package amavis-2.13.1-1.el8.noarch from @System requires perl(Compress::Raw::Zlib) >= 2.017, but none of the providers can be installed
  - cannot install the best update candidate for package perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
  - package perl-Compress-Raw-Zlib-2.074-2.module_el8.1.0+6019+b22674e1.x86_64 from appstream is filtered out by modular filtering
  - package perl-Compress-Raw-Zlib-2.093-1.module_el8.3.0+6149+d2c5d96d.x86_64 from appstream is filtered out by modular filtering
  - package perl-Compress-Raw-Zlib-2.096-2.module_el8.10.0+3779+d5938d28.x86_64 from appstream is filtered out by modular filtering
  - cannot install the best update candidate for package amavis-2.13.1-1.el8.noarch
  - problem with installed package amavis-2.13.1-1.el8.noarch
  - package perl-IO-Compress-2.074-2.module_el8.1.0+6019+b22674e1.noarch from appstream is filtered out by modular filtering
  - package perl-IO-Compress-2.093-1.module_el8.3.0+6149+d2c5d96d.noarch from appstream is filtered out by modular filtering
  - package perl-IO-Compress-2.096-1.module_el8.6.0+2766+8bf0b7ce.noarch from appstream is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Offline
*
Re: packages update error AlmaLinux 8
« Reply #3 on: October 10, 2025, 01:30:26 PM »
Check:
ls /etc/yum.repos.d/

See if you have duplicated repos there or show here

The issue appears to be with amavis package.

Offline
*
Re: packages update error AlmaLinux 8
« Reply #4 on: October 10, 2025, 02:51:32 PM »
Code: [Select]
[root@server yum.repos.d]# ll
total 88
-rw-r--r--  1 root root  822 Oct 10 03:26 CentOS-Base.repo
-rw-r--r--. 1 root root  943 May 22  2024 almalinux-ha.repo
-rw-r--r--. 1 root root  905 May 22  2024 almalinux-nfv.repo
-rw-r--r--. 1 root root  885 May 22  2024 almalinux-plus.repo
-rw-r--r--. 1 root root  963 Sep 30 12:51 almalinux-powertools.repo
-rw-r--r--. 1 root root 1041 May 22  2024 almalinux-resilientstorage.repo
-rw-r--r--. 1 root root  871 May 22  2024 almalinux-rt.repo
-rw-r--r--. 1 root root  873 May 22  2024 almalinux-sap.repo
-rw-r--r--. 1 root root  928 May 22  2024 almalinux-saphana.repo
-rw-r--r--. 1 root root 2666 May 22  2024 almalinux.repo
-rw-r--r--. 1 root root  146 Sep 27 20:34 cwp.repo
-rw-r--r--  1 root root 1680 Apr 22 17:22 epel-modular.repo
-rw-r--r--  1 root root 1779 Apr 22 17:22 epel-testing-modular.repo
-rw-r--r--  1 root root 1431 Apr 22 17:22 epel-testing.repo
-rw-r--r--  1 root root 1392 Oct  2 17:20 epel.repo
-rw-r--r--  1 root root 1332 Apr 22 17:22 epel.repo.rpmnew
-rw-r--r--  1 root root 2485 Oct  6 09:22 getpagespeed-extras.repo.rpmsave
-rw-r--r--  1 root root  180 Sep 30 20:07 mariadb.repo
-rw-r--r--  1 root root  180 Sep 30 18:45 mariadb.repo.bak
-rw-r--r--  1 root root  579 Sep 30 20:21 nginx-alpn_mainline.repo
-rw-r-----  1 root root  109 Oct 10 03:26 nginx.repo
-rw-r--r--  1 root root  603 Sep 30 13:10 varnishcache_varnish64.repo

Offline
*****
Re: packages update error AlmaLinux 8
« Reply #5 on: October 10, 2025, 06:27:28 PM »
How did you install AlmaLinux? Starburst's guide for AlmaLinux 9 is almost the same for 8 -- substitute 8 for 9 where appropriate. Did you install the EPEL and ELrepo repositories? Do you have all the prerequisites (including perl modules)?
You can't have any services installed before installing CWP.

So if Apache is working 'out of the box', you are installing AlmaLinux 9.4 LAMP.
That won't work.

Reimage with the bare AlmaLinux 9.4 (DVD)

Setup your networking, hostname, timzone.

Then:

Code: [Select]
dnf install dnf-plugins-core
Code: [Select]
dnf install elrepo-release epel-release -y
Code: [Select]
/usr/bin/crb enable
Code: [Select]
dnf --refresh update
Code: [Select]
dnf install nano wget ipset ebtables iptables uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf ImageMagick ImageMagick-devel -y
Code: [Select]
dnf --refresh update
Code: [Select]
dnf install clamav* clamd
Code: [Select]
dnf clean all
Code: [Select]
cd /usr/local/src
Code: [Select]
wget http://centos-webpanel.com/cwp-el9-latest
Code: [Select]
sh cwp-el9-latest
Code: [Select]
dnf install spamassassin amavis
To updated MariaDB follow:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/

Reboot

Configure & Start CSF

Offline
*****
Re: packages update error AlmaLinux 8
« Reply #6 on: October 11, 2025, 02:01:54 PM »
@overseer

Please reframe posting any of our help or articles in the furture when 'djprmf' is helping in a thread, that user made it clear our help and knowledge is not wanted by other users...