Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 633 Bytes

easy way to resolve apt-get badsig gpg errors.md

File metadata and controls

18 lines (11 loc) · 633 Bytes

Solving BADSIG GPG errors

Often while installing a package you might get the GPG error about the bad signature.

This is easily resolvable as in the example below.

The important part of your error message is the following in bold:

W: GPG error: http://download.virtualbox.org lucid Release:

The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key)

Copy the stuff in bold and then open a terminal and type:

$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 54422A4B98AB5139

After that we can redo the installation operation and it should go ok.