Update Manager bad signatures

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ikeep

Update Manager bad signatures

Post by ikeep »

Following was received on latest level 3 updates for Mint 15, Cinnamon 1.8.8

W: GPG error: http://archive.canonical.com raring Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://security.ubuntu.com raring-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://archive.ubuntu.com raring Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kurotsugi

Re: Update Manager bad signatures

Post by kurotsugi »

let's try with the magic tricks. dissable all the repository-run 'apt-get update'-enable all the repository-run 'apt-get update' once more. using gedit to dissable all of the repository is a good option if you want to try this trick.

anyway, I found this trick always work regardless the problem. but there might some cases where this trick won't work. in case if this trick doesn't work please run 'inxi -r' and give us the result so that we can analyze your repository.
ikeep

Re: Update Manager bad signatures

Post by ikeep »

Thanks --

Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com olivia main upstream import #id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu raring main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu raring-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ raring partner
Ran the -r first to see if the sources were correct -- Changing from Suse 11.4 KDE to Mint -- so trying to find out what is rite or wrong and not real sure where is what. Have always used Suse KDE in the past. Since this appears to be new release trying not to put problems into it.
kurotsugi

Re: Update Manager bad signatures

Post by kurotsugi »

these problem usually comes from bad or corrupted file. it is not a serious problem and could be solved by simply delete those files and download a new one. we can try to locate these files manually and delete them but I found it will be faster if we use our previous trick. that trick actually works like a reset button for apt.
ikeep

Re: Update Manager bad signatures

Post by ikeep »

OK -- what file do I edit to disable the repository??
kurotsugi

Re: Update Manager bad signatures

Post by kurotsugi »

I forgot that you're completely new in debian based distro. I'll try to make it easy

Code: Select all

sudo nano /etc/apt/sources.list
you'll find something like this

Code: Select all

# debian incoming
# deb http://packages.linuxmint.com/ debian main upstream import incoming romeo
# deb http://mirror.internode.on.net/pub/linuxmint-debian/incoming testing main contrib non-free
# deb http://mirror.internode.on.net/pub/linuxmint-debian/incoming/security testing/updates main contrib non-free
# deb http://mirror.internode.on.net/pub/linuxmint-debian/incoming/multimedia testing main non-free

# kambing mint packages
deb http://mintlinux.mirror.triple-it.nl/packages/ debian main upstream import incoming romeo 
# deb http://kambing.ui.ac.id/linuxmint-packages/ debian main upstream import incoming romeo

# go-mtpfs, adb, tlp
deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu raring main
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ raring main
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu/ raring main

# testing
deb http://ftp.nl.debian.org/debian testing main contrib non-free
# deb http://ftp.nl.debian.org/debian testing-updates main contrib non-free
# deb http://ftp.nl.debian.org/debian testing-proposed-updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free

# kernel
deb http://liquorix.net/debian sid main
anything in that file started with 'deb' is our repository. to disable a repository we simply do it by commenting at that line (put # in front of it). run 'sudo apt-get update' after disable all the repo will delete everything related to that repo. re-enable the repo then run 'sudo apt-get update' once more will download a fresh one. the structure of sources.list is 'deb <reposerver> <version> <repository1> <repository2> <repository3>' for an instance 'deb http://ftp.nl.debian.org/debian testing main contrib non-free' it means testing is my debian version and I'm using main, contrib, and non-free repository.

anyway, welcome to mint :D
ikeep

Re: Update Manager bad signatures

Post by ikeep »

Thanks for the welcome -- on the sources list this is all that I get
# deb http://archive.removed/ubuntu raring-removed apps games

Looks like I may have a problem in the updates. Had no problems prior to the last update as was getting level 1 & 2 updates with no problems, except minor display things. Nothing like what is showing up on the forum.

Last time I used Mint was installing extra programs from a CD so was many many years ago. Problem is reached the age that I forgot more than I know today!
kurotsugi

Re: Update Manager bad signatures

Post by kurotsugi »

your repository list might stored under different place. can you show me the complete result of 'inxi -r'?

EDIT: in your previous post I found several repository list in /etc/apt/sources.list.d/official-repository.list . you'll need to edit that one too. if you have another file in /etc/apt/sources.list.d/ you'll need to edit all of them. you might also want to delete all files in /etc/apt/sources.list.d/ and move their content to /etc/apt/sources.list to make more centralized configuration.
ikeep

Re: Update Manager bad signatures

Post by ikeep »

What I posted first was the complete listing. I did the install from the Live CD Mint 15 Olivia. Seems so many versions and desktops running right now that it is hard to find what should and should not be installed.
kurotsugi

Re: Update Manager bad signatures

Post by kurotsugi »

it seems that ubuntu change their repository configuration. they usually kept all their official repository on /etc/apt/sources.list and put the other repo (i.e. PPA) on /etc/apt/sources.list.d/. it doesn't really matter. our task is to temporarily disable all the repo list.
ikeep

Re: Update Manager bad signatures

Post by ikeep »

Did the update and that fixed the bad checksum that I had before. The "trick" worked great == will try a reboot and see how everything turned out but for right now looks good.......Tks agn.
rahulrajpl

Re: Update Manager bad signatures

Post by rahulrajpl »

Hi all,

Quick and easiest way to encounter this error is as follows. Run the following command in a terminal

Code: Select all

sudo apt-get clean && sudo rm -r /var/lib/apt/lists && sudo apt-get update
sitback relax until command gets completed

thx,
rahul
lioness

Re: Update Manager bad signatures

Post by lioness »

Thank you very much! That last command worked beautifully for me! :)
Locked

Return to “Cinnamon”