-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
debian: GPG key required to add dvc repository #4565
Comments
Sounds like a core issue? Transferring for now. |
Hi @bobertlo ! Thanks for creating this issue! That one is a known issue iterative/dvc-s3-repo#3 with our deb packages, but it is a warning that is normally ignored by apt (it is a GPG error, but deb warning), so shouldn't affect users, unless a strict policy is in place that doesn't allow installing such packages. Closing in favor of iterative/dvc-s3-repo#3 . Thanks again for the feedback! 🙏 |
Hello @efiop , |
@bmabir17-asj Hey. Could you please make sure you ran
from https://dvc.org/doc/install/linux#from-repo-on-debian-ubuntu ? |
@efiop , wget -qO - https://dvc.org/deb/iterative.asc | sudo apt-key add - I got another error with sudo apt update 2>&1 1>/dev/null | sed -ne 's/.*NO_PUBKEY //p' | while read key; do if ! [[ ${keys[*]} =~ "$key" ]]; then sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys "$key"; keys+=("$key"); fi; done
|
@bmabir17-asj So it solved the issue for you, right? Just making sure 🙂 |
@efiop yes |
Note on Ubuntu 22.04 this method works but is deprecated wget -qO - https://dvc.org/deb/iterative.asc | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK |
Thanks @david-waterworth ! 🙏 Created iterative/dvc-s3-repo#121 |
Someone reported on discord that installing on debian did not work:
I verified the instructions on the website but was suspicious since there was no key added. I tried on my machine (Debian WSL) and got this error when running
sudo apt update
:The text was updated successfully, but these errors were encountered: