Thursday, December 11, 2014

[Quick Tip] How To Fix GPG Error BADSIG in Linux Mint / Ubuntu

[Quick Tip] How To Fix GPG Error BADSIG in Linux Mint / Ubuntu

GPG Error BADSIG_
In this post we are going to look at how to fix BADSIG errors in Linux Mint / Ubuntu and their derivatives.
Below is an example of such messages:
Reading package lists... Error!
W: GPG error: http://dl.google.com stable Release: The following signatures were invalid: BADSIG A040830F7FAC5991 Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
All you need to do is open your terminal and run the following commands accordingly:
$ sudo -i
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update
Error should be fixed now!
error fixed BADSIGEnjoy!

No comments: