1 (edited by tech-otaku 2022-06-24 14:39:39)

Topic: Can't Get SOGo Repo on Ubuntu 22.04

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0
- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

On a fresh Ubuntu 22.04 VPS the iRedMail installer creates the file /etc/apt/sources.list.d/sogo-nightly.list and despite a warning about apt-key being deprecated, appears to successfully import the apt key for SOGo.

Then I see this:

Hit:1 https://mirror.hetzner.com/ubuntu/packages jammy InRelease
Hit:2 https://mirror.hetzner.com/ubuntu/packages jammy-updates InRelease
Hit:3 https://mirror.hetzner.com/ubuntu/packages jammy-backports InRelease
Hit:4 https://mirror.hetzner.com/ubuntu/security jammy-security InRelease
Ign:5 https://packages.inverse.ca/SOGo/nightly/5/ubuntu jammy InRelease
Err:6 https://packages.inverse.ca/SOGo/nightly/5/ubuntu jammy Release
  404  Not Found [IP: 80.239.254.28 443]
Reading package lists... Done
E: The repository 'https://packages.inverse.ca/SOGo/nightly/5/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I know this is most likely not an issue with iRedMail, but if anyone has any clues as to why this is happening and how to fix it, I'd be most grateful.

Regards, Steve.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.

2 (edited by tech-otaku 2022-06-29 14:37:10)

Re: Can't Get SOGo Repo on Ubuntu 22.04

I reached out to the SOGo community and a guy named Slávek suggested I use his alternative build that contains the stable version of SOGo for Ubuntu 22.04. For any one interested the steps are:

1. Install the GPG key:

wget http://www.axis.cz/linux/debian/axis-archive-keyring.deb
dpkg -i axis-archive-keyring.deb

2. Add the repository to the sources list:

echo 'deb http://www.axis.cz/linux/debian jammy sogo-v5' > /etc/apt/sources.list.d/sogo-axis.list

This creates a new file named sogo-axis.list. You can name the file however you like, but it must have a .list extension and don't name it sogo-nightly.list as it'll get over-written by the iRedMail installer.

As the iRedMail installer still creates sogo-nightly.list you'll continue to see this message which you can now ignore as SOGo is installed from the alternative repository.

Err:6 https://packages.inverse.ca/SOGo/nightly/5/ubuntu jammy Release
  404  Not Found [IP: 80.239.254.28 443]
Reading package lists... Done
E: The repository 'https://packages.inverse.ca/SOGo/nightly/5/ubuntu jammy Release' does not have a Release file.

Regards, Steve.

3

Re: Can't Get SOGo Repo on Ubuntu 22.04

Help push SOGo team to build binary packages for Ubuntu 22.04:
https://www.sogo.nu/bugs/view.php?id=5511

4

Re: Can't Get SOGo Repo on Ubuntu 22.04

Yeah I encountered the same thing. I understand it's not an iRedmail issue but the table on the iRedMail download page clearly states that 22.04 is the recommended Ubuntu OS with a checkmark for SOGO. That probably should be changed/contain a note.

5

Re: Can't Get SOGo Repo on Ubuntu 22.04

My bad, updated website to mention SOGo is not yet available on Ubuntu 22.04.