invalid signatures

Archived topics about LMDE 1 and LMDE 2
Locked
abtygwyn

invalid signatures

Post by abtygwyn »

Following message received when starting update manager. Is this something I need to be addressing or is it being looked by those who know about these things!?

W: GPG error: http://debian.linuxmint.com testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>

Thanks

Andrew
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.
twa

Re: invalid signatures

Post by twa »

Hi,
see here:
http://forums.linuxmint.com/viewtopic.php?f=198&t=82877)
also, please post the output of:

Code: Select all

sudo gedit /etc/apt/sources.list
R your repo pointing to Testing or Latest ??
themonkeymixer

Re: invalid signatures

Post by themonkeymixer »

I had this error for 2 deb lines first was with the testing and the second with oracles repo.

So im not sure what all the files in here are for but this worked

PLEASE DO NOT do this until someone more knowledgeable chimes in and says it ok

UPDATE**
first the update I found after doing the brute work

I did find in the apt-get man page this

All command-line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like -f-, --no-f, -f=no or several other variations.

--list-cleanup
This option defaults to on, use --no-list-cleanup to turn it off. When on, apt-get will automatically manage the contents of /var/lib/apt/lists to ensure that obsolete files are erased. The only reason to turn it off is if you frequently change your source list.

this is defined about the config file

/var/lib/apt/lists/
Storage area for state information for each package resource specified in sources.list(5).
Configuration Item: Dir::State::Lists.
/var/lib/apt/lists/partial/
Storage area for state information in transit.
Configuration Item: Dir::State::Lists (implicit partial).

I don't know if this should be changed to turn the option on in the config file, however the config file that is referenced in the man page does not exist

/etc/apt/apt.conf <---- this is not present
APT configuration file.
Configuration Item: Dir::Etc::Main.
/etc/apt/apt.conf.d/ <---- this is but doesn't have the config options for list management
APT configuration file fragments.
Configuration Item: Dir::Etc::Parts.
--source man page--


I'm not sure if this is a bug or I am not understanding how to correctly manage the lists folder.

This is how I ultimately fixed it


SOLUTION**
I found this https://www.virtualbox.org/ticket/6908 and ended up changing it to

as root

Code: Select all

cd /var/lib/apt/lists
mkdir old
mv * old
cd partial
rm *
apt-get update
this worked perfectly
so i went back and cleaned up

as root

Code: Select all

cd /var/lib/apt/lists/old
rm *
cd ..
rmdir old

AGAIN this worked for me, there may be other consequences I don't know about
themonkeymixer

Re: invalid signatures

Post by themonkeymixer »

ok and I found a ps

someone please try this first

Code: Select all

sudo apt-get --list-cleanup update
then see if you get the same error
scottlinux

Re: invalid signatures

Post by scottlinux »

EDIT: This worked for me: http://forums.linuxmint.com/viewtopic.p ... 45#p481024

-------------

hrm I tried

Code: Select all

sudo apt-get --list-cleanup update
but I still get:

Code: Select all

W: GPG error: http://debian.linuxmint.com testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>
I have this single line for that repo in my sources.list:

Code: Select all

deb http://debian.linuxmint.com/latest/multimedia testing main non-free
Hm very weird
elliotsagan
Level 1
Level 1
Posts: 28
Joined: Fri Oct 07, 2011 7:19 pm

Re: invalid signatures

Post by elliotsagan »

Hi themonkeymixer!
Thank you very much for share this very useful post.
It worked for me without any glitches.
Finally, I'm free of those annoying error messages!!! :D
Regards
Locked

Return to “LMDE Archive”