[DOCS-15636] [SERVER] Instructions for installing PGP keys on apt-based distros should change Created: 19/Sep/22  Updated: 30/Oct/23  Resolved: 03/Apr/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: 6.0.0, 6.1.0
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Dylan Richardson Assignee: Kenneth Dyer
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 44 weeks, 2 days ago
Epic Link: DOCSP-22649

 Description   

My understanding based on this Github issue is that `apt-key` will not be available starting in Debian 12, which is coming sometime early next year. We should make sure all of our documentation is updated for this change. I believe it is possible to migrate this documentation before that date, as the new recommended pattern should work for all of the versions of Debian/Ubuntu we support.

New recommended steps based on this Debian wiki article:

Install our binary (NOT ascii-armored, probably worth a callout) key to a local keyring

wget -0 /usr/share/keyrings/mongodb-org-6.0.gpg https://pgp.mongodb.com/server-6.0.pub 

Install our repository locally, noting which specific key should be used for validation

echo "deb [signed-by=/usr/share/keyrings/mongodb-org-6.0.gpg] http://repo.mongodb.org/apt/debian buster/mongodb-org/6.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list 

My guess is that there are more projects other than the server that should have their documentation updated, but I could only easily find the server's instructions for this. I was having quite a bit of trouble finding official Debian sources announcing this decision, but our current installation instructions do emit a deprecation warning about `apt-key`.



 Comments   
Comment by Dylan Richardson [ 03/Apr/23 ]

kenneth.dyer@mongodb.com It seems like the website still refers to apt-key for both Debian and Ubuntu instructions?

Comment by Kenneth Dyer [ 03/Apr/23 ]

This issue was fixed in DOCSP-24138.

Generated at Thu Feb 08 08:13:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.