Tag: debian
Small Tip: How to fix “There are no public key available for the following key IDs” Error in Debian
28 Nov2006

Few days ago I’ve started migration of some of my non-critical servers to Debian Etch (from Sarge). Just after first apt-get update && apt-get dist-upgrade, when apt has been upgraded, I noticed really strange (as for me) error: when I’ve tried to do “apt-get update” it worked fine, but there was annoying message like following:

1
2
3
4
5
6
7
8
# apt-get update
......
Fetched 5562B in 13s (421B/s)
Reading package lists... Done
W: There are no public key available for the following key IDs:
A70DAF536070D3A1
W: You may want to run apt-get update to correct these problems
#


UPDATE: Thanks to Kurt Fitzner we know, that:

There is already a mechanism to do this automatically:

1
$ apt-key update

This will obtain the necesary keys and import them. No need to go through gpg directly.


After not so long research I figured out, that this problem was caused by change of gpg key used by ftpmaster on Debian official repository servers. Google gave me some information and I found some fix which works fine for me:

1
2
3
4
5
6
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys XXXXXXXXXXXXXXXX
...
# apt-key add /root/.gnupg/pubring.gpg
...
# apt-get update
...

Where XXXXXXXXXXXXXXXX is your missing key (e.g A70DAF536070D3A1).

That’s it! Happy using Debian GNU/Linux!


[lang_en]A Concise apt-get / dpkg primer for new Debian users[/lang_en][lang_ru]Краткий Справочник по apt-get / dpkg для Новых Пользователей Debian[/lang_ru]
12 Mar2006

[lang_en]

I really like Debian and Debian-based Linux distributions. That is because I am admin and I am lazy as all good system administrators 😉 With apt-get based distributions I can install/update/deinstall system packages very fast and my work becomes very efficient (there is no rpm-hell or constant building of new software or software updates).

Today I dugg very useful primer for apt-get/dpkg users. It contains many real-life examples of work with apt-get and dpkg utilities and may be interesting for new debian administrators.

[/lang_en]

[lang_ru]

Я очень люблю Debian и основанные на нем дистрибутивы Linux. Люблю я их потому, что я админ и, как все хорошие системные администраторы, я ленив. 😉 В дистрибутивах, основанных на apt-get я без проблем могу быстро устанавливать/обновлять/удалять пакеты ПО из системы и моя работа становится очень эффективной (нет никакого rpm-hell или постоянного компилирования нового софта или апдейтов).

Сегодня я нашел на digg.com очень полезный справочник для пользователей apt-get/dpkg. Он содержит много реальных примеров того, что может понадобиться в работе с утилитами apt-get и dpkg и может быть полезным и интересным для новоиспеченных Debian-администраторов.

[/lang_ru]