update error
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hello guys!!
I have an error when I try to update the system with the Update Manager. I have Trisquel 4.01 (64bit). I can update several packages, but others failed (several times and from weeks ago). Don't know why!
Here's the message I got:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://linux-libre.fsfla.org planet Release: The following signatures were invalid: NODATA 2
W: Failed to fetch http://linux-libre.fsfla.org/pub/linux-libre/planet/dists/planet/Release
W: Some index files failed to download, they have been ignored, or old ones used instead.
Is this normal? Thanks!!
> W: Failed to fetch
> http://linux-libre.fsfla.org/pub/linux-libre/planet/dists/planet/Release
>
> W: Some index files failed to download, they have been ignored, or
> old ones used instead.
>
> Is this normal? Thanks!!
>
This repository is not ours, ask in the linux-libre lists.
Well, when it is written "A error occurred" (sic), you guess it is not normal. The error is rather well explained. The cryptographic key used to authenticate the Linux-libre repository is invalid. Try deleting this key and adding it again. The utility to do so is named apt-key. 'sudo apt-key list' will list those keys (including the problematic one). The keyid is the hexadecimal number after the slash. To remove the key of the Linux-libre repository, execute 'sudo apt-key del keyid'. Finally, to add the key: 'wget http://linux-libre.fsfla.org/pub/linux-libre/planet/archive-key.asc -O - | sudo apt-key add -'.
Of course, if you do not want the newer kernels, you can remove this repository instead! To do so, edit (with administrator's privileges) /etc/apt/sources.list and delete the line "deb http://linux-libre.fsfla.org/pub/linux-libre/planet planet main".
LOL, certainly, it was well explained for you, not for me!
When I asked if it was normal, I was wondering if it could be a problem with the repository (that would be "normal") or if it could be a problem with my computer :)
Well MagicBanana, I did what you told me. But, somehow, it didn't work. I was able to delete the keys, but when I tried to add the new one, it said "No such file or directory". Now, if I try to update, it says: " The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B4EFB9F38D8AEBF1". :((
What did I do?
http://linux-libre.fsfla.org/pub/linux-libre/planet/archive-key.asc is the key. That is for sure (click on the link to see it in your Web browser).
Recheck the command to add the key. If the executation still fails, post the output of 'wget http://linux-libre.fsfla.org/pub/linux-libre/planet/archive-key.asc -O - | sudo apt-key add -'.
> Now, if I try to update, it says: " The following
> signatures couldn't be verified because the public key is not
> available: NO_PUBKEY B4EFB9F38D8AEBF1". :((
That is the trisquel archive signature, you may have removed it
somehow. You can put it back with this command:
wget -o /dev/null -O - \
http://archive.trisquel.info/trisquel/trisquel-archive-signkey.gpg |\
sudo apt-key add -
Thank you Rubén!
*** Well, I fix the deletion :) But I still got the original error message:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://linux-libre.fsfla.org planet Release: The following signatures were invalid: NODATA 2
W: Failed to fetch http://linux-libre.fsfla.org/pub/linux-libre/planet/dists/planet/Release
W: Some index files failed to download, they have been ignored, or old ones used instead.
***Magic Banana, here's what I got if I type your line:
wget http://linux-libre.fsfla.org/pub/linux-libre/planet/archive-key.asc -O - | sudo apt-key add -
--2011-03-25 01:15:24-- http://linux-libre.fsfla.org/pub/linux-libre/planet/archive-key.asc
Resolving linux-libre.fsfla.org... 140.186.70.54
Connecting to linux-libre.fsfla.org|140.186.70.54|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1690 (1.7K) [text/plain]
Saving to: `STDOUT'
100%[==================================================================>] 1,690 --.-K/s in 0s
2011-03-25 01:15:25 (102 MB/s) - written to stdout [1690/1690]
OK
__________
But I got the message anyway...
Well, I just wanted to update, if it's too complicated, I'm gonna keep Trisquel the way it is now.
The final OK indicates that apt-key has correctly imported the key. I do not understand the problem. http://linux-libre.fsfla.org/pub/linux-libre/planet/dists/planet/Release does exist (just click on it to be convinced) but it looks like apt-get does not manage to fetch it...
Don't worry Magic Banana, it's not big deal. I can live with that ;)
- Vous devez vous identifier ou créer un compte pour écrire des commentaires