Closed Fuzzwah closed 2 years ago
The GPG key has expired:
/etc/apt/trusted.gpg.d/goaccess.gpg
-----------------------------------
pub rsa3072 2020-05-17 [SC] [expired: 2022-05-17]
C03B 4888 7D5E 56B0 4671 5D32 97BD 1A01 3344 9C3D
uid [ expired] Gerardo Orellana <goaccess@prosoftcorp.com>
I worked around this using:
sudo apt-key del 97BD1A0133449C3D
sudo rm -rf /usr/share/keyrings/goaccess.gpg
wget -O - https://deb.goaccess.io/gnugpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/goaccess.gpg >/dev/null
cd /usr/share/keyrings
sudo apt-key add goaccess.gpg
However, now when I'm trying to get rabbitmq-server
back up and working I'm getting the following errors:
The following packages have unmet dependencies:
rabbitmq-server : Depends: erlang-base (< 1:25.0) but 1:25.0-1rmq1ppa1~ubuntu20.04.1 is to be installed or
erlang-base-hipe (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-crypto (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-eldap (< 1:25.0) but 1:25.0-1rmq1ppa1~ubuntu20.04.1 is to be installed or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-inets (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-mnesia (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-os-mon (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-parsetools (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-public-key (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-runtime-tools (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-ssl (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-syntax-tools (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-tools (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
Depends: erlang-xmerl (< 1:25.0) or
esl-erlang (< 1:25.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I've attempted to install the esl-erlang
package, was scared because it includes soooooooo much stuff that I clearly don't need (gnome libs, etc) but I gave it a shot anyway. Even with it installed, trying to install rabbitmq-server
complained and won't progress.
I switched my brain on and realised that the errors are (and all this mess started) due to erlang being updated on my host to 25.0, which rabbitmq-server
doesn't support.
So I removed the erlang packages and pinned them to 24.3:
sudo vi /etc/apt/preferences.d/erlang
Package: erlang*
Pin: version 1:24.3*
Pin-Priority: 501
Then installed them again, and now I'm able to reinstall rabbitmq-server
,