Fórum Ubuntu CZ/SK
Ostatní => Ubuntu Server => Téma založeno: vawaver 28 Června 2021, 21:30:41
-
Páni,
chcem požiadať o radu ako opraviť túto chybu
.
tony@dockers:~$ sudo apt update
Get:1 https://download.docker.com/linux/ubuntu focal InRelease [52.1 kB]
Hit:2 http://sk.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://sk.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:4 http://sk.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://sk.archive.ubuntu.com/ubuntu focal-security InRelease
Err:3 http://sk.archive.ubuntu.com/ubuntu focal-updates InRelease
The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
Fetched 52.1 kB in 1s (79.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://sk.archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
W: Failed to fetch http://sk.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.
tony@dockers:~$
Ubuntu server 20.04.2 LTS
Ďakujem za odpoveď.
-
Daný repozitář má prostě expirovaný klíč. Možná už vydali nový - zjisti to na jejich stránkách a příp. ho naimportuj.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KLÍČ
Nebo to můžeš to zkusit "opravit" pomocí aplikace Y PPA Manager.
-
Ďakujem za odpoveď.
Budem musieť poprátrať kde to zistiť.
Čo sa týka Y PPA Manager, nie je to aplikácia určená pre desktop?
Lebo ako som písal, riešim tento problém na Ubuntu serveri. 8)
-
Ďakujem za odpoveď.
Budem musieť poprátrať kde to zistiť.
Čo sa týka Y PPA Manager, nie je to aplikácia určená pre desktop?
Lebo ako som písal, riešim tento problém na Ubuntu serveri. 8)
Ano, nevšiml jsem si, je to pro desktop (možná má i CLI verzi)..
Zkus do googlu zadat badsig 3b4fe6acc0b21f32 ubuntu archive automatic signing key (2012)
Pokud je ale ten PPA starý/neudržovaný, moc si nepomůžeš, jedině ho odstranit ze zdrojů, pak to aspoň už nebude otravovat...
-
Tak som našiel riešenie ktoré zabralo.
Dávam sem aj pre ostatných.
sudo apt-get clean
cd /var/lib/apt
sudo mv lists oldlist
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
Následne proces apt update už bez chyby.
tony@dockers:/$ sudo apt update
Hit:1 http://sk.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://sk.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://sk.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://sk.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
tony@dockers:/$