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... |
aptitude install debian-multimedia-keyring
|
googling the first error would have solved it for you, this is a common problem
|
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... |
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 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.. |
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... |
Quote:
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:
|
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... |
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 |
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... |
Sweet ! so I guess that was the answer, your gpg apt key file got corrupted somehow.
Glad it's working OK now.. enjoy !! :) |
it solved my problem very well thank your very much..
Quote:
|
Glad to have helped.. :) and welcome to the Forums !!
|
All times are GMT -5. The time now is 08:12 PM. |