From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2@gmail.com Subject: Re: Guix - installation script Date: Mon, 11 Dec 2017 17:31:04 -0500 Message-ID: <867ets523b.fsf@gmail.com> References: <20170825193351.110a5221@cbaines.net> <878ti6a3lf.fsf@gnu.org> <20170827233617.50a21464@cbaines.net> <20170902170422.080d3e95@cbaines.net> <20170907192549.6eda6535@cbaines.net> <20171002061524.GA8656@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOWbR-00019r-CV for guix-devel@gnu.org; Mon, 11 Dec 2017 17:31:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOWbN-0001Rz-EU for guix-devel@gnu.org; Mon, 11 Dec 2017 17:31:13 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:33059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOWbN-0001RX-7n for guix-devel@gnu.org; Mon, 11 Dec 2017 17:31:09 -0500 Received: by mail-wm0-x22c.google.com with SMTP id g130so15076738wme.0 for ; Mon, 11 Dec 2017 14:31:09 -0800 (PST) In-Reply-To: <20171002061524.GA8656@thebird.nl> (Pjotr Prins's message of "Mon, 2 Oct 2017 08:15:24 +0200") 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: Pjotr Prins Cc: guix-devel@gnu.org, Hellseher On 10/02/2017 at 09:15 Pjotr Prins writes: > A script that would install the binary install package of Guix would > be very useful. It should unpack the tarball into /gnu/store and > /var/guix (checking nothing is there), set the keys and (optionally) > the build users. Ideally we should have: > > wget install.sh > sudo sh install.sh > - fetchin' guix... > - unpacking guix... > - installing guix... > - fetching keys... > - set build users... > - running guix pull... > guix package -i hello > (binary installs...) > > They keys of main substitute servers should just work. > > I just went through helping someone install Guix remotely and it is > *too* painful. He is an experienced devop(!) It took hours, mostly > because he forgot to set the keys correctly (Guix gives no proper > feedback). [...] I don't see how we can recommend Guix with a clear conscience if we don't automate these tedious steps, at least for a few popular distributions. FWIW, the last time I grappled with a binary install (guix-0.9.0 in Mar 2016 on Debian), I found a makefile to be the most handy way to automate install/uninstall. I'm not posting it because it doesn't work w/ Guix 0.15.0, but happy to provide to anyone interested. - George