Skip to content
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

Whats the difference between xamarin.gpg and mono-official-archive-keyring.gpg when using a linux apt repository? #99571

Closed
Danrancan opened this issue Mar 12, 2024 · 2 comments
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners tracking-external-issue The issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly

Comments

@Danrancan
Copy link

I'm running Ubuntu Server on a Raspberry Pi 4.

On the mono project website it says you can add an apt repository with the following instructions using the mono-official-archive-keyring.gpg:

sudo apt install ca-certificates gnupg
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

What is the difference between using these recommended instructions with the mono-official-archive-keyring.gpg, and using the below instructions with the xamarin.gpg key?

wget -O - https://download.mono-project.com/repo/xamarin.gpg | gpg --dearmor | sudo tee /etc/apt/keyrings/xamarin-mono-archive.gpg >/dev/null
echo "deb [signed-by=/etc/apt/keyrings/xamarin-mono-archive.gpg]  https://download.mono-project.com/repo/ubuntu stable-focal main" \
  | sudo tee /etc/apt/sources.list.d/mono-official-stable.list

Why would I use the xamarin.gpg key and those instructions, and whats the difference between that gpg key and the mono-official-archive-keyring.gpg key and it's corresponding instructions? Which one should I use? Please let me know if you can.

@Danrancan
Copy link
Author

Hey sorry, I thought I was posting in mono/mono. I just reposted these two questions in there. Sorry for the confusion and thank for pointing out the mistake.

@jkotas jkotas closed this as completed Mar 12, 2024
@jkotas
Copy link
Member

jkotas commented Mar 12, 2024

Reopened as mono/mono#21752

@jkotas jkotas added the tracking-external-issue The issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly label Mar 12, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners tracking-external-issue The issue is caused by external problem (e.g. OS) - nothing we can do to fix it directly
Projects
None yet
Development

No branches or pull requests

2 participants