Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: Deslack on July 16, 2021, 04:10:57 pm
-
Hello guys,
Just installed Zentyal 7.0 on a Ubuntu 20.04 LTS using the install script as highlighted here:
https://doc.zentyal.org/en/installation.html#installation-on-top-of-ubuntu-20-04-lts-server-or-desktop
I tried it and got it running with a minor kink as follow
# ./zentyal_installer.sh
Do you want to install the Zentyal Graphical environment? (n|y) n
- Checking Ubuntu version...
...OK
- Checking for broken packages...
...OK
- Checking for available disk space...
...OK
- Checking if the system is up-to-date...
W: GPG error: http://ppa.launchpad.net/oisf/suricata-stable/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D7F87B2966EB736F
E: The repository 'http://ppa.launchpad.net/oisf/suricata-stable/ubuntu focal InRelease' is not signed.
Which I remedied with:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D7F87B2966EB736F
to add the suricata's pubkey to the repository. After that, ./zentyal-installer.sh ran fine.
Just a heads up for you guys.
-
Hi Deslack,
The command that you used to fix the Suricata public key is defined in the script:
## Adding Suricata repositorio for zentyal-ips module
if ! grep -qR 'http://ppa.launchpad.net/oisf/suricata-stable/ubuntu' /etc/apt/sources.list*
then
echo "deb http://ppa.launchpad.net/oisf/suricata-stable/ubuntu $(lsb_release -sc) main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ${SURI_KEY}
fi
Is it possible that you already had that repository in your Ubuntu server? How many times times did you run the script?
Best regards, Daniel Joven.
-
Hello Daniel,
I apologize for reverting back after so long.
I used a Ubuntu LTS 20.04 LXC Container Template in Proxmox installation. I realize that after running the zentyal_installer.sh script, I haven't got gnupg2 installed, so I installed it afterwards, then re-ran the zentyal-installer.sh script. Since the script already found the line inside /etc/apt/sources.list, it won't proceed with the apt-key.
Maybe either check for gnupg2 before apt-key, or use another way to determine whether the key is already installed?