Apt-Get update errors!?!?
Posts: 131
Hi, whenever I try to run-apt-get update I always get the following errors:
code:
-------------------------------------------------------------------------------
Fetched 30.9kB in 3s (8858B/s)
Failed to fetch http://people.debian.org/~ccheney/kde-3.1.95/./Packages.gz 404 Not Found
Reading Package Lists... Done
W: GPG error: ftp://ftp.ie.debian.org stable/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: GPG error: ftp://ftp.ie.debian.org testing/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: GPG error: ftp://ftp.ie.debian.org unstable/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: GPG error: http://deb.mepis.org unstable Release: Unknown error executing gpgv
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@0[root]
-------------------------------------------------------------------------------
Does anyone know what is causing this or how to resolve it?
GJ
No I don't think that's it it
Posts: 131
No I don't think that's it. It's just those mirrors that are giving me trouble - and its been like that for a few days. I can still download from all the other mirrors.
I'm just concerned as this appears to be some kind of security warning.
GJ
try this
Posts: 13
Don't worry, this is not a security issue. You are just missing the keys to some of the mirrors. I have not seen this error myself, but I found this solution, which might, or might not work. Let me know and then we can go from there.
apt-get install debian-keys -t experimental
gpg --import /usr/share/keyrings/debian-keyring.gpg
apt-get update
oot@0[root]# apt-get install
Posts: 131
root@0[root]# apt-get install debian-keys -t experimental
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package debian-keys
root@0[root]# apt-get install -t experimental debian-keys
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package debian-keys
root@0[root]# gpg --import /usr/share/keyrings/debian-keyring.gpg
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: can't open `/usr/share/keyrings/debian-keyring.gpg': No such file or directory
gpg: Total number processed: 0
root@0[root]#
hmmm...
Posts: 13
You could give those commands another try, but now without the experimental.
There is a chance that something has gone wrong with the debian mirror and they changed the public key. This problem might fix itself in a few hours, or you can always change the mirror, which is pretty easy: just exchange the 'ie' for another country code. If you are in Europe, 'nl' has worked well for me.
Upgraded
Posts: 386
I just did an apt-get upgrade/update, all went well..?? Sound still gave a fit, but easy enough to overcome.
- The freedom to run the program, for any purpose (freedom 0).
- The freedom to study how the program works, and adapt it to your needs
(freedom 1). Access to the source code is a precondition for this. - The freedom to redistri
Well I changed it to ie to
Posts: 131
Well I changed it to ie to nl and it's still happening:
Failed to fetch http://people.debian.org/~ccheney/kde-3.1.95/./Packages.gz 404 Not Found
Reading Package Lists... Done
W: GPG error: ftp://ftp.ie.debian.org stable/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: GPG error: ftp://ftp.nl.debian.org stable/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: GPG error: ftp://ftp.nl.debian.org testing/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: GPG error: ftp://ftp.nl.debian.org unstable/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B629A24C38C6029A
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
Persistant messages like this are usually a sign that something is wrong - and if I don't fix it it may get worse.
Do you guys have any insight as to the actual cause of this?
So far l have only been able to speculate, but I would like to pin this down to an exact cause.
I don't like things I can't fix. 
I'm crazy like that I know.
GJ
sorry
Posts: 13
Sorry GJ, I am out of wisdom here. Somebody else who has an idea?
firewall?
Posts: 386
Got a firewall/proxy blocking your updates??? Are you root??? Sorry, I have to ask, it is in the GNU..
???? Just seems like something is not letting you update..?? Redundent I know, but ensure your user has rights to execute your requests..??
I did another update/upgrade w/o errors.
- The freedom to run the program, for any purpose .
- The freedom to study how the program works, and adapt it to your needs. Access to the source code is a precondition for this.
I can help with the first one
Posts: 691
Did you recently edit the /etc/apt/sources.list to try to upgrade to kde 3.2?
Because the folder kde-3.1.95 no longer exists in http://people.debian.org/~ccheney
If you point your browser to that page you`ll see it`s now been upgraded to kde-3.2.0
Sorry don`t know nothing about key errors, can`t help you with that one
--------------------------------------
Registered Linux User #341789
Live from Okazaki, Japan
Stand Up and Be Counted Faithful Linux User
http://counter.li.org
Well it looks like apt-get is
Posts: 131
Well it looks like apt-get is just very easy to break - and it seems that it has a habit of breaking itself. (I have just reinstalled BTW).
If you try to install a package via dpkg and it fails due to dependency issues - and then you try to install a different package via apt-get, apt-get will fail - and will refuse to do anything until you resolve the dependency issues on you previous (and unrelated) install attempt. This can lead you into a real dependency hell, where you need to resolve dependencies that themselves require dependencies - and that cannot be installed because they depend on various parts of each other - which again have different dependencies - and so on it goes. I hear that they are working on a unified installer for Linux.(http://autopackage.org/) If you ask me they can't do it soon enough.
Wether it will work any better than apt is another matter.
GJ
GJ (again)
Posts: 858
You're correct, apt-get often chokes itself, mainly due to depencies of missing libraries. That's a little problem most people has to face, but it can usually be fixed/ unclugged with apt-get -f install.
To err is human, but to really foul things up requires a computer.
Farmers' Almanac, 1978
Use apt-key to fix this
Posts: 1
apt-key add /usr/share/keyrings/debian-role-keys.gpg
This required the debian-keyrings package.
What are good switches to use?
Posts: 131
What are good switches to use if I want to use the latest versions of various software? Is there a difference between testing and unstable? Is there an 'experimental' repository?
GJ
yes a difference
Posts: 1296
Yes there is a difference between testing and unstable. And there is an experimental repository but only use it if you are daring and don't mind having to fix problems that may occur.
Debian-Keyring Size Mismatch
Posts: 1
My gpgv also returned an error, but also I got this message:
aeris@Radha: ~$ sudo apt-get install debian-keyring -t experimental
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
?????? debian-keyring
0 upgraded, 1 newly installed, 0 to remove and 172 not upgraded.
Need to get 7642kB of archives.
After unpacking 9675kB of additional disk space will be used.
Get: 1 http://archive.ubuntu.com hoary/universe debian-keyring 2004.07.05
[7642]
Fetched 1B in 0s (3B/s)
Failed to fetch
http://archive.ubuntu.com/ubuntu/pool/universe/d/debian-keyring/debian-keyring_2004.07.05_all.deb
Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I have to add, that I tried to fetch this keyring some times before already, that's why it just fetched 1B
Any Ideas? I'll try to get the debian-keyring manually from the packages.debian.org site, but probably it won't help. (running a debian with additional ubuntu sources which results in something like a debian experimental)
Best regards,
Aeris
The Answer You're Looking For
Posts: 1
apt-get install debian-archive-keyring
Worked for me anyway.
Down
Posts: 386
Debian's site is down, so their mirrors are probably down also.?? Please try them again in a couple of hours.
Beer is proof that God loves us, and wants us to be happy. --Ben Franklin