Re: apt-key deprecation.
> What would be the easier way ?
I did:
# curl https://www.virtualbox.org/download/oracle_vbox_2016.asc | gpg --dearmor > /usr/share/keyrings/virtualbox-keyring.gpg
$ sudoedit /etc/apt/sources.list.d/virtualbox.sources
And filled the file virtualbox.sources with:
Types: deb
URIs: https://download.virtualbox.org/virtualbox/debian
Suites: bullseye
Architectures: amd64
Components: contrib non-free
Signed-By: /usr/share/keyrings/virtualbox-keyring.gpg
I found help on [1] and [2].
1. https://wiki.debian.org/DebianRepository/UseThirdParty
2. https://unix.stackexchange.com/questions/332672/how-to-add-a-third-party-repo-and-key-in-debian/582853#582853
--
Marcelo
Reply to: