-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Mattermost apt repository GPG signing key is expired (today) #3000
Comments
In English this looks like this:
|
Has it not been fixed in two days? What the hell? |
Thanks @almereyda @wdconinc for reporting! @KoRn0509 It happened to fall on weekend and so it's only now being looked at. |
Hello @almereyda We appreciate the report. The issue has been addressed, and the GPG public key has been successfully updated.
You can either import the new public key from Let us know if this resolves the issue. |
Hint: Delete the old key from /etc/apt/trusted.gpg.d before re-adding the apt repository. |
Correct. This can be used, for supported ubuntu distributions being Ubuntu Bionic and Focal :
|
For Ubuntu Jammy :
Re-running the automatic Mattermost PPA repository setup-script available at https://docs.mattermost.com/install/installing-mattermost-omnibus.html#add-the-mattermost-ppa-repositories. shoud also fix the issue,. |
@cwarnermm this should be a note box at the top of both https://docs.mattermost.com/install/installing-mattermost-omnibus.html and https://docs.mattermost.com/install/install-ubuntu.html |
Going to close this issue since we've updated the GPG key and are fixing our process to make sure this doesn't come up again. Thanks @almereyda for bringing this to our attention :) |
On this rm /etc/apt/sources.list.d/mattermost_stable.list
rm /etc/apt/trusted.gpg.d/mattermost.gpg
curl -s https://deb.packages.mattermost.com/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/mattermost-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/mattermost-archive-keyring.gpg] https://deb.packages.mattermost.com stable main" > /etc/apt/sources.list.d/mattermost.list Notably, there wasn't even an upgrade for Mattermost on the table right now. |
I tried various things, listed here and on webpages, but those didn't work for me on Ubuntu 20.04. Piping the key into apt-key did work. So I'm leaving this hear in case others run into the same problem: curl -sL -o- https://deb.packages.mattermost.com/pubkey.gpg | gpg --dearmor | sudo apt-key add |
Checks before filing an issue
Mattermost Desktop Version
latest
Operating System
Ubuntu 23.10
Mattermost Server Version
latest
Steps to reproduce
Expected behavior
Mattermost is updated.
Observed behavior
Apt rejects the signing key.
Log Output
Additional Information
The text was updated successfully, but these errors were encountered: