> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Solve "The following signatures were invalid: BADSIG" in Ubuntu
- URL: https://itsfoss.com/solve-badsig-error-quick-tip/
- Published: 2012-11-02T00:00:26.000Z
- Updated: 2023-01-11T09:56:02.000Z
- Author: Abhishek Prakash
- Tags: #Import 2022-12-26 08:27

![Ubuntu Update Error](https://itsfoss.com/content/images/wordpress/2012/09/Error-300x218.jpg)

We have discussed several [Ubuntu update errors](https://itsfoss.com/ubuntu-update-error/) in past such as [Problem With MergeList](https://itsfoss.com/how-to-fix-problem-with-mergelist/), [Failed to download repository information Check your Internet connection](https://itsfoss.com/solve-ubuntu-error-failed-to-download-repository-information-check-your-internet-connection/).

In this post, we will discuss another very common problem that occurs when users upgrade or update their system. This error is “BADSIG” error which looks something like this:

> W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key
> 
> W: GPG error: http://ppa.launchpad.net precise Release:
> 
> The following signatures were invalid: BADSIG 4C1CBC1B69B0E2F4 Launchpad PPA for Jonathan French W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release

## Solution to BADSIG error:

To solve this BADSIG error in Ubuntu use the following commands one after another:

```
sudo apt-get clean 
cd /var/lib/apt 
sudo mv lists oldlist 
sudo mkdir -p lists/partial 
sudo apt-get clean 
sudo apt-get update
```

Voila! That should solve your problem. Hit the comment section for questions, suggestions and thanks :P