Portál AbcLinuxu, 24. dubna 2024 09:08
apt-get update Get:1 ftp://ftp.cz.debian.org testing Release.gpg [189B] Hit ftp://ftp.cz.debian.org testing Release Ign ftp://ftp.cz.debian.org testing Release Hit ftp://ftp.cz.debian.org testing/main Packages Fetched 189B in 10s (19B/s) Reading package lists... Done W: GPG error: ftp://ftp.cz.debian.org testing Release: Couldn't access keyring: No such file or directory W: You may want to run apt-get update to correct these problemsNechci tento problém vyřešit, ale odstranit ověření klíče, o odstranění problému vím, ale musel bych instalovat cca 15MB, přičemž celý systém má 80MB, takže to také nechci, proto se ptám, existuje nějaký způsob jak toto ověřování zrušit Vím i jak udělat to aby si toho systém nevšímal, ale já nechci provádět žádné ověřování. Pokud mi někdo pomůže budu moc vděčný trápím se s tím už asi 4 hodiny :(
apt-get --allow-unauthenticated install packagenameIf you don't wish to add this flag each time you can store the following text inside
/etc/apt/apt.conf
(creating that file if it's missing):
APT::Get::AllowUnauthenticated 1 ;Zdroj: http://www.debian-administration.org/articles/174
cd2:/etc/apt# cat /etc/apt/apt.conf APT::Get::AllowUnauthenticated 1 ; cd2:/etc/apt# apt-get update Get:1 ftp://ftp.cz.debian.org unstable Release.gpg [189B] Hit ftp://ftp.cz.debian.org unstable Release Ign ftp://ftp.cz.debian.org unstable Release Hit ftp://ftp.cz.debian.org unstable/main Packages Fetched 189B in 10s (18B/s) Reading package lists... Done W: GPG error: ftp://ftp.cz.debian.org unstable Release: Couldn't access keyring: No such file or directory W: You may want to run apt-get update to correct these problemsMohu poskytnout klidně další info, dokonce jsem tam přidal i toto: GPG::Check {"false"};
Díky moc, ale šlo by opět tento problém otevřítJá ho nijak "neuzavřel". Někdo ho jen posoudil jako vyřešený. Pokud vyřešený není, klikni na "Problém nebyl vyřešen". Nepomohlo by tedy stáhnout jen ten jeden klíč? Nemusíš mít přece celý Debian keyring...
cd2:/etc/apt# apt-get update Get:1 ftp://ftp.cz.debian.org unstable Release.gpg [189B] Hit ftp://ftp.cz.debian.org unstable Release Ign ftp://ftp.cz.debian.org unstable Release Hit ftp://ftp.cz.debian.org unstable/main Packages Fetched 189B in 10s (19B/s) Reading package lists... Done W: GPG error: ftp://ftp.cz.debian.org unstable Release: Could not execute /usr/bin/gpgv to verify signature (is gnupg installed?) W: You may want to run apt-get update to correct these problems
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.