LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-09-2008, 08:32 PM   #1
JHONJ
LQ Newbie
 
Registered: Jul 2007
Location: Tampa Fl.
Distribution: Ubuntu 9.04
Posts: 19

Rep: Reputation: 0
Problem in debian-multimedia-keyring


Hi,
I was trying to install a Multimedia application in Debian (Cinelerra), but, when I try to do update, an error about the keyring start in the system, and don't finish that process.
The final error is:
"
...
Deleting obsolete downloaded files
W: GPG error: http://ftp.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 NO_PUBKEY B5D0C804ADB11277
W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1
W: Couldn't stat source package list http: testing/main Packages (/var/lib/apt/lists/_www.debian-multimedia.org_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http: testing/main Packages (/var/lib/apt/lists/_www.debian-multimedia.org_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
W: Couldn't stat source package list http: testing/main Packages (/var/lib/apt/lists/_www.debian-multimedia.org_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
jhon:/etc/apt#

"

I tried running update, but the error still in the system.

Thanks a lot...
 
Old 06-09-2008, 11:39 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
aptitude install debian-multimedia-keyring
 
Old 06-10-2008, 07:51 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
googling the first error would have solved it for you, this is a common problem
 
Old 06-10-2008, 07:18 PM   #4
JHONJ
LQ Newbie
 
Registered: Jul 2007
Location: Tampa Fl.
Distribution: Ubuntu 9.04
Posts: 19

Original Poster
Rep: Reputation: 0
Hello again. thats the result:

" jhon:/home/jhon# aptitude install debian-multimedia-keyring
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up debian-multimedia-keyring (2007.02.14) ...
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_get_keyblock failed: eof
gpg: [don't know]: invalid packet (ctb=23)
gpg: /etc/apt/trusted.gpg: copy to `/etc/apt/trusted.gpg.tmp' failed: invalid packet
gpg: error writing keyring `/etc/apt/trusted.gpg': invalid packet
gpg: error reading `/usr/share/keyrings/debian-multimedia-keyring.gpg': invalid packet
gpg: import from `/usr/share/keyrings/debian-multimedia-keyring.gpg' failed: invalid packet
dpkg: error processing debian-multimedia-keyring (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debian-multimedia-keyring
W: Couldn't stat source package list http: testing/main Packages (/var/lib/apt/lists/_www.debian-multimedia.org_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up debian-multimedia-keyring (2007.02.14) ...
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_get_keyblock failed: eof
gpg: [don't know]: invalid packet (ctb=23)
gpg: /etc/apt/trusted.gpg: copy to `/etc/apt/trusted.gpg.tmp' failed: invalid packet
gpg: error writing keyring `/etc/apt/trusted.gpg': invalid packet
gpg: error reading `/usr/share/keyrings/debian-multimedia-keyring.gpg': invalid packet
gpg: import from `/usr/share/keyrings/debian-multimedia-keyring.gpg' failed: invalid packet
dpkg: error processing debian-multimedia-keyring (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debian-multimedia-keyring
jhon:/home/jhon# "

Thanks a lot again.

PD 1: Sorry for my English. I came from Colombia.
PD 2: I new in Linux, and I have one week trying to fix this.

Best Regards...
 
Old 06-10-2008, 08:05 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Why do you have
etch/stable sources for the main and security repositories
Lenny/testing sources for the Debian-Multimedia repository ?


Notice how all the repositories are pointing at the same branch in my example /etc/apt/sources.list ?
Code:
deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main

It also looks like your key-rings for main and security repository are out of date..

W: GPG error: http://ftp.debian.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 NO_PUBKEY B5D0C804ADB11277
W: GPG error: http://security.debian.org etch/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1
W: Couldn't stat source package list http: testing/main Packages (/var/lib/apt/lists/_www.debian-multimedia.org_dists_testing_main_binary-i386_Packages) - stat (2 No such file or directory)

fix your sources list so Debian multimedia is pointing at etch theres a reason all the repositories should match

aptitude autoclean - Get rid of all the packages that are downloaded into your apt cache to prevent conflicts..
aptitude update - Update your sources list again now that the sources are all pointed at the same branch
aptitude install debian-archive-keyring debian-multimedia-keyring - Install the keyrings for the repositories..



See if that helps shake loose your problem..
 
Old 06-11-2008, 06:44 PM   #6
JHONJ
LQ Newbie
 
Registered: Jul 2007
Location: Tampa Fl.
Distribution: Ubuntu 9.04
Posts: 19

Original Poster
Rep: Reputation: 0
Hi,
I had to change my sources.list totally, thats mean, I put commentaries in all lines,and that's the way how now look:
"
#
#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21]/ etch contrib main

#deb http://ftp.debian.org/debian/ etch main

#deb http://ftp.de.debian.org/debian etch main

#deb http://security.debian.org/ etch/updates main contrib non-free

#deb-src http://security.debian.org/ etch/updates main contrib non-free

#deb http://security.debian.org/ etch/updates main contrib


#deb http:/www.debian-multimedia.org etch main

"

In this way, are not errors when I run the aptitude autoclean and aptitude update commands.
but, when I run the last command: "aptitude install debian-archive-keyring debian-multimedia-keyring"
This message appear in my screen:

"
jhon:/etc/apt# aptitude install debian-archive-keyring debian-multimedia-keyring Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up debian-multimedia-keyring (2007.02.14) ...
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_get_keyblock failed: eof
gpg: [don't know]: invalid packet (ctb=23)
gpg: /etc/apt/trusted.gpg: copy to `/etc/apt/trusted.gpg.tmp' failed: invalid pa cket
gpg: error writing keyring `/etc/apt/trusted.gpg': invalid packet
gpg: error reading `/usr/share/keyrings/debian-multimedia-keyring.gpg': invalid packet
gpg: import from `/usr/share/keyrings/debian-multimedia-keyring.gpg' failed: inv alid packet
dpkg: error processing debian-multimedia-keyring (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debian-multimedia-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up debian-multimedia-keyring (2007.02.14) ...
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_get_keyblock failed: eof
gpg: [don't know]: invalid packet (ctb=23)
gpg: /etc/apt/trusted.gpg: copy to `/etc/apt/trusted.gpg.tmp' failed: invalid packet
gpg: error writing keyring `/etc/apt/trusted.gpg': invalid packet
gpg: error reading `/usr/share/keyrings/debian-multimedia-keyring.gpg': invalid packet
gpg: import from `/usr/share/keyrings/debian-multimedia-keyring.gpg' failed: invalid packet
dpkg: error processing debian-multimedia-keyring (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debian-multimedia-keyring
jhon:/etc/apt#
"

Thanks a lot again for your help...
 
Old 06-11-2008, 07:28 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
In this way, are not errors when I run the aptitude autoclean and aptitude update commands.
Is this one of those hidden camera practical joke television programs?

Just in case you're not joking with us, of course there are no errors. Everything that could cause an error is commented out. Obviously nothing will run, but there won't be any errors. Perhaps that is an improvement.

Make your sources.list look like this...
Quote:
#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21]/ etch contrib main

deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.de.debian.org/debian etch main contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main
... then follow farslayer's instructions again.

Last edited by rickh; 06-11-2008 at 07:33 PM.
 
Old 06-12-2008, 08:07 PM   #8
JHONJ
LQ Newbie
 
Registered: Jul 2007
Location: Tampa Fl.
Distribution: Ubuntu 9.04
Posts: 19

Original Poster
Rep: Reputation: 0
Good Night.
First at all, I'm no joking with anybody, and I know that I need a lot of help.

Thats the way my sources.list look now:
"
#
#deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official i386 NETINST Binary-1 20070820-20:21]/ etch contrib main

deb http://ftp.de.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.de.debian.org/debian etch main contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main
"


These are the results that I obtain, when I run the commands that farslayer give to me:

"
jhon:/etc/apt# aptitude autoclean Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
Freed 0B of disk space
jhon:/etc/apt# aptitude update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://security.debian.org etch/updates Release
Err http://security.debian.org etch/updates Release

Get:2 http://security.debian.org etch/updates Release [37.6kB]
Get:3 http://ftp.de.debian.org etch Release.gpg [378B]
Get:4 http://www.debian-multimedia.org etch Release.gpg [197B]
Hit http://ftp.de.debian.org etch Release
Err http://ftp.de.debian.org etch Release

Hit http://www.debian-multimedia.org etch Release
Err http://www.debian-multimedia.org etch Release

Ign http://security.debian.org etch/updates Release
Get:5 http://ftp.de.debian.org etch Release [58.2kB]
Get:6 http://www.debian-multimedia.org etch Release [9434B]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/non-free Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Ign http://www.debian-multimedia.org etch Release
Hit http://security.debian.org etch/updates/non-free Sources
Hit http://www.debian-multimedia.org etch/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch Release
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org etch/non-free Packages/DiffIndex
Ign http://ftp.de.debian.org etch/main Sources/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Sources/DiffIndex
Hit http://ftp.de.debian.org etch/main Packages
Hit http://ftp.de.debian.org etch/contrib Packages
Hit http://ftp.de.debian.org etch/non-free Packages
Hit http://ftp.de.debian.org etch/main Sources
Hit http://ftp.de.debian.org etch/contrib Sources
Fetched 106kB in 2s (37.5kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
Deleting obsolete downloaded files
W: GPG error: http://security.debian.org etch/updates Release: The following sig natures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1
W: GPG error: http://www.debian-multimedia.org etch Release: The following signa tures couldn't be verified because the public key is not available: NO_PUBKEY 07 DC563D1F41B907
W: GPG error: http://ftp.de.debian.org etch Release: The following signatures co uldn't be verified because the public key is not available: NO_PUBKEY A70DAF5360 70D3A1 NO_PUBKEY B5D0C804ADB11277
W: You may want to run apt-get update to correct these problems
W: You may want to update the package lists to correct these missing files
jhon:/etc/apt# aptitude install debian-archive-keyring debian-multimedia-keyring Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages have been kept back:
libimlib2 libquicktime0 xserver-xorg-core
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up debian-multimedia-keyring (2007.02.14) ...
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_get_keyblock failed: eof
gpg: [don't know]: invalid packet (ctb=23)
gpg: /etc/apt/trusted.gpg: copy to `/etc/apt/trusted.gpg.tmp' failed: invalid pa cket
gpg: error writing keyring `/etc/apt/trusted.gpg': invalid packet
gpg: error reading `/usr/share/keyrings/debian-multimedia-keyring.gpg': invalid packet
gpg: import from `/usr/share/keyrings/debian-multimedia-keyring.gpg' failed: inv alid packet
dpkg: error processing debian-multimedia-keyring (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debian-multimedia-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up debian-multimedia-keyring (2007.02.14) ...
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_get_keyblock failed: eof
gpg: [don't know]: invalid packet (ctb=23)
gpg: /etc/apt/trusted.gpg: copy to `/etc/apt/trusted.gpg.tmp' failed: invalid pa cket
gpg: error writing keyring `/etc/apt/trusted.gpg': invalid packet
gpg: error reading `/usr/share/keyrings/debian-multimedia-keyring.gpg': invalid packet
gpg: import from `/usr/share/keyrings/debian-multimedia-keyring.gpg' failed: inv alid packet
dpkg: error processing debian-multimedia-keyring (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
debian-multimedia-keyring
jhon:/etc/apt#

"


Thanks a lot again, and I'll appreciate all your help...
 
Old 06-12-2008, 10:37 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
post the output of the following commands please(must be root)

apt-cache policy debian-archive-keyring
apt-cache policy debian-multimedia-keyring
apt-key list
date


it bothers me more that it's not reading the standard and security keys, than the fact that the multimedia keys failed to install.. it looks like your keyring files may be corrupt.. or something

one way to recreate the apt keyring would be the following...

aptitude purge debian-multimedia-keyring
aptitude clean
cd /etc/apt
rm *.gpg
aptitude update
aptitude reinstall debian-archive-keyring
aptitude install debian-multimedia-keyring
 
Old 06-13-2008, 06:04 PM   #10
JHONJ
LQ Newbie
 
Registered: Jul 2007
Location: Tampa Fl.
Distribution: Ubuntu 9.04
Posts: 19

Original Poster
Rep: Reputation: 0
Hi there.

These are the new results:

jhon:/etc/apt# apt-cache policy debian-archive-keyring
debian-archive-keyring:
Installed: 2007.07.31~etch1
Candidate: 2007.07.31~etch1
Version table:
*** 2007.07.31~etch1 0
500 http://ftp.de.debian.org etch/main Packages
100 /var/lib/dpkg/status
jhon:/etc/apt# apt-cache policy debian-multimedia-keyring
debian-multimedia-keyring:
Installed: 2007.02.14
Candidate: 2007.02.14
Version table:
*** 2007.02.14 0
500 http://www.debian-multimedia.org etch/main Packages
100 /var/lib/dpkg/status
jhon:/etc/apt# apt-key list
gpg: [don't know]: invalid packet (ctb=23)
gpg: keydb_search_first failed: invalid packet
jhon:/etc/apt# date
Fri Jun 13 18:45:21 UTC 2008
jhon:/etc/apt#
"
Now, I rang your instructions, and are not errors in the messages. !THANKS A LOT FOR THAT!
May I say that this problem could be in one .gpg file?

I'll try to install Cinelerra again...that was how the problem start..
Thanks again.

See you later...
 
Old 06-13-2008, 09:51 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Sweet ! so I guess that was the answer, your gpg apt key file got corrupted somehow.

Glad it's working OK now..

enjoy !!
 
Old 09-23-2009, 02:49 AM   #12
anabel@gmx.net
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
it solved my problem very well thank your very much..

Quote:
Originally Posted by farslayer View Post
post the output of the following commands please(must be root)

apt-cache policy debian-archive-keyring
apt-cache policy debian-multimedia-keyring
apt-key list
date


it bothers me more that it's not reading the standard and security keys, than the fact that the multimedia keys failed to install.. it looks like your keyring files may be corrupt.. or something

one way to recreate the apt keyring would be the following...

aptitude purge debian-multimedia-keyring
aptitude clean
cd /etc/apt
rm *.gpg
aptitude update
aptitude reinstall debian-archive-keyring
aptitude install debian-multimedia-keyring
it solved my problem very well thank your very much..
 
Old 09-28-2009, 09:52 PM   #13
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Glad to have helped.. and welcome to the Forums !!
 
  


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
keyring problem dauphinfay Linux - General 9 05-08-2010 03:38 PM
possible keyring problem tkm SUSE / openSUSE 1 04-03-2008 04:34 PM
Fedora 8 and Evolution keyring problem Dummy-in-Linux Fedora 4 01-01-2008 04:01 AM
What Happened to Debian Multimedia? RodWC Debian 4 11-04-2007 11:11 AM
debian-multimedia offline Kirmonkey Debian 3 06-24-2006 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:52 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