From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 0Ak7BMAlGmYUYgAAqHPOHw:P1 (envelope-from ) for ; Sat, 13 Apr 2024 08:27:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0Ak7BMAlGmYUYgAAqHPOHw (envelope-from ) for ; Sat, 13 Apr 2024 08:27:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=OWG+AzRy; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=OWG+AzRy; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712989631; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=D3Skp7XNpYGF75P7aA76Km5k4mgovhFguXvwcy584Cc=; b=WtQF7CJngXaLoselp+BD2CmCBy/FvZ3QGuYTYhrX07TZ2TTB3EdNzxJtq+RDiB+1AaMvK3 P+0wQbSWNoC1ZO2aWkzmCqOSFjBBjoc5QsYfWvHg6eEI90yph3JtK9MvGpbjrPL4cun+Ox YkSUL+EkU05SlHf8ptgQDhdAHRpaUjfBpJPP9iiuOzkt3GP7YCxriL+LW8JYUR7pAmWSV/ dQye6EwBOMm1yYN8WH5QD1FS/Dmb46O9IvsufOkyOEMv03bD/Kh9RhU5PmNc7a6pv+0v7j KE2I0TobGRnXA/M/RfHC9Md9bY20yrOiPhgHKNvK5iqhc9454J6TtVWLY286gg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712989631; a=rsa-sha256; cv=none; b=MdcYdsrASDdXTQW+czz2pTsgwWIlYORQ/+KntK2Pnz9GuiSPemDRmlcDJ3aOVHau4N0oVt wf8opC42h3KQfnAmp19msQBIoHfYI/ZlJ+Va/mzGNjbjaX8KBvDXXuJvNHmh4y5AnH5wGz FMduJQJtIqckmfJlEp2367p5N5GdTWjbjazBqGQgNIRwZS6FiIhexAzjx9FTC1zXf40WS5 ZyjZ9FSLFfQe4NjrrW8tG5nMkZU1B0AWbo6oNrRyzFao/MM/5Gz94rT06S4HISOOZTjpjz HXOZ1ejg18/Ztr0peYTzwSyTXA6+krZbkjHE8or84BSnnKfzDxpIgbUrwNsvEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=OWG+AzRy; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=OWG+AzRy; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none 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 E21761783D for ; Sat, 13 Apr 2024 08:27:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvWql-0007Jn-CW; Sat, 13 Apr 2024 02:26:55 -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 1rvWqi-0007JN-D0 for bug-guix@gnu.org; Sat, 13 Apr 2024 02:26:52 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rvWqi-0005K8-5A for bug-guix@gnu.org; Sat, 13 Apr 2024 02:26:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvWqs-0001R5-E1 for bug-guix@gnu.org; Sat, 13 Apr 2024 02:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70215: Documentation about uninstalling Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 13 Apr 2024 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70215 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Rostislav Svoboda Cc: 70215@debbugs.gnu.org Received: via spool by 70215-submit@debbugs.gnu.org id=B70215.17129895945243 (code B ref 70215); Sat, 13 Apr 2024 06:27:02 +0000 Received: (at 70215) by debbugs.gnu.org; 13 Apr 2024 06:26:34 +0000 Received: from localhost ([127.0.0.1]:59890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvWqP-0001MU-Nv for submit@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 ) id 1rvWqN-0001M0-Vq for 70215@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 Message-ID: <20240413062559.GA15939@LionPure> References: <20240411123621.GA2976@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.99 X-Spam-Score: -0.99 X-Migadu-Queue-Id: E21761783D X-Migadu-Scanner: mx13.migadu.com X-TUID: 91s92VRt1jTE 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