Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1226

Installation and Upgrade • Re: Zimbra 10 FOSS Installation Guide

$
0
0
Before, when test-upgrading, I didn't have this issue. Now, on upgrading to 10.0.6, I ran into this gpg key error:

Code:

Use Zimbra's package repository [Y] yWarning: apt-key output should not be parsed (stdout is not a terminal)   Importing Zimbra GPG keyERROR: Unable to retrive Zimbra GPG key for package validationPlease fix system to allow normal package installation before proceeding  
The log contained:

Code:

# cat /tmp/install.log.HabQ7QsMCOMMAND: ldap startslapd already running: pid 960Warning: apt-key output should not be parsed (stdout is not a terminal)Executing: /tmp/apt-key-gpghome.mdg5k3zrYI/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9BE6ED79gpg: connecting dirmngr at '/run/user/0/gnupg/d.yddwjuohzf93cy5gtmk8ubt8/S.dirmngr' failed: IPC connect call failedgpg: keyserver receive failed: No dirmngrrm: cannot remove '/tmp/apt-key-gpghome.mdg5k3zrYI': Directory not empty
I fixed it like this:

Code:

gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9BE6ED79gpg --export 254F9170B966D193D6BAD300D5CEF8BF9BE6ED79 > zimbra.gpgapt-key add zimbra.gpg
But idealy, the zimbra repos should be like this (instead of needing apt-key):

Code:

deb     [arch=amd64 signed-by=/usr/share/keyrings/zimbra-repo.gpg] https://repo.zimbra.com/apt/87 bionic zimbradeb-src [arch=amd64 signed-by=/usr/share/keyrings/zimbra-repo.gpg] https://repo.zimbra.com/apt/87 bionic zimbradeb     [arch=amd64 signed-by=/usr/share/keyrings/zimbra-repo.gpg] https://repo.zimbra.com/apt/1000 bionic zimbradeb     [arch=amd64 signed-by=/usr/share/keyrings/zimbra-repo.gpg] https://repo.zimbra.com/apt/1010 bionic zimbra
The problem with apt-key, is that the keys are then trusted to sign any package, from other repos too.

Statistics: Posted by halfgaar — Sun Mar 10, 2024 11:31 am



Viewing all articles
Browse latest Browse all 1226

Trending Articles