pakfire: Add information about probable causes when pakfire cannot connect
Message ID | op.xzmf7il2cahio0@honk.fritz.box |
---|---|
State | Accepted |
Delegated to: | Michael Tremer |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id 05CBA61D7D for <patchwork@ipfire.org>; Tue, 2 Jun 2015 23:20:18 +0200 (CEST) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id B175D21B0; Tue, 2 Jun 2015 23:20:17 +0200 (CEST) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=212.227.15.3; helo=mout.web.de; envelope-from=larsen007@web.de; receiver=development@lists.ipfire.org Received: from mout.web.de (mout.web.de [212.227.15.3]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPS id A25F321A6 for <development@lists.ipfire.org>; Tue, 2 Jun 2015 23:20:16 +0200 (CEST) Received: from honk.fritz.box ([2.240.135.90]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0Lsvn8-1Z6AzN3D3K-012bmb for <development@lists.ipfire.org>; Tue, 02 Jun 2015 23:20:15 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Date: Tue, 02 Jun 2015 23:19:56 +0200 Subject: [PATCH] pakfire: Add information about probable causes when pakfire cannot connect To: "development@lists.ipfire.org" <development@lists.ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Larsen <larsen007@web.de> Message-ID: <op.xzmf7il2cahio0@honk.fritz.box> User-Agent: Opera Mail/12.17 (Win32) X-Provags-ID: V03:K0:X7giwhAPWiUdPhocHojzBwMGLGetZAHVTF4x1f+Y/MXrXxymad/ 4fC0zkxpwYA7ysLBC4efiorCVUdsoi2D+Mg0Tk0bnrks17LMMh5JTit9DHpgCK2TKoR7U2j oPpxq/eMFhbs59Zsj8pAYdPSQhRdL/XCT9fu8PbRN5KVVJmew7CYDbiHlFDrqhyBzh50dti upazwNvejthI5qIIRNvNQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Lars Schuhmacher
June 3, 2015, 7:19 a.m. UTC
Add information about probable causes when pakfire cannot connect. This includes port 11371 TCP and incorrect date/time settings.
Signed-off-by: Lars Schuhmacher <larsen007@web.de>
---
src/pakfire/lib/functions.pl | 1 +
1 file changed, 1 insertion(+)
Comments
Okay, this looked much better. I was still not able to apply the patch right away, but I am also not sure what the reason for that was here. It's merged now. Thank you. -Michael On Tue, 2015-06-02 at 23:19 +0200, Larsen wrote: > Add information about probable causes when pakfire cannot connect. This includes port 11371 TCP and incorrect date/time settings. > > Signed-off-by: Lars Schuhmacher <larsen007@web.de> > --- > src/pakfire/lib/functions.pl | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl > index d14e031..127f63b 100644 > --- a/src/pakfire/lib/functions.pl > +++ b/src/pakfire/lib/functions.pl > @@ -870,6 +870,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");