From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hebi Li Subject: Re: How to properly use channels? (my 'guix pull' throws error) Date: Tue, 02 Oct 2018 14:16:17 -0500 Message-ID: <87ftxo5fcu.fsf@gmail.com> References: <87d0szvfft.fsf@gmail.com> <87tvm4psox.fsf@gnu.org> <87va6kxlrl.fsf@gmail.com> <87va6ktdhu.fsf@elephly.net> 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]:43709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7Q9k-0002Fo-PR for help-guix@gnu.org; Tue, 02 Oct 2018 15:16:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7Q9j-0003S6-T8 for help-guix@gnu.org; Tue, 02 Oct 2018 15:16:28 -0400 In-Reply-To: <87va6ktdhu.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 02 Oct 2018 20:22:37 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org Hi Ricardo, On Tue, Oct 02 2018, Ricardo Wurmus wrote: > AFAIK this defect has been fixed a couple of days ago. Unfortunately, > you need to upgrade Guix with =E2=80=9Cguix pull=E2=80=9D but without cha= nnels. Once > upgraded you can use channels again. > I actually ran "guix pull" right before I tried Ludovic's suggestion earlier today. Anyway I pulled again, and did a full system upgrade (guix package -u) and also reconfigure (sudo -E guix system reconfigure config.scm), and even a reboot. The "guix pull" command is still complaining "no code for module (gcrypt hash)". However, it succeeded when I tried the latest guix source [1], and ran with ./pre-inst-env [2]. This time, "./pre-inst-env guix pull" did finish compiling the package successfully: New in this revision: 2 new packages: chromium, gn But, I have no idea how to build and install the newly retrieved chromium package. Seems that both "guix" and "./pre-inst-env guix" do not see the new package (i.e. "(./pre-inst-env) guix install chromium" complains no chromium package, no chromium is listed by "(./pre-inst-env) guix package --list-avaiable"). Thus, I'm confused of what is the effect of the command "./pre-inst-env guix pull". The document [2] is saying: Note that ./pre-inst-env guix pull does not upgrade the local source tree; it simply updates the ~/.config/guix/current symlink (see Inv= oking guix pull). Run git pull instead if you want to upgrade your local source tree. I thought ~/.config/guix/current symlink *is* the local source tree, and this document says both "./pre-inst-env guix pull" and "guix pull" upgrade it. [1] https://www.gnu.org/software/guix/manual/en/html_node/Building-from-Git= .html [2] https://www.gnu.org/software/guix/manual/en/html_node/Running-Guix-Befo= re-It-Is-Installed.html --=20 Hebi