PDA

View Full Version : [kubuntu] Failed to authenticate disco.tar.gz: no public key



dyle712
April 22nd, 2019, 06:25 AM
#!/bin/hi *

I cannot update from 18.10 to 19.04 due to a failed authentication check of disco.tar.gz.

It seems to me, that the command

# do-release-upgrade
downloads the disco.tar.gz and the disco.tar.gz.gpg from http://archive.ubuntu.com/ubuntu/dists/disco-proposed/main/dist-upgrader-all/current/, stores them in a temporary folder and runs a


# apt-key verify /tmp/ubuntu-release-upgrader-oe0wd39w/disco.tar.gz.gpg /tmp/ubuntu-release-upgrader-oe0wd39w/disco.tar.gz
gpgv: Signature made Sa 20 Apr 2019 02:03:10 CEST
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>"
gpgv: Signature made Sa 20 Apr 2019 02:03:10 CEST
gpgv: using RSA key 871920D1991BC93C
gpgv: Can't check signature: No public key

This fails since key 871920D1991BC93C is unavailable:


# apt-key adv --keyserver http://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C
Executing: /tmp/apt-key-gpghome.XSv3F8qJJr/gpg.1.sh --keyserver http://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0


What should I do?

dyle712
April 27th, 2019, 10:54 AM
*bump* - Noone?

Ok. Forced myself an update by dropping the authentication check. -.-



--- DistUpgradeFetcherCore.py 2019-04-27 11:51:06.485837751 +0200
+++ /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py 2019-04-27 11:51:26.013714091 +0200
@@ -75,7 +75,7 @@
'signature': os.path.basename(sig)})
if self.gpgauthenticate(f, sig):
return True
- return False
+ return True

def gpgauthenticate(self, file, signature,
keyring=None):