LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-19-2005, 09:00 PM   #1
mofo
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian, Suse
Posts: 17

Rep: Reputation: 0
Question apt-get GPG signature check unknow/illegal/corrupt


Hello and thanks for taking the time to read/answer this:

Am having this problem with apt-get, I use apt in a SuSe 9.3 box, so this just an example of the same problems that I have each time that I try to install any package.

Before installing apt I did an update to the system with YasT then I setup apt from rpms for SuSe 9.3 using "#rpm -Uhv *.rpm" and I also do a "check" of the installation with this #rpm -qa | grep -E "^apt-" this showme all the rpms installed properly, plus I do a "#apt-get check" and everything goes well.

Also I use on my /etc/apt/sources.list only this repository line:

rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/ SuSE/9.3-i386 base update security

Later I changed that repository by this:

rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.3-i386 update security base suser-rbos packman

Then it changed to this:

rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.3-i386 suser-guru rpmkeys base update-drpm update-prpm update kde misc x-ati mozilla samba3 suser-rbos suser-jengelh suser-oc2pus suser-gbv usr-local-bin suser-tcousin suser-scorot suser-jogley funktronics packman packman-i686 kernel-of-the-day wine suse-people suse-projects security-prpm security

So the problems are that each time that I try to install a package I get this kind of error related to the GPG signatures:
======================================================
Get:1 ftp://ftp.gwdg.de SuSE/9.3-i386/suser-gbv amsn 0.94-0.gbv.1 [3214kB]
Fetched 3214kB in 3m33s (15,1kB/s)
Checking GPG signatures...
Unknown signature /var/cache/apt/archives/amsn_0.94-0.gbv.1_noarch.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#b7afc211)
E: Error(s) while checking package signatures:
0 unsigned package(s)
1 package(s) with unknown signatures
0 package(s) with illegal/corrupted signatures
E: Handler silently failed
=======================================================

I did chek this file, some sites recommend to change this file in the line GPG::Check true; to GPG::Check no;, but I think this is not a good idea so I leave the file as is. I mean something like this:
=======================================================
// Make GPG::Check no; to disable gpg checking
// It can still be used in combination with --checksig
GPG::Check true;
Scripts::PM::Pre:: gpg-checker.lua;
=======================================================

Any suggestions to solve this problem?

Best regards.

Thanks

-mofo
 
Old 05-19-2005, 09:19 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
either change it to 'no' or install the keys. i've ran for years with it set to no, it's not a big deal. or do an 'apt search rpmkey' and install any/all with apt --no-checksig --no-post install <desired rpmkey >

Last edited by rshaw; 05-19-2005 at 09:30 PM.
 
Old 05-20-2005, 01:59 PM   #3
mofo
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian, Suse
Posts: 17

Original Poster
Rep: Reputation: 0
now apt works like a charm!!

many thanks -+=rshaw=+-

your instructions where right, now apt works great.

thank you again.

-mofo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Signature check in rpm zaphyr17 Mandriva 1 12-31-2004 10:04 AM
GPG Signature problem in up2date dineshjk Red Hat 1 08-09-2004 07:08 AM
does not have GPG signature mackol Linux - Software 0 05-26-2004 09:57 PM
package does not have valid GPG signature amOrpheus Linux - Newbie 3 01-20-2004 06:48 PM
apt GPG Signature Issue blaroe Fedora 2 01-13-2004 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration