Before, when test-upgrading, I didn't have this issue. Now, on upgrading to 10.0.6, I ran into this gpg key error:
The log contained:
I fixed it like this:
But idealy, the zimbra repos should be like this (instead of needing apt-key):
The problem with apt-key, is that the keys are then trusted to sign any package, from other repos too.
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
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
Code:
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9BE6ED79gpg --export 254F9170B966D193D6BAD300D5CEF8BF9BE6ED79 > zimbra.gpgapt-key add zimbra.gpg
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
Statistics: Posted by halfgaar — Sun Mar 10, 2024 11:31 am