heroku-buildpack-apt icon indicating copy to clipboard operation
heroku-buildpack-apt copied to clipboard

How to add a repo without checking key

Open nojux-official opened this issue 4 years ago • 1 comments

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?

nojux-official avatar Dec 09 '20 18:12 nojux-official