From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Multiple substitute servers question Date: Tue, 02 May 2017 12:34:55 +0200 Message-ID: <878tmfk0mo.fsf@gnu.org> References: <87fugyeifc.fsf@gmail.com> <87tw5epqdh.fsf@gmail.com> 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]:44166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5V95-0002GX-CM for guix-devel@gnu.org; Tue, 02 May 2017 06:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5V90-0000xO-H3 for guix-devel@gnu.org; Tue, 02 May 2017 06:35:03 -0400 In-Reply-To: <87tw5epqdh.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 24 Apr 2017 10:04:58 +0900") 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" To: Maxim Cournoyer Cc: guix-devel Hello! Maxim Cournoyer skribis: > Maxim Cournoyer writes: [...] > The substitute URI should be "https://mirrors.hydra.gnu.org". When using > such URI it works without an error. > > My original question still holds though (why is an unresolvable > substitute-url able to bring the guix command down when at least one > working alternative substitute server exists? -- it should just warn > about it and push through). That=E2=80=99s what it does, except for URL syntax errors. That is, if you pass: --substitute-urls=3D"http://example.org/does-not-work https://mirror.hydr= a.gnu.org" then the first one is ignored. Does that make sense? >> substitute: In unknown file: >> substitute: ?: 1 [primitive-load "/gnu/store/v83285dvjy923ikq1dddncix= b6kfba0k-guix-0.12.0-5.1162/bin/.guix-real"] >> substitute: In guix/ui.scm: >> substitute: 1228: 0 [run-guix-command substitute "--query"] >> substitute:=20 >> substitute: guix/ui.scm:1228:8: In procedure run-guix-command: >> substitute: guix/ui.scm:1228:8: In procedure struct_vtable: Wrong type a= rgument in position 1 (expecting struct): #f >> guix environment: error: corrupt input while restoring archive from # >> > > Also, this error message is very cryptic; it didn't provided much that > would have helped me to realize about my error (wrong URI) earlier. Indeed. Fixed in 8a2105078b5845e31768da06b360676352b1f3e9 (you won=E2=80= =99t get the fix until you run an updated guix-daemon.) Thanks! Ludo=E2=80=99.