question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CentOS 8 run.py amavis install failure

See original GitHub issue

Impacted versions

Latest?

  • installer used: Yes

Steps to reproduce

Centos8 running ./run.py [domain]

leads to: [root@mail modoboa-installer]# ./run.py [domain]
Welcome to Modoboa installer!

Warning:
Before you start the installation, please make sure the following DNS records exist for domain [domain]':
mail IN A <IP ADDRESS OF YOUR SERVER>
IN MX mail.[domain].

Your mail server will be installed with the following components:
modoboa automx amavis clamav dovecot nginx razor postfix postwhite spamassassin uwsgi radicale opendkim
Do you confirm? (Y/n) y
The process can be long, feel free to take a coffee and come back later ;)
Starting...
Overwrite the existing SSL certificate? (y/N) y
Generating new self-signed certificate
Installing amavis
Failed to install dependencies

cause appears to be amavis doesn’t appear to exist in CentOS8: [root@mail modoboa-installer]# yum install amavis
Last metadata expiration check: 0:31:00 ago on Mon 23 Dec 2019 21:14:32 GMT.
No match for argument: amavis
Error: Unable to find a match
[root@mail modoboa-installer]#

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ShahinSorkhcommented, Nov 13, 2020

amavis exists on centos-8 at the moment

Last metadata expiration check: 1:32:38 ago on Fri 13 Nov 2020 11:15:10 AM CET. =================================================================== Name Exactly Matched: amavis ==================================================================== amavis.noarch : Email filter with virus scanner and spamassassin support ================================================================== Name & Summary Matched: amavis =================================================================== amavis-doc.noarch : Amavis doc files amavis-snmp.noarch : Exports amavis SNMP data amavisd-new-doc.noarch : amavisd-new doc files amavisd-new-snmp.noarch : Exports amavisd SNMP data amavisd-milter.x86_64 : Sendmail milter for amavisd-new using the AM.PDP protocol ======================================================================= Name Matched: amavis ======================================================================== amavisd-new.noarch : Email filter with virus scanner and spamassassin support

But another problem is these packages are missing: cabextract, lrzip, unar, unzoo

1reaction
pappastechcommented, Jan 4, 2020

I just tried this as well. The issue is that the installer was developed and tested on CentOS 7 and at least some of the official package names have changed between version 7 and version 8. Amavis is actually not the issue as the name of the package is amavisd-new in both. However, cabextract and lrzip don’t have packages available in the base official repos.

You’re better off installing version 7 and trying the installation again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CentOS 8 run.py amavis install failure · Issue #302 - GitHub
I just tried this as well. The issue is that the installer was developed and tested on CentOS 7 and at least some...
Read more >
Setting Up Amavis and ClamAV on CentOS 8/RHEL 8 Mail ...
If your RAM runs out, you are going to have troubles like mail server going offline or unresponsive. Step 1: Install Amavis on...
Read more >
Amavisd-new, ClamAV and SpamAssassin - CentOS Wiki
As the Amavisd-new documentation states, Amavisd-new works "best with Postfix, fine with dual-sendmail setup and Exim v4, works with sendmail/ ...
Read more >
Clamav on Centos 8 installation - Server Fault
There are some solutions mentioned in the "clamd will not start" post, that may help with solving this " ERROR: Could not connect...
Read more >
How can I check the status of ClamAV and fix any problems?
You can click on the Active or Inactive in the status column to get more information. Clamd status. Check the Status of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found