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

How to add a repo without checking key #76

Open
nojux-official opened this issue Dec 9, 2020 · 1 comment
Open

How to add a repo without checking key #76

nojux-official opened this issue Dec 9, 2020 · 1 comment

Comments

@nojux-official
Copy link

nojux-official commented Dec 9, 2020

Hello. I am trying to add to add "deb http://download.virtualbox.org/virtualbox/debian bionic contrib" repository, but I get error
-----> Apt app detected -----> Reusing cache -----> Updating apt caches Get:1 http://download.virtualbox.org/virtualbox/debian bionic InRelease [4,432 B] Err:1 http://download.virtualbox.org/virtualbox/debian bionic InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease Hit:4 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Reading package lists... W: GPG error: http://download.virtualbox.org/virtualbox/debian bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF E: The repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' is not signed.

And my Aptfile looks like this:

:repo:deb http://download.virtualbox.org/virtualbox/debian bionic contrib

shellinabox
screen
htop
tree
nano
virtualbox

So, can i add apt repo without specifying a key?

@lfr
Copy link

lfr commented Feb 1, 2021

I was able to do this using trusted=yes, but this line no longer works now, see #84:

:repo:deb [trusted=yes arch=amd64] https://packages.microsoft.com/ubuntu/16.04/prod xenial main

Update: It's actually working, my problem was an invisible control character!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants