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.