From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raghav Gururajan" Subject: "guix system -u" and "guix system --list-packages" Date: Tue, 16 Apr 2019 10:41:59 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--=_RainLoop_584_679641118.1555411319" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGLXV-00039n-Ie for guix-devel@gnu.org; Tue, 16 Apr 2019 06:42:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGLXT-00047I-Mg for guix-devel@gnu.org; Tue, 16 Apr 2019 06:42:09 -0400 Received: from knopi.disroot.org ([178.21.23.139]:49896) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGLXQ-0003vl-Gp for guix-devel@gnu.org; Tue, 16 Apr 2019 06:42:06 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3C4212EFE0 for ; Tue, 16 Apr 2019 12:42:01 +0200 (CEST) Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UZMk8YhH11Ju for ; Tue, 16 Apr 2019 12:41:59 +0200 (CEST) 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: guix-devel@gnu.org ----=_RainLoop_584_679641118.1555411319 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Guix!=0A=0AIdea of adding following features to Guix.=0A=0A1) Dedic= ated "guix system -u" separated from "guix system reconfigure". So the di= fference between "guix system reconfigure" and "guix system -u" would be;= the former does changes to system configuration (including adding/upgrad= ing system packages) whereas the latter just upgrades system packages wit= hout making changes to system configuration.=0A=0A2) "guix system --list-= packages" lists all system packages in current system generation. Could a= lso add additional parameter (like "guix system --list-packages #sys-gen"= ) to list system packages in a different available system generation.=0A= =0ARegards,=0ARG. ----=_RainLoop_584_679641118.1555411319 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
<= div>
He= llo Guix!

Idea of adding following features to Guix.

1) Ded= icated "guix system -u" separated from "guix system reconfigure". So the = difference between "guix system reconfigure" and "guix system -u" would b= e; the former does changes to system configuration (including adding/upgr= ading system packages) whereas the latter just upgrades system packages w= ithout making changes to system configuration.

2) "guix system --l= ist-packages" lists all system packages in current system generation. Cou= ld also add additional parameter (like "guix system --list-packages #sys-= gen") to list system packages in a different available system generation.=

Regards,
RG.
----=_RainLoop_584_679641118.1555411319-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: Re: "guix system -u" and "guix system --list-packages" Date: Tue, 16 Apr 2019 15:34:39 +0000 Message-ID: <00f6987651a6a79831b72b5594892a7d@disroot.org> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--=_RainLoop_273_615730859.1555428879" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGQ7J-0002vn-Rj for guix-devel@gnu.org; Tue, 16 Apr 2019 11:35:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGQ7H-00077x-Sd for guix-devel@gnu.org; Tue, 16 Apr 2019 11:35:25 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42452) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGQ7E-00072y-Sx for guix-devel@gnu.org; Tue, 16 Apr 2019 11:35:21 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5D0B72F064 for ; Tue, 16 Apr 2019 17:35:18 +0200 (CEST) In-Reply-To: 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: Raghav Gururajan , guix-devel@gnu.org ----=_RainLoop_273_615730859.1555428879 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Is it now possible to get list of all installed packages such as dependen= cies for installed packages and packages installed with system configurat= ion? I really do not know yet.=0A=0AApril 16, 2019 10:42 AM, "Raghav Guru= rajan" )> wrote:=0AHello Guix!=0A=0AIdea of adding following features to Gu= ix.=0A=0A1) Dedicated "guix system -u" separated from "guix system reconf= igure". So the difference between "guix system reconfigure" and "guix sys= tem -u" would be; the former does changes to system configuration (includ= ing adding/upgrading system packages) whereas the latter just upgrades sy= stem packages without making changes to system configuration.=0A=0A2) "gu= ix system --list-packages" lists all system packages in current system ge= neration. Could also add additional parameter (like "guix system --list-p= ackages #sys-gen") to list system packages in a different available syste= m generation.=0A=0ARegards,=0ARG. ----=_RainLoop_273_615730859.1555428879 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
I= s it now possible to get list of all installed packages such as dependenc= ies for installed packages and packages installed with system configurati= on? I really do not know yet.

April 16, 2019 10:42 AM, "Raghav Gur= urajan" <rvgn@disroot.org> wrot= e:
Hello Guix!

Idea of adding following features to = Guix.

1) Dedicated "guix system -u" separated from "guix system re= configure". So the difference between "guix system reconfigure" and "guix= system -u" would be; the former does changes to system configuration (in= cluding adding/upgrading system packages) whereas the latter just upgrade= s system packages without making changes to system configuration.

= 2) "guix system --list-packages" lists all system packages in current sys= tem generation. Could also add additional parameter (like "guix system --= list-packages #sys-gen") to list system packages in a different available= system generation.

Regards,
RG.
<= /div>


----=_RainLoop_273_615730859.1555428879-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: "guix system -u" and "guix system --list-packages" Date: Tue, 16 Apr 2019 22:35:14 +0200 Message-ID: <875zrdd6yl.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGUnX-00010m-SG for guix-devel@gnu.org; Tue, 16 Apr 2019 16:35:20 -0400 In-Reply-To: (Raghav Gururajan's message of "Tue, 16 Apr 2019 10:41:59 +0000") 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: Raghav Gururajan Cc: guix-devel@gnu.org Hello! "Raghav Gururajan" skribis: > Idea of adding following features to Guix. > > 1) Dedicated "guix system -u" separated from "guix system reconfigure". S= o the difference between "guix system reconfigure" and "guix system -u" wou= ld be; the former does changes to system configuration (including adding/up= grading system packages) whereas the latter just upgrades system packages w= ithout making changes to system configuration. This command: guix package -p /run/current-system/profile -u almost does that, but eventually fails because /run/current-system is read-only. Hmm=E2=80=A6 Now, in principle, upgrading the system profile without upgrading system services is not a good idea, because it could lead to inconsistencies. For instance, the GNOME service consists of a set of Shepherd services and D-Bus services, but it also populates the system profile. All these things need to be in sync. > 2) "guix system --list-packages" lists all system packages in current sys= tem generation. Could also add additional parameter (like "guix system --li= st-packages #sys-gen") to list system packages in a different available sys= tem generation. What about: guix package -p /run/current-system/profile -I ? Thanks, Ludo=E2=80=99.