From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qDieDRptY2N45gAAbAwnHQ (envelope-from ) for ; Thu, 03 Nov 2022 08:26:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YESeDRptY2MUdAAAauVa8A (envelope-from ) for ; Thu, 03 Nov 2022 08:26:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E769614C18 for ; Thu, 3 Nov 2022 08:26:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqUbm-0001jd-3I; Thu, 03 Nov 2022 03:25:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqUbk-0001jS-3R for help-guix@gnu.org; Thu, 03 Nov 2022 03:25:48 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqUbi-0000Yy-93 for help-guix@gnu.org; Thu, 03 Nov 2022 03:25:47 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1oqUbd-000ht2-Ml for help-guix@gnu.org; Thu, 03 Nov 2022 08:25:41 +0100 Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1oqUbc-00040g-EH; Thu, 03 Nov 2022 08:25:40 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1oqUbR-0007Y9-Dr; Thu, 03 Nov 2022 08:25:29 +0100 Message-ID: Date: Thu, 3 Nov 2022 07:25:28 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: Guix package manager installed Content-Language: en-US To: Gottfried , help-guix@gnu.org References: <4001ca8e-0e7a-8e36-9fe3-cef00cd2dd34@futurile.net> <83dc6c3b-b68c-56da-d78c-98f5752d6b72@posteo.de> From: Steve George In-Reply-To: <83dc6c3b-b68c-56da-d78c-98f5752d6b72@posteo.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: permerror client-ip=2a0c:5a00:149::26; envelope-from=steve@futurile.net; helo=mailtransmit05.runbox.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667460378; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=vAHMsDnxDswi8ENY7G7xKLeZdIIKvhbwOif8Q+7fN4k=; b=VOAlG40Ao0ZCq9wEe1xTxdSL4WCh5IwBL/zyngItVP1YNJezSz5/jjk3M2rEvpqGJdKtCs MYwzJDgd0UseaPtuVx59hQIFyxKGLr5t8ZFjiFaRgcnmT5M4WYTsnmSIiXmaTNjyj1J7IM KIpPJul2szT6WJzzKGFp9xnCTf33t5rPXjw31okFBdKyEbWTRYfgHRTkk6w9MhSKAwXx0y be3kREEtRZfQ4AiO7P7X08z2SPxfrA2PeC7jg44CTduXvTxmkvxBpCgAG+94WfOChb0GQ4 FwYn/tLQVpG3/X9osYKYddcaZ2DlMKQCyY8vOesNeF1V6BOfqL6HdtRLHAEEwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667460378; a=rsa-sha256; cv=none; b=X4I3+xA/EJttpHNOE89aojNslrpUkoy6/09HjPRvVCAQnMMrhkBQgV3HUKXDVAZ+ae/V4F Hu2rgwwQrM9d9kkGg+4HL9jn1Rm4TnlpRGNA3pVWk7F+5wgsWKu1oIisyu006Cu6vhWRAB ShtMo9YrXwCei9a0PMPO0vMD7LLY1UhLAbBKcWY8PFuHA5cbDsv13apeVf/RWvvEiazWQu TPfTiY9Bpk44daq8gZPRH+wSYgX31yQi1YroOE7sVDen2ISA+Bv6hJfeOcQ+lb5tHTwCkH lQMIK2iW8m37C9+Cnss10+ezx5TU0rNHXoa7cL1QvlAhuVONmrYQ7BZ5hRmTcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.09 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E769614C18 X-Spam-Score: -4.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: I/gn4KHRw6X/ Hi Gottfried, In an earlier email you said you're running Trisequel: so you have Guix installed as a package manager on top of it. That means when you installed Guix package manager your distributions 'service manager' was used to install the Guix daemon. As Trisequel is an Ubuntu derivative [0] I assumed it was running Systemd to manage services. Systemd uses the systemctl command: so you should be able to run that command as root. I don't know enough about Trisequel to help you figure out which service manager you're running. You'll need to ask on the Trisequel forums for help on which service manager you have. You can try doing some research on service managers and systemd - the Arch Wiki has good links [1] Best of luck! [0] https://en.wikipedia.org/wiki/Trisquel [1] https://wiki.archlinux.org/title/Init#Service_managers and https://wiki.archlinux.org/title/Systemd On 02/11/2022 19:59, Gottfried wrote: >  Hi Steve, > > thanks for explanation > I am hacking on the basics. > > > I tried: > > sudo systemctl status guix-daemon.service > > but it said: > > gfp@Tuxedo ~$ sudo systemctl status guix-daemon.service > Password: > sudo: systemctl: command not found > > systemctl ? > > Kind regards > > Gottfried > > > > Am 02.11.22 um 08:53 schrieb Steve George: >> Hi, >> >> The key concept to understand is that Guix runs a build daemon and >> package database (/gnu/store) on the machine which multiple 'normal' >> users can use. You can see it with: >> >>    sudo systemctl status guix-daemon.service >> >> The manual is trying to explain that you use the root user to update >> the guix daemon itself. So you do this: >> >>    sudo -i pull guix >>    sudo systemctl restart guix-daemon.service >> >> The second step is that for each of your normal users, you then use >> guix. For example, to update guix for my main user and to install a >> package: >> >>    # open a normal terminal >>    $ guix pull >>    $ guix upgrade >>    $ guix install tmux >> >> If you inspect the guix-daemon service the log will show your user >> connecting to the service and the guix-daemon handling the actions >> (e.g. download the software): >> >>    sudo systemctl status guix-daemon.service >> >> If you had multiple users then each individual user would do guix pull >> to update their definitions of what applications/versions are >> available. Each user has their own record (called a profile) of which >> applications they've installed. >> >> The advantage of using the single daemon, is that if multiple users >> installed a program (e.g. tmux) then it would only be downloaded once. >> >> Unless you use your root user regularly you don't need to install >> applications as the root user. I personally only run a small number of >> commands as root so I don't install any Guix software as root. >> >> Hope that makes it easier to understand! >> >> >> On 29/10/2022 21:57, Gottfried wrote: >>> Hi Guixers, >>> >>> I am very thankful for all the Guixers who worked and are working for >>> Guix, also for the manual... >>> >>> because against all hope I was able to install the Guix package >>> manager on another laptop on top of Trisquel on the basis of the manual. >>> >>> I am wondering myself that I was able to understand the manual and >>> step by step I did what it said. >>> Even sometimes there were messages of failures but at the end >>> everything worked. (I had to look up for solutions  on the web >>> several times, but at the end it was successful) >>> >>> 1.  As far as I understand it I have to do >>> >>> guix pull >>> >>> and a >>> >>> guix package -u >>> >>> but no >>> >>> sudo guix system reconfigure /etc/config.scm >>> >>> because there is no /etc/config.scm file >>> >>> Is that right? >>> >>> >>> Where is the relevant file for the guix package manager I installed? >>> >>> >>> 2.  Do I regularly have to do a "sudo guix pull" for root? >>> >>> or is it enough that I did it once for setting up guix? >>> >>> >>> >>> Kind regards >>> >>> Gottfried >>> >> >