On Friday, 10 August 2018 at 13:19:21 UTC, Jean-Louis Leroy wrote:
jll@euclid:~/dlang$ ./install.sh dmd
Downloading and unpacking http://downloads.dlang.org/releases/2.x/2.081.1/dmd.2.081.1.linux.tar.xz
######################################################################### 100.0%
Invalid signature http://downloads.dlang.org/releases/2.x/2.081.1/dmd.2.081.1.linux.tar.xz.sig

Same problem with 'install update'. But not when installing ldc or gdc.

Seb and I found the issue (TLDR: fix here: https://github.com/dlang/installer/pull/338)

The problem is downloading "install.sh" directly to "~/dlang/install.sh". This causes the install script to think that it has already downloaded the "d-keyring.gpg" so it never downloads it, causing the "invalid signature" error. The fix is to download "install.sh" if the d-keyring is not downloaded, even if install.sh already is.

What made it more confusing is that if it doesn't download d-keyring.gpg, then it will create a default one...making you think it was downloaded but it actually wasn't...odd. In your case you'll want to manually remove "~/dlang/d-keyring.gpg" and use the new "install.sh" script after PR 338 is merged/deployed.

Reply via email to