From: Lars Schuhmacher Date: Mon, 1 Jun 2015 20:50:07 +0000 (+0200) Subject: pakfire: Add information about probable causes when pakfire cannot connect X-Git-Tag: v2.17-core91~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b29a624081f02a3d4161b1c181dcf064429b51c8;p=ipfire-2.x.git pakfire: Add information about probable causes when pakfire cannot connect Add information about probable causes when pakfire cannot connect. This includes port 11371 TCP and incorrect date/time settings. Signed-off-by: Lars Schuhmacher Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 6bf85afdca..d2f77fa8f1 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -890,6 +890,7 @@ sub checkcryptodb { unless ( "$ret" eq "0" ) { message("CRYPTO WARN: The GnuPG isn't configured corectly. Trying now to fix this."); message("CRYPTO WARN: It's normal to see this on first execution."); + message("CRYPTO WARN: If this message is being shown repeatedly, check if time and date are set correctly, and if IPFire can connect via port 11371 TCP."); my $command = "gpg --keyserver pgp.ipfire.org --always-trust --status-fd 2"; system("$command --recv-key $myid >> $Conf::logdir/gnupg-database.log 2>&1"); system("$command --recv-key $trustid >> $Conf::logdir/gnupg-database.log 2>&1");