1

Topic: Package 'libclamunrar9' has no installation candidate

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi There,

Current installing items as below:
iRedMail version :iRedMail-1.2.1
Deployed with the downloadable installer
Linux/BSD distribution name and version: Ubuntu 18.04.4 LTS
Web server: Nginx

After install thought bash iRedMail.sh

Encountered an error as follows:

Package libclamunrar9 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libclamunrar9' has no installation candidate
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/

I tried to install libclamunrar9, same issued.

sudo apt-get install libclamunrar9
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libclamunrar9 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libclamunrar9' has no installation candidate

Can you help whether i have missed?
Thanks in advance.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Package 'libclamunrar9' has no installation candidate

Have you updated your system with the latest patches using

 apt update 

and

 apt upgrade 

Cheers ws

3

Re: Package 'libclamunrar9' has no installation candidate

websavages wrote:

Have you updated your system with the latest patches using

 apt update 

and

 apt upgrade 

Cheers ws

Thank you for reply.

Yes, done.

Installation step as follow:
Prepared FQDN, mx.example.com

Downlaod sstable v1.2.1 at https://github.com/iredmail/iRedMail/re … 2.1.tar.gz

cd  iRedMail-1.2.1
ash iRedMail.sh

Fellow instruction at https://docs.iredmail.org/install.iredm … -installer
Directory: /var/vmail
Back-end: MySQL
All components 
till occurred the above error.


But for Preparations, below condition, whether it's reason caused ? because not sure it's enable or not.
"Enable default official Debian/Ubuntu apt repositories
iRedMail needs official Debian/Ubuntu apt repositories, please enable them in /etc/apt/sources.list."

4

Re: Package 'libclamunrar9' has no installation candidate

Try googling "enable official ubuntu apt repositories" and see where that leads you.

5

Re: Package 'libclamunrar9' has no installation candidate

Try command below, let's see which version you have:

apt update
apt-cache search libclamunrar

6 (edited by ncoppens01 2020-06-02 16:19:26)

Re: Package 'libclamunrar9' has no installation candidate

I have exactly the same problem. Running a clean updated ubuntu bionic install.
All repositories are enabled.

Did the same on another vps at the same host (same ubuntu 18.04 image) 3 days ago where it installed fine.

7

Re: Package 'libclamunrar9' has no installation candidate

Package libclamunrar9 is available in the "multiverse" repo:
https://packages.ubuntu.com/bionic/libclamunrar9

And iRedMail installer enables this repo by default:
https://github.com/iredmail/iRedMail/bl … ll.sh#L286

As a temporary fix, you can try to enable it manually, then run iRedMail installer again:

apt-add-repository multiverse