From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: ftp Re: --with-store-dir and/or --localstatedir seem to be ignored Date: Sat, 16 May 2015 21:42:33 +0200 Message-ID: <87617snwba.fsf@gnu.org> References: <87h9refc0y.fsf@gmail.com> <87vbfu15n6.fsf@gnu.org> <87d222ey57.fsf@gmail.com> <87mw15ykmf.fsf@gnu.org> <878ucpga4w.fsf@gmail.com> <87iobtyebm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ythyr-0000Ls-FD for guix-devel@gnu.org; Sat, 16 May 2015 15:42:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ythyl-0007BY-VN for guix-devel@gnu.org; Sat, 16 May 2015 15:42:40 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ythyl-0007BT-SH for guix-devel@gnu.org; Sat, 16 May 2015 15:42:35 -0400 In-Reply-To: (Alex Vorobiev's message of "Fri, 15 May 2015 20:22:06 +0000 (UTC)") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Vorobiev Cc: guix-devel@gnu.org Alex Vorobiev skribis: > Thanks! I pulled the master from git and rebuilt/reinstalled guix. Now I= =20 > don't see that error! But I do see another one: > > $ guix package -i bash > looking for the latest release of GNU bash...FTP to `ftp.gnu.org' failed: > 530: User access denied. This is annoying but harmless: =E2=80=98guix package=E2=80=99 is looking fo= r the latest Bash version available at ftp.gnu.org to tell you whether a newer one is available upstream. Here it cannot do that, so it just proceeds with installation. Perhaps we should allow users to somehow turn off this feature altogether. Thoughts? > I do know that ftp connections are not allowed on my corporate network=20 > for security reasons (http is fine). Is there any way to tell guix not to= =20 > use ftp repositories at all? This particular feature (checking for newer upstream packages) is only supported for GNU packages, and it=E2=80=99s ignored when it fails. Substitutes are always downloaded over HTTP. Source code for which no substitutes are available could be downloaded either over HTTP, HTTPS, or FTP, depending on the package and mirrors. I expect few are available solely over FTP, but for those, there=E2=80=99s = no workaround. Then again, with substitutes enabled, you=E2=80=99re unlikely to stumble up= on such a case. HTH, Ludo=E2=80=99.