GNU bug report logs - #70215
Documentation about uninstalling

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Shalok Shalom <shalokshalom@HIDDEN>; dated Fri, 5 Apr 2024 10:02:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 70215 <at> debbugs.gnu.org:


Received: (at 70215) by debbugs.gnu.org; 7 May 2024 18:58:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 07 14:58:14 2024
Received: from localhost ([127.0.0.1]:44151 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s4Q10-0007wy-8H
	for submit <at> debbugs.gnu.org; Tue, 07 May 2024 14:58:14 -0400
Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:40275)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1s4Q0u-0007wO-Dj
 for 70215 <at> debbugs.gnu.org; Tue, 07 May 2024 14:58:09 -0400
Received: by mail-wr1-x42b.google.com with SMTP id
 ffacd0b85a97d-34e663ab1caso262196f8f.1
 for <70215 <at> debbugs.gnu.org>; Tue, 07 May 2024 11:57:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1715108257; x=1715713057; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=tqMtZVvbzXX7knkXHzzapsveR9mDK2Nc5bA63NZQWRU=;
 b=BB3eHwWm5uYGtedHYVwq9M2Msq6B5zX9mJqqQTVm9nPrPkn4IKsFD10TsyFRJyssnn
 lhxF3oiWzHYnQ1tIGQ6NA287aw+kyBkS7JsY87e9tp0AFZIRn2inuZN4RAxui1fcsl25
 btFpKiyN7J+fblHZhlczkE1CV/ySZnVHJyuA+qorMT91GZxvTfH4b3vclimzIMZYDX83
 Ye4OymdHe7o6BbyjqoiBRI86+aC0StPQOmCH7k2muDpirYaKed/WKL0WxpeVEe9NxqL2
 QcVXl1UYApWpKIvSGbPbCJsjURqXSPlnD2ITc6sXo10IVD7Ab9CdStclvow4UOndNybc
 rzVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715108257; x=1715713057;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=tqMtZVvbzXX7knkXHzzapsveR9mDK2Nc5bA63NZQWRU=;
 b=H7/PtnxkfjHSOGgMWbw8fN3wvQdtEGy1KNIZJiDT5H41BM29cL9scICL+0AwwKlMEJ
 SyAFPfy/fZKRrgHJFZC0a5NdlmXikLSEwW/kPAKL4iHaKDQ5kf/DXWwVj3J17EtkEOra
 2MXmAq6OeHataPbft168cj5c0O1QwRXjRw6Lm65YYf7dzVvirUFk/C3eD61I2+SxpStk
 y0lto4bqSa15kO5osZgtp5kKlWy4OdTvvBV3QZ6OQ1mzKfq9RB7E06OmAU/EKxaJ+I+2
 J9rhWN0My+NcUHlDyZjaxfLr6Vq+M7RlsRW5x88a8fOszlKhIYPB5XrUduJmSDZdDxpr
 WL8w==
X-Gm-Message-State: AOJu0YyVBjPFfocljuNgJ1ZXGTvY5QspowPe/56JPW6UQ7wBixNseDdm
 OaNSGQCJ+V7lo1nPqBGWT1S0vGWUHKBHjsnReU9aXA+RoEKMm7+jmQW5YQ==
X-Google-Smtp-Source: AGHT+IE9w5Z7xy8ILJEQWi3vkpQbZXVxxbrv4h42nCEQG1PP5i7ebCQXNcIuSVD4LBi/tGGwQhUgAw==
X-Received: by 2002:adf:eacb:0:b0:34e:bdf9:32ff with SMTP id
 ffacd0b85a97d-34fcadde2c3mr418174f8f.1.1715108257527; 
 Tue, 07 May 2024 11:57:37 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-44.net.univ-paris-diderot.fr.
 [194.254.61.44]) by smtp.gmail.com with ESMTPSA id
 y10-20020a5d620a000000b0034ddb760da2sm13736189wru.79.2024.05.07.11.57.36
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 07 May 2024 11:57:37 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Bengt Richter <bokr@HIDDEN>, Rostislav Svoboda
 <rostislav.svoboda@HIDDEN>
Subject: Re: bug#70215: Documentation about uninstalling
In-Reply-To: <20240413062559.GA15939@LionPure>
References: <o2kUMVhyarvXUYxaKZ_CmY-_A6enzIq54AvchErbuYIO9G8vLx58t572Dr9RyBAU1gAFmFH-7FwTb6E79PkZIWNddtzCque-UwP-xn9mfEY=@protonmail.ch>
 <CAEtmmeyB6fc69ek_vxwdrCE0iv594_ARA-h4gj-OOF4YAH0wmQ@HIDDEN>
 <20240411123621.GA2976@LionPure>
 <CAEtmmewouqjdqtJzzaea6CNZrnYu=DneqLjqePzwMASPumL-1A@HIDDEN>
 <20240413062559.GA15939@LionPure>
Date: Tue, 07 May 2024 20:55:31 +0200
Message-ID: <87frut1mfw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70215
Cc: 70215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

I mark this bug as done since the documentation already contains how to
uninstall.

On sam., 13 avril 2024 at 08:25, Bengt Richter <bokr@HIDDEN> wrote:

>> Nevertheless, `./guix-install.sh --dry-run --uninstall` would be nice.

Well, it would be easy to write a Bash function wrapping =E2=80=99rm=E2=80=
=99 and
displaying the files instead of removing them.

Who wants to give a try? ;-)

>> However the script is over 800 lines long. In bash! :-(
>> IMO before increasing script complexity with a new feature, we should
>> rewrite it to some reasonable language, preferably Guile Scheme. Or at
>> least Python.

The maintenance burden Bash vs Python is an opinion. :-)

Well, a rewrite in Scheme/Guile would require to have Guile already
installed to run such script.  And that=E2=80=99s not an assumption I would
do. ;-)


> Well, guix pack is already scheme, right? Why couldn't it invoke uninstal=
l after
> safely having completed packing the uninstall-victim-files ?

Well, it=E2=80=99s appears to me an heavy hammer.  The best seems to have an
option displaying the files that need to be removed for uninstalling.

Let=E2=80=99s discuss that on guix-devel.  Because it=E2=80=99s not related=
 to a
bug. :-)


Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#70215; Package guix. Full text available.

Message received at 70215 <at> debbugs.gnu.org:


Received: (at 70215) by debbugs.gnu.org; 13 Apr 2024 06:26:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 02:26:34 2024
Received: from localhost ([127.0.0.1]:59890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvWqP-0001MU-Nv
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 02:26:33 -0400
Received: from mailout.easymail.ca ([64.68.200.34]:43348)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bokr@HIDDEN>) id 1rvWqN-0001M0-Vq
 for 70215 <at> debbugs.gnu.org; Sat, 13 Apr 2024 02:26:33 -0400
Received: from localhost (localhost [127.0.0.1])
 by mailout.easymail.ca (Postfix) with ESMTP id F0A4A6E8C1;
 Sat, 13 Apr 2024 06:26:15 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail;
 t=1712989575; bh=PwbN6ob12VjfUrjwNYm7zmMJ6Tz8GLq1OufT09JaBuM=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=OWG+AzRykzpV8ArSpFH1Lf3Lexzk7kGbOcIoeLo/pW2s1vjG/ApiN1CC83SiJyPRj
 145XpRj37nCh0Fax5czww/UHbiucE+SG768aULmMpYS6q3plhWCJ1ayDhCZfEboen7
 sKVPmLVRwD2EfIPuVNdRPzqP2FE78hmc0EfX8vhOXN4dVkMegt4cIowdgTvOgvscom
 bzKFnXcxjCB+6YFRjAb4Mcr7UQd1zkIDpGC5kUAJQQlrD/Cm9lI5Jp0rQMPI++3gHl
 cIFvxpEkNcgFO0aKdt/NJhYnFgreA5FOH2s0Nb8UcXqdnp25+GOUgrf6MJ3zs0J2kl
 w7QmFyQ3TmOQg==
X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn
Received: from mailout.easymail.ca ([127.0.0.1])
 by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 6-NykyQYfqJT; Sat, 13 Apr 2024 06:26:15 +0000 (UTC)
Received: from localhost (m90-129-202-72.cust.tele2.se [90.129.202.72])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mailout.easymail.ca (Postfix) with ESMTPSA id EDA206E8B9;
 Sat, 13 Apr 2024 06:26:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail;
 t=1712989575; bh=PwbN6ob12VjfUrjwNYm7zmMJ6Tz8GLq1OufT09JaBuM=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
 b=OWG+AzRykzpV8ArSpFH1Lf3Lexzk7kGbOcIoeLo/pW2s1vjG/ApiN1CC83SiJyPRj
 145XpRj37nCh0Fax5czww/UHbiucE+SG768aULmMpYS6q3plhWCJ1ayDhCZfEboen7
 sKVPmLVRwD2EfIPuVNdRPzqP2FE78hmc0EfX8vhOXN4dVkMegt4cIowdgTvOgvscom
 bzKFnXcxjCB+6YFRjAb4Mcr7UQd1zkIDpGC5kUAJQQlrD/Cm9lI5Jp0rQMPI++3gHl
 cIFvxpEkNcgFO0aKdt/NJhYnFgreA5FOH2s0Nb8UcXqdnp25+GOUgrf6MJ3zs0J2kl
 w7QmFyQ3TmOQg==
Date: Sat, 13 Apr 2024 08:25:59 +0200
From: Bengt Richter <bokr@HIDDEN>
To: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Subject: Re: bug#70215: Documentation about uninstalling
Message-ID: <20240413062559.GA15939@LionPure>
References: <o2kUMVhyarvXUYxaKZ_CmY-_A6enzIq54AvchErbuYIO9G8vLx58t572Dr9RyBAU1gAFmFH-7FwTb6E79PkZIWNddtzCque-UwP-xn9mfEY=@protonmail.ch>
 <CAEtmmeyB6fc69ek_vxwdrCE0iv594_ARA-h4gj-OOF4YAH0wmQ@HIDDEN>
 <20240411123621.GA2976@LionPure>
 <CAEtmmewouqjdqtJzzaea6CNZrnYu=DneqLjqePzwMASPumL-1A@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAEtmmewouqjdqtJzzaea6CNZrnYu=DneqLjqePzwMASPumL-1A@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70215
Cc: 70215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On +2024-04-11 15:10:56 +0200, Rostislav Svoboda wrote:
> > ./guix-install.sh --uninstall
> > [...]
> > That sounds dangerous
> 
> Yeah a bit.
> 
> > -- what about putting all the deletions
> > in a TAR_DICT/TAR_FILE_NAME.tgz as a default, with suitable
> > default alternative commands for various capitalized names
> > in a (bash) select menu -- which could also include
> >     "Just do it, I know what --uninstall does")
> 
> Eeeh? I don't understand what you mean.
>

Sorry, I should have explained.

I just wanted a simple way to save /exactly/ what uninstall would delete.
so it wouldn't be "irrevocable," in case the uninstall is too eager about its job ;)

A dry run of that size would be a scrolling blur, I think, and not much use unless
captured, and then it would take a lot of boring unreliable reading before you could
decide for sure that  it was ok to do the uninstall.

Maybe guix pack could make a tarball of exactly what uninstall would delete, e.g.,
	guix pack --uninstall-victim-files

with options of where to write it.
 
> Nevertheless, `./guix-install.sh --dry-run --uninstall` would be nice.
> However the script is over 800 lines long. In bash! :-(
> IMO before increasing script complexity with a new feature, we should
> rewrite it to some reasonable language, preferably Guile Scheme. Or at
> least Python.
> 

Well, guix pack is already scheme, right? Why couldn't it invoke uninstall after
safely having completed packing the uninstall-victim-files ?

WDYT? Simon? Ludo? Anyone? :)

> Cheers Bost

--
Regards,
Bengt Richter




Information forwarded to bug-guix@HIDDEN:
bug#70215; Package guix. Full text available.

Message received at 70215 <at> debbugs.gnu.org:


Received: (at 70215) by debbugs.gnu.org; 11 Apr 2024 13:11:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 09:11:50 2024
Received: from localhost ([127.0.0.1]:55206 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruuDW-0008TR-GO
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 09:11:50 -0400
Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]:52663)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rostislav.svoboda@HIDDEN>) id 1ruuDU-0008SS-6f
 for 70215 <at> debbugs.gnu.org; Thu, 11 Apr 2024 09:11:48 -0400
Received: by mail-ot1-x32a.google.com with SMTP id
 46e09a7af769-6ea1ef9e4e9so1654559a34.1
 for <70215 <at> debbugs.gnu.org>; Thu, 11 Apr 2024 06:11:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712841093; x=1713445893; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=tQNDRRdnLh3BsfTnKnyamGRwTNc0dqNIrk+zNz7EoxY=;
 b=eBErTg8BO/zIybn2ip46VdQWXdSQ6+HkTCJLxXZE1q7pbOOCvRnHTu/FJwqlwwGRLL
 feHBZafwKkKxc/LEE2wqDoaeq76cYRrw3YMmxLBQz6UJ3SabUfLwTb64+KXVi+MjIYVx
 RAuGd05M+NkXpNrNS3XyokSU01C2RyzpFawKVG9x4D0taDvQZ/dhNpV2ZWtV8/3yzh4m
 Y4StVpztH332wQpw87CkKUOoNcMOxTjyF55SYGjUcL8ar9UhrFOb9xY5V39cP7Tef+zm
 CjQxqyhFmPwUO1xcIlCguTo85Xuo/BH1Ryte90rf7OuvtLQ5gDEXVTN3E4pL101+Z4cM
 4q8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712841093; x=1713445893;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=tQNDRRdnLh3BsfTnKnyamGRwTNc0dqNIrk+zNz7EoxY=;
 b=K+ruSLBaqXvvLs23Il4LP5sM6pGKys8bf/Chqv8piwYpdc+JKHM2F4nE+g1IXJFQyV
 QWAB2jXUW4VVQVS7pVCGuBawPgflJqBQL7mwaxvlS1UCfT8WDCMxG+7wv4lxGR/TBViR
 7blwrIeC+FQ4/34rfNKvEXKKApe4mwyTEVG+8RgfaU6qSuQZQdL4SyHtYWC2ZLxV348k
 yAqsYTe8w5EqC2Ac9PE8vkL99at1U1Zv0EoQzVPVggQOCfJNUp1Y9UO07AHqgCWTqOvI
 cU8hJsgyFX1cV5Wxet4kT7jhLedaYw1cXnmtiEAom/5pD6k5IXZaTUvrgnd/U2kQAEb7
 cSMg==
X-Gm-Message-State: AOJu0YyanbWcXNpH7xp7/fzq5BA6gI59Ly4TVVrMhuGTfg5+tUdzXFLI
 B61LzeVM/SSXMI9eRGQXe1x7jmyB8vkivEfOdiBn9s+m6czvPy1mHVi7+fZOIfOd/aHf7TszOW+
 Zdp8ZKVXuMlPLp4xtA518HDx4uM8=
X-Google-Smtp-Source: AGHT+IEQ7M0hbF4PdIlNWkyFZDRIIZovFNPrIPADU7DPizUIWPedbURKBKmFmxU/zSY/Pm0fahnyJcoUk0FSCpY2p+4=
X-Received: by 2002:a05:6870:9604:b0:233:3706:15a4 with SMTP id
 d4-20020a056870960400b00233370615a4mr3644813oaq.0.1712841092530; Thu, 11 Apr
 2024 06:11:32 -0700 (PDT)
MIME-Version: 1.0
References: <o2kUMVhyarvXUYxaKZ_CmY-_A6enzIq54AvchErbuYIO9G8vLx58t572Dr9RyBAU1gAFmFH-7FwTb6E79PkZIWNddtzCque-UwP-xn9mfEY=@protonmail.ch>
 <CAEtmmeyB6fc69ek_vxwdrCE0iv594_ARA-h4gj-OOF4YAH0wmQ@HIDDEN>
 <20240411123621.GA2976@LionPure>
In-Reply-To: <20240411123621.GA2976@LionPure>
From: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Date: Thu, 11 Apr 2024 15:10:56 +0200
Message-ID: <CAEtmmewouqjdqtJzzaea6CNZrnYu=DneqLjqePzwMASPumL-1A@HIDDEN>
Subject: Re: bug#70215: Documentation about uninstalling
To: bokr@HIDDEN
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70215
Cc: 70215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> ./guix-install.sh --uninstall
> [...]
> That sounds dangerous

Yeah a bit.

> -- what about putting all the deletions
> in a TAR_DICT/TAR_FILE_NAME.tgz as a default, with suitable
> default alternative commands for various capitalized names
> in a (bash) select menu -- which could also include
>     "Just do it, I know what --uninstall does")

Eeeh? I don't understand what you mean.

Nevertheless, `./guix-install.sh --dry-run --uninstall` would be nice.
However the script is over 800 lines long. In bash! :-(
IMO before increasing script complexity with a new feature, we should
rewrite it to some reasonable language, preferably Guile Scheme. Or at
least Python.

Cheers Bost




Information forwarded to bug-guix@HIDDEN:
bug#70215; Package guix. Full text available.

Message received at 70215 <at> debbugs.gnu.org:


Received: (at 70215) by debbugs.gnu.org; 11 Apr 2024 12:36:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 08:36:57 2024
Received: from localhost ([127.0.0.1]:55177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rutfl-00042H-1C
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 08:36:57 -0400
Received: from mailout.easymail.ca ([64.68.200.34]:37788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bokr@HIDDEN>) id 1rutfh-00041n-Si
 for 70215 <at> debbugs.gnu.org; Thu, 11 Apr 2024 08:36:55 -0400
Received: from localhost (localhost [127.0.0.1])
 by mailout.easymail.ca (Postfix) with ESMTP id 19F86EE2FC;
 Thu, 11 Apr 2024 12:36:39 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail;
 t=1712838999; bh=NySLp3VIKBCSHaO43JExApGa7TUqMnZ0d1nVSAdQVkg=;
 h=From:Date:To:Cc:Subject:References:In-Reply-To:From;
 b=MtQQmC7vCF+LNnkEZbg7Y1Vkrc/luyTJzFJQTrp9tSRvz+SOeS1d5FBtavfQWc26i
 Of/H5GPXDVgRKJ/1Gw2tUg9508HHS44FesDS/izC4iezzJ6bHmh1hpxClb/NWHK7xC
 BPLjUubYRPa+hpLBrM3DV+IQogU0JHBg5+4ysgbG2woufNsSqmUwe7Y7udiLF8Maqk
 x84KIlfAoXe8LHzW9r7DZCUaO5u4AwN+qNzSEsA+TFeCL+kk2MmbNR2Ydl6hIiTQcn
 aCbOaFh20xSLtySuBxiBX4D4bLAVnf54nPvaI0H3pBJf9eEkD9QMrpPZj2+3WZ9qgw
 DmEn7UinBJH5Q==
X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn
Received: from mailout.easymail.ca ([127.0.0.1])
 by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Sg2gRcNeByP5; Thu, 11 Apr 2024 12:36:38 +0000 (UTC)
Received: from localhost (m90-129-202-72.cust.tele2.se [90.129.202.72])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest
 SHA256) (No client certificate requested)
 by mailout.easymail.ca (Postfix) with ESMTPSA id 199CBED62D;
 Thu, 11 Apr 2024 12:36:37 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail;
 t=1712838998; bh=NySLp3VIKBCSHaO43JExApGa7TUqMnZ0d1nVSAdQVkg=;
 h=From:Date:To:Cc:Subject:References:In-Reply-To:From;
 b=L/W0a4SZ6AyPVoZZJc1yrbbC0yortBxhMhBlthO76T86PpQ9WRDk7Pa/KlsI3pn8M
 OUT8KLvBjlbORFd8Vvp2Kd7zI825XEF43F3LfYp8BubU+K7+yYxA3etGEodAxLRAj/
 cFfMcg6rJBrSjBGSW3DZUMb/MmCsb4mNf6AaEobzs/eGcuZ/fBKQIEv1aG41BfVhbG
 RP3BuMglykFrzxgk+iEbf1e9SUBI8YW0n8WDHEIQTt59luIUhoF2vfjV29BCdlnAKW
 cv6KtqGwNPf7iF/l5JgJrKOiXgDtWB7+hO2iHgfiZ3cV91mHYz2eUeHMp5zwk1yk1l
 4fVwgeazyZG7Q==
From: bokr@HIDDEN
Date: Thu, 11 Apr 2024 14:36:21 +0200
To: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Subject: Re: bug#70215: Documentation about uninstalling
Message-ID: <20240411123621.GA2976@LionPure>
References: <o2kUMVhyarvXUYxaKZ_CmY-_A6enzIq54AvchErbuYIO9G8vLx58t572Dr9RyBAU1gAFmFH-7FwTb6E79PkZIWNddtzCque-UwP-xn9mfEY=@protonmail.ch>
 <CAEtmmeyB6fc69ek_vxwdrCE0iv594_ARA-h4gj-OOF4YAH0wmQ@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAEtmmeyB6fc69ek_vxwdrCE0iv594_ARA-h4gj-OOF4YAH0wmQ@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70215
Cc: 70215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On +2024-04-11 02:08:35 +0200, Rostislav Svoboda wrote:
> Do you mean the guix-install.sh script? If so then what about the
> https://guix.gnu.org/manual/devel/en/guix.html#index-uninstallation_002c-of-Guix
> ?
> 
> 
> 
It says (a bit reformatted):
┌────────────────────────────────────────────────────────────┐
│ Should you eventually want to uninstall Guix, run the same │
│ script with the --uninstall flag:                          │
│                                                            │
│ ./guix-install.sh --uninstall                              │
│                                                            │
│ With --uninstall, the script irreversibly deletes all the  │
│ Guix files, configuration, and services.                   │
└────────────────────────────────────────────────────────────┘

My 2 cents' worth:

That sounds dangerous -- what about putting all the deletions
in a TAR_DICT/TAR_FILE_NAME.tgz as a default, with suitable
default alternative commands for various capitalized names
in a (bash) select menu -- which could also include
    "Just do it, I know what --uninstall does")

--
Regards,
Bengt Richter





Information forwarded to bug-guix@HIDDEN:
bug#70215; Package guix. Full text available.

Message received at 70215 <at> debbugs.gnu.org:


Received: (at 70215) by debbugs.gnu.org; 11 Apr 2024 00:09:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 20:09:32 2024
Received: from localhost ([127.0.0.1]:54499 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rui0S-0000Oy-2W
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 20:09:32 -0400
Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]:47481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rostislav.svoboda@HIDDEN>) id 1rui0N-0000NA-32
 for 70215 <at> debbugs.gnu.org; Wed, 10 Apr 2024 20:09:30 -0400
Received: by mail-yw1-x112f.google.com with SMTP id
 00721157ae682-617d411a6b3so50131417b3.3
 for <70215 <at> debbugs.gnu.org>; Wed, 10 Apr 2024 17:09:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712794152; x=1713398952; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=u0nEzoJBhBjMJDSHsdzRb7tFuZVYsFmdKpWS8Q4ZbrE=;
 b=i2rxnIbgoQ0sMzZ7/bsUtFauwZfEeSazM56u8LfVQmUYl+VG4VyQUQyFQxa6pMD4Yi
 b6gA3XQvVLNRuXafjLXRSHScwzEBiPuy4wUx6v5FaBv2WVTicdy+zFEq4q1TsXPFdvYG
 8cbPViONgn4yReOWHjMLl8c4QCtbHAzcF4uY1NO+S95vBNAs4nEbeUdkWRW7N0uM9/ip
 ZjBV6u7mrPfdDTKaT2KlAISaI8OVKr00ZfyKK6kGRphD8dLC5yOaI3jS9iU0n8dGOBy5
 tvTWLrx0FqYBR3vZLWxZqDczUSr+f6I/Ue5WEdKGZIQ1kVo/GOSwIqW8f5YRJTuVVuqi
 EFfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712794152; x=1713398952;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=u0nEzoJBhBjMJDSHsdzRb7tFuZVYsFmdKpWS8Q4ZbrE=;
 b=OL/t4ppZiRIg8e8Ni56b7dtf0VJeHH6ilIEYGO8Pb55Ezgs+pOAMyBWgca0db13xyp
 YbMU9p2Faq83cSSKZcGBNyRb1bF4vAAyoPbPjqg82184rqNYl8O5QoxS/bGWc+Ur0Wtk
 ynqLWzARng3kfHE0NMUpYOJuQJx8+Ma+8bjCPw52Gwdz1jkfJSsgO5MqQQ+G9CaUZHc4
 Qk3Ppkd7R6zP1OoWZLiAZt1mj828nYNqmTyw2SpJ2w5PepZf0U0kLr2Z0F2OhhhK3Toe
 AoKBlxvlaEtqImDNTEOx8kPlE3RFigLSyNNFbADuaxjQ/8G3nMHlecslxBiOLbBMfrbQ
 klvQ==
X-Gm-Message-State: AOJu0YyXk6M5XE1W80oV/2sWI8CyncHoZovoXX7xvBuRKnkLegm5T6Dn
 8cx/L1wCguHAJGcYW10h4gdS+2C87oV5PrdGFm2KW9snLMmKkMZIkpG3q0W4uNEkzacRe/EmGY3
 lgsYjNhlEhLSLVgQ7wQmc8v0iuSDkgOtTJP4=
X-Google-Smtp-Source: AGHT+IEtDccQLRfQHafsrPa2FV9/gVC2f+eo48KSESx8TnE6uQjv82guXV0QqileeOikMUsAGVanqkdaaEDsYr0tDAc=
X-Received: by 2002:a25:d842:0:b0:dcf:bf94:bc30 with SMTP id
 p63-20020a25d842000000b00dcfbf94bc30mr4500509ybg.34.1712794152091; Wed, 10
 Apr 2024 17:09:12 -0700 (PDT)
MIME-Version: 1.0
From: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Date: Thu, 11 Apr 2024 02:08:35 +0200
Message-ID: <CAEtmmeyB6fc69ek_vxwdrCE0iv594_ARA-h4gj-OOF4YAH0wmQ@HIDDEN>
Subject: Re: Documentation about uninstalling
To: 70215 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70215
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Do you mean the guix-install.sh script? If so then what about the
https://guix.gnu.org/manual/devel/en/guix.html#index-uninstallation_002c-of-Guix
?




Information forwarded to bug-guix@HIDDEN:
bug#70215; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Apr 2024 10:01:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 05 06:01:15 2024
Received: from localhost ([127.0.0.1]:35233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rsgNj-0008HN-BP
	for submit <at> debbugs.gnu.org; Fri, 05 Apr 2024 06:01:15 -0400
Received: from lists.gnu.org ([2001:470:142::17]:41452)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <shalokshalom@HIDDEN>) id 1rsfJR-0003Zs-8g
 for submit <at> debbugs.gnu.org; Fri, 05 Apr 2024 04:52:42 -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 <shalokshalom@HIDDEN>)
 id 1rsfJE-0002US-Au
 for bug-guix@HIDDEN; Fri, 05 Apr 2024 04:52:28 -0400
Received: from mail-4319.protonmail.ch ([185.70.43.19])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <shalokshalom@HIDDEN>)
 id 1rsfJB-0004og-ON
 for bug-guix@HIDDEN; Fri, 05 Apr 2024 04:52:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.ch;
 s=protonmail3; t=1712307139; x=1712566339;
 bh=8hWHddcFf5RUT0FHVAUOdUMqQptQshS4Hkh3u2u2U1E=;
 h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
 b=PEfYaq6mbisKOBBzy3RF358/htDowlPmjPX3nkk0lkk/YT+R/t/tKIj593ylYUZWa
 bWNhhIkJv/aTl+OvNN/hjUjkUCspxDqZriIzjrxDT9tdNgO6qdhzPdGfknpvs1EkPh
 ebGed6C44dq5B+IRQdIpFIruHzXXay8uZn/4Y7qYr64qGMm2GEfLiawhZMMGo35mWw
 K8m9L7u9TfyARPQMHIYQD+OR0Mz3q6PM/Bkvik8wPnkHPrL1xLIQJYYmS7xhNliQH6
 SgeQrz79qnb7cQJplMEWlyVB3dtXuuuqv/n71rNhX9F74sSZfL9H4wUZo14nqLuLVO
 I2suSCuX5jtAg==
Date: Fri, 05 Apr 2024 08:52:10 +0000
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
From: Shalok Shalom <shalokshalom@HIDDEN>
Subject: Documentation about uninstalling
Message-ID: <o2kUMVhyarvXUYxaKZ_CmY-_A6enzIq54AvchErbuYIO9G8vLx58t572Dr9RyBAU1gAFmFH-7FwTb6E79PkZIWNddtzCque-UwP-xn9mfEY=@protonmail.ch>
Feedback-ID: 1182871:user:proton
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_SuPi4k9xBZKzDs4avuaOXByvAd41xytZbIcixpVfkw"
Received-SPF: pass client-ip=185.70.43.19;
 envelope-from=shalokshalom@HIDDEN; helo=mail-4319.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 05 Apr 2024 06:01:10 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

This is a multi-part message in MIME format.

--b1_SuPi4k9xBZKzDs4avuaOXByvAd41xytZbIcixpVfkw
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

SSBoYXZlIGluc3RhbGxlZCBHdWl4IHdpdGggdGhlIHNjcmlwdCwgYW5kIG5vdyBjYW5ub3QgZmlu
ZCB0aGUgcGFydCBvZiB0aGUgZG9jdW1lbnRhdGlvbiwgdGhhdCBleHBsYWlucyBob3cgdG8gdW5p
bnN0YWxsIGl0LgoKU2ljaGVyIHZlcnNlbmRldCBtaXQgW1Byb3RvbiBNYWlsXShodHRwczovL3By
b3Rvbi5tZS8pLg==

--b1_SuPi4k9xBZKzDs4avuaOXByvAd41xytZbIcixpVfkw
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0
cHg7Ij5JIGhhdmUgaW5zdGFsbGVkIEd1aXggd2l0aCB0aGUgc2NyaXB0LCBhbmQgbm93IGNhbm5v
dCBmaW5kIHRoZSBwYXJ0IG9mIHRoZSBkb2N1bWVudGF0aW9uLCB0aGF0IGV4cGxhaW5zIGhvdyB0
byB1bmluc3RhbGwgaXQuJm5ic3A7PC9kaXY+PGRpdiBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFs
LCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDE0cHg7Ij48YnI+PC9kaXY+DQo8ZGl2IGNsYXNzPSJw
cm90b25tYWlsX3NpZ25hdHVyZV9ibG9jayIgc3R5bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCwgc2Fu
cy1zZXJpZjsgZm9udC1zaXplOiAxNHB4OyI+DQogICAgPGRpdiBjbGFzcz0icHJvdG9ubWFpbF9z
aWduYXR1cmVfYmxvY2stdXNlciBwcm90b25tYWlsX3NpZ25hdHVyZV9ibG9jay1lbXB0eSI+DQog
ICAgICAgIA0KICAgICAgICAgICAgPC9kaXY+DQogICAgDQogICAgICAgICAgICA8ZGl2IGNsYXNz
PSJwcm90b25tYWlsX3NpZ25hdHVyZV9ibG9jay1wcm90b24iPg0KICAgICAgICBTaWNoZXIgdmVy
c2VuZGV0IG1pdCA8YSB0YXJnZXQ9Il9ibGFuayIgaHJlZj0iaHR0cHM6Ly9wcm90b24ubWUvIiBy
ZWw9Im5vb3BlbmVyIG5vcmVmZXJyZXIiPlByb3RvbiBNYWlsPC9hPi4NCiAgICA8L2Rpdj4NCjwv
ZGl2Pg0K


--b1_SuPi4k9xBZKzDs4avuaOXByvAd41xytZbIcixpVfkw--





Acknowledgement sent to Shalok Shalom <shalokshalom@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#70215; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 7 May 2024 19:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.