1

Topic: Problem installing the iRedMail dependecies missing

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

When I tried to install the iRedMail it tries to download some dependecies but it fail to find them and the installation fails.

See below the output from the terminal

mailkronos@mail:~/iRedMail-1.4.2$ sudo bash iRedMail.sh
[sudo] password for mailkronos:
[ INFO ] Checking configuration file: /home/mailkronos/iRedMail-1.4.2/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /home/mailkronos/iRedMail-1.4.2/config for mail server setting.
[ INFO ] Import installation process status from file: /home/mailkronos/iRedMail-1.4.2/runtime/install.status.
[ INFO ] Installing package(s): python3-setuptools python3-pip python3-wheel python3-requests uwsgi uwsgi-plugin-python3 postfix postfix-pcre libsasl2-modules postgresql postgresql-client postgresql-contrib postfix-pgsql libdbd-pg-perl php-cli php-fpm php-json php-gd php-curl mcrypt php-intl php-xml php-mbstring php-zip php-pgsql nginx-full dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-pgsql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj nomarch cpio lzop cabextract p7zip-full rpm libmail-spf-perl unrar-free pax lrzip libclamunrar9 mlmmj python3-psycopg2 python3-sqlalchemy python3-dnspython python3-psycopg2 python3-jinja2 python3-netifaces python3-bcrypt python3-dnspython python3-simplejson python3-psycopg2 fail2ban geoip-bin geoip-database zlib1g libuuid1 libmnl0 curl lm-sensors netcat bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool nftables
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version (2.2.53-6).
acl set to manually installed.
bzip2 is already the newest version (1.0.8-2).
bzip2 set to manually installed.
cpio is already the newest version (2.13+dfsg-2).
cpio set to manually installed.
cron is already the newest version (3.0pl1-136ubuntu1).
cron set to manually installed.
libmnl0 is already the newest version (1.0.4-2).
libmnl0 set to manually installed.
libsasl2-modules is already the newest version (2.1.27+dfsg-2).
libsasl2-modules set to manually installed.
patch is already the newest version (2.7.6-6).
patch set to manually installed.
python3-jinja2 is already the newest version (2.10.1-2).
python3-netifaces is already the newest version (0.10.4-1ubuntu4).
python3-netifaces set to manually installed.
python3-requests is already the newest version (2.22.0-2ubuntu1).
python3-requests set to manually installed.
python3-setuptools is already the newest version (45.2.0-1).
python3-simplejson is already the newest version (3.16.0-2ubuntu2).
python3-simplejson set to manually installed.
unzip is already the newest version (6.0-25ubuntu1).
lm-sensors is already the newest version (1:3.6.0-2ubuntu1).
python3-wheel is already the newest version (0.34.2-1).
python3-wheel set to manually installed.
bsdutils is already the newest version (1:2.34-0.1ubuntu9.1).
bsdutils set to manually installed.
curl is already the newest version (7.68.0-1ubuntu2.5).
curl set to manually installed.
libuuid1 is already the newest version (2.34-0.1ubuntu9.1).
libuuid1 set to manually installed.
postgresql is already the newest version (12+214ubuntu0.1).
postgresql-contrib is already the newest version (12+214ubuntu0.1).
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu1.2).
zlib1g set to manually installed.
python3-pip is already the newest version (20.0.2-5ubuntu1.5).
The following additional packages will be installed:
  clamav clamav-base clamdscan debugedit dovecot-core gnustep-base-common
  gnustep-base-runtime gnustep-common libarchive-zip-perl libauthen-sasl-perl
  libberkeleydb-perl libclamav9 libcommon-sense-perl libconvert-binhex-perl
  libconvert-tnef-perl libconvert-uulib-perl libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libdate-manip-perl libdbi-perl
  libdigest-bubblebabble-perl libdigest-hmac-perl libdw1 libexttextcat-2.0-0
  libexttextcat-data libgc1c2 libgd3 libgeoip1 libgnustep-base1.26
  libio-multiplex-perl libio-socket-inet6-perl libio-socket-ssl-perl
  libio-stringy-perl libjson-perl libjson-xs-perl liblua5.2-0 liblua5.3-0
  libmail-authenticationresults-perl libmailtools-perl libmcrypt4 libmhash2
  libmime-tools-perl libmspack0 libnet-cidr-lite-perl libnet-cidr-perl
  libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet-libidn-perl
  libnet-patricia-perl libnet-server-perl libnet-smtp-ssl-perl
  libnet-ssleay-perl libnetaddr-ip-perl libnftables1
  libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo
  libnginx-mod-http-geoip libnginx-mod-http-geoip2
  libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libnorm1 libnspr4 libnss3 libobjc4
  libonig5 libperl4-corelibs-perl libpgm-5.2-0 librpm8 librpmbuild8 librpmio8
  librpmsign8 libsocket6-perl libsys-hostname-long-perl libtfm1
  libtypes-serialiser-perl libunix-syslog-perl libwavpack1 libxpm4 libzip5
  libzmq5 nginx-common p7zip perl-openssl-defaults php-common php7.4-cli
  php7.4-common php7.4-curl php7.4-fpm php7.4-gd php7.4-intl php7.4-json
  php7.4-mbstring php7.4-opcache php7.4-pgsql php7.4-readline php7.4-xml
  php7.4-zip python3-pyinotify python3-sqlalchemy-ext re2c rpm-common rpm2cpio
  sa-compile spamc unar uwsgi-core whois
Suggested packages:
  apt-listchanges dspam lhasa libnet-ldap-perl libsnmp-perl libzeromq-perl
  unrar ripole libclamunrar clamav-docs daemon rpm-i18n dovecot-gssapi
  dovecot-ldap dovecot-lucene dovecot-mysql dovecot-solr dovecot-sqlite
  dovecot-submissiond ntp mailx monit sqlite3 libgssapi-perl libclone-perl
  libmldbm-perl libnet-daemon-perl libsql-statement-perl libgd-tools
  libmcrypt-dev liblog-log4perl-perl libsys-cpu-perl libsys-meminfo-perl
  mlmmj-php-web mlmmj-php-web-admin firewalld fcgiwrap nginx-doc p7zip-rar
  php-pear procmail postfix-mysql postfix-ldap postfix-lmdb postfix-sqlite
  resolvconf postfix-cdb mail-reader postfix-doc python-psycopg2-doc
  python-pyinotify-doc python-sqlalchemy-doc python3-mysqldb python3-fdb alien
  python elfutils rpmlint rpm2html razor pyzor libencode-detect-perl
  libgeoip2-perl libbsd-resource-perl pike8.0 | pike7.8 | pike7.6 | pike
  uwsgi-dev uwsgi-extra uwsgi-plugins-all python3-uwsgidecorators
The following NEW packages will be installed:
  altermime amavisd-new arj cabextract clamav clamav-base clamav-daemon
  clamav-freshclam clamdscan debugedit dovecot-core dovecot-imapd
  dovecot-lmtpd dovecot-managesieved dovecot-pgsql dovecot-pop3d dovecot-sieve
  fail2ban geoip-bin geoip-database gnustep-base-common gnustep-base-runtime
  gnustep-common libarchive-zip-perl libauthen-sasl-perl libberkeleydb-perl
  libclamav9 libclamunrar9 libcommon-sense-perl libconvert-binhex-perl
  libconvert-tnef-perl libconvert-uulib-perl libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libdate-manip-perl
  libdbd-pg-perl libdbi-perl libdigest-bubblebabble-perl libdigest-hmac-perl
  libdw1 libexttextcat-2.0-0 libexttextcat-data libgc1c2 libgd3 libgeoip1
  libgnustep-base1.26 libio-multiplex-perl libio-socket-inet6-perl
  libio-socket-ssl-perl libio-stringy-perl libjson-perl libjson-xs-perl
  liblua5.2-0 liblua5.3-0 liblz4-tool libmail-authenticationresults-perl
  libmail-dkim-perl libmail-spf-perl libmailtools-perl libmcrypt4 libmhash2
  libmime-tools-perl libmspack0 libnet-cidr-lite-perl libnet-cidr-perl
  libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet-libidn-perl
  libnet-patricia-perl libnet-server-perl libnet-smtp-ssl-perl
  libnet-ssleay-perl libnetaddr-ip-perl libnftables1
  libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo
  libnginx-mod-http-geoip libnginx-mod-http-geoip2
  libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libnorm1 libnspr4 libnss3 libobjc4
  libonig5 libperl4-corelibs-perl libpgm-5.2-0 librpm8 librpmbuild8 librpmio8
  librpmsign8 libsocket6-perl libsys-hostname-long-perl libtfm1
  libtypes-serialiser-perl libunix-syslog-perl libwavpack1 libxpm4 libzip5
  libzmq5 logwatch lrzip lzop mcrypt mlmmj netcat nftables nginx-common
  nginx-full nomarch p7zip p7zip-full pax perl-openssl-defaults php-cli
  php-common php-curl php-fpm php-gd php-intl php-json php-mbstring php-pgsql
  php-xml php-zip php7.4-cli php7.4-common php7.4-curl php7.4-fpm php7.4-gd
  php7.4-intl php7.4-json php7.4-mbstring php7.4-opcache php7.4-pgsql
  php7.4-readline php7.4-xml php7.4-zip postfix postfix-pcre postfix-pgsql
  postgresql-client python3-bcrypt python3-dnspython python3-psycopg2
  python3-pyinotify python3-sqlalchemy python3-sqlalchemy-ext re2c rpm
  rpm-common rpm2cpio sa-compile spamassassin spamc tofrodos unar unrar-free
  uwsgi uwsgi-core uwsgi-plugin-python3 whois
0 upgraded, 169 newly installed, 0 to remove and 1 not upgraded.
Need to get 6052 kB/32.3 MB of archives.
After this operation, 139 MB of additional disk space will be used.
Err:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 postfix arm64 3.4.13-0ubuntu1
  404  Not Found [IP: 91.189.88.152 80]
Err:2 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 logwatch all 7.5.2-1ubuntu1.2
  404  Not Found [IP: 91.189.88.152 80]
Ign:3 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-common arm64 7.4.3-4ubuntu2.5
Ign:4 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-json arm64 7.4.3-4ubuntu2.5
Ign:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-opcache arm64 7.4.3-4ubuntu2.5
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-readline arm64 7.4.3-4ubuntu2.5
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-cli arm64 7.4.3-4ubuntu2.5
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-curl arm64 7.4.3-4ubuntu2.5
Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-fpm arm64 7.4.3-4ubuntu2.5
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-gd arm64 7.4.3-4ubuntu2.5
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-intl arm64 7.4.3-4ubuntu2.5
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-mbstring arm64 7.4.3-4ubuntu2.5
Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-pgsql arm64 7.4.3-4ubuntu2.5
Ign:14 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-xml arm64 7.4.3-4ubuntu2.5
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-zip arm64 7.4.3-4ubuntu2.5
Err:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 postfix-pcre arm64 3.4.13-0ubuntu1
  404  Not Found [IP: 91.189.88.152 80]
Err:17 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 postfix-pgsql arm64 3.4.13-0ubuntu1
  404  Not Found [IP: 91.189.88.152 80]
Err:3 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-common arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:4 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-json arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:5 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-opcache arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-readline arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-cli arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-curl arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-fpm arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-gd arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-intl arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-mbstring arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-pgsql arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:14 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 php7.4-xml arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
Err:15 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 php7.4-zip arm64 7.4.3-4ubuntu2.5
  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … .2_all.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/po … _arm64.deb  404  Not Found [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
<< 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/

----

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

2

Re: Problem installing the iRedMail dependecies missing

Update your system before invoking iRedMail installation.

sudo apt update
sudo apt upgrade

3

Re: Problem installing the iRedMail dependecies missing

Out of curiosity. Is your machine a Raspbery Pi?