From unknown Sat Aug 16 10:51:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19978 <19978@debbugs.gnu.org> To: bug#19978 <19978@debbugs.gnu.org> Subject: Status: It's too easy to accidentally delete all generations Reply-To: bug#19978 <19978@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:51:14 +0000 retitle 19978 It's too easy to accidentally delete all generations reassign 19978 guix submitter 19978 taylanbayirli@gmail.com (Taylan Ulrich Bay=C4=B1rl=C4=B1/Ka= mmer) severity 19978 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 01 16:41:33 2015 Received: (at submit) by debbugs.gnu.org; 1 Mar 2015 21:41:33 +0000 Received: from localhost ([127.0.0.1]:33584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSBcC-0007GN-NK for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57203) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YSBcB-0007GA-76 for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSBc5-0007tI-3S for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc5-0007tC-14 for submit@debbugs.gnu.org; Sun, 01 Mar 2015 16:41:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc3-0006js-Qu for bug-guix@gnu.org; Sun, 01 Mar 2015 16:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSBc3-0007t0-24 for bug-guix@gnu.org; Sun, 01 Mar 2015 16:41:23 -0500 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:43413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSBc2-0007sw-RV for bug-guix@gnu.org; Sun, 01 Mar 2015 16:41:22 -0500 Received: by wggy19 with SMTP id y19so29939995wgg.10 for ; Sun, 01 Mar 2015 13:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=8bOcPdx/47auuiKKteQk3t/3pHlAHtaNsUMfn5vyR0g=; b=VlbWaVp1CUBS0oK5lupcgs+82nsleJ0pFy85+LUfe/2/GNf6EOa1xEmS3vJq1g+1Gi S7wiGE7t6ObeE2v0IySfpIi515EEN+0ccq/dWkVvF9IdaEf3eTjSMWejH8p1/zx3XOE0 eTvqquFSInv9SxG37Jl01ABn5LlpqWbcVIiMYr/iaMBuAS9mRnjEjrqdpQUhQsZxL6q9 Ylm6VDBApJAv+T/HYE5JJiMEpEXYZANGke5x43aigt8R2mzx9cCtIA5geEINqcdLzPY9 oQs0EFXjarwvgWtl5j3umTM63XU0oQTiqdx6h7xxOsJLU78ExELEmAHfnadwgGtRrLsN mBbw== X-Received: by 10.180.98.167 with SMTP id ej7mr29809644wib.87.1425246082199; Sun, 01 Mar 2015 13:41:22 -0800 (PST) Received: from taylan.uni.cx (p200300514A44319C0213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a44:319c:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id gi3sm13236398wic.15.2015.03.01.13.41.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Mar 2015 13:41:21 -0800 (PST) From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) To: bug-guix@gnu.org Subject: It's too easy to accidentally delete all generations Date: Sun, 01 Mar 2015 22:41:20 +0100 Message-ID: <871tl8gzun.fsf@taylan.uni.cx> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) The other day I ran "guix package -d 1d" thinking it will preserve the current generation, but it didn't. If I'm not mistaken, there's no recovery from that either. Any command that will delete even the current generation should probably interactively warn/prompt the user by default, or fail, unless given a --force flag. Documentation should also warn I guess. Taylan From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 15:59:41 2015 Received: (at 19978-done) by debbugs.gnu.org; 6 Apr 2015 19:59:41 +0000 Received: from localhost ([127.0.0.1]:46546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfDBN-0007ZF-Cy for submit@debbugs.gnu.org; Mon, 06 Apr 2015 15:59:41 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37824 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfDBM-0007Z8-2A for 19978-done@debbugs.gnu.org; Mon, 06 Apr 2015 15:59:40 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:49472 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YfDBL-0003cX-Fo; Mon, 06 Apr 2015 15:59:39 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?=) Subject: Re: bug#19978: It's too easy to accidentally delete all generations References: <871tl8gzun.fsf@taylan.uni.cx> Date: Mon, 06 Apr 2015 21:59:36 +0200 In-Reply-To: <871tl8gzun.fsf@taylan.uni.cx> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Sun, 01 Mar 2015 22:41:20 +0100") Message-ID: <87a8yl81uf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19978-done Cc: 19978-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) taylanbayirli@gmail.com (Taylan Ulrich "Bay=C4=B1rl=C4=B1/Kammer") skribis: > The other day I ran "guix package -d 1d" thinking it will preserve the > current generation, but it didn't. If I'm not mistaken, there's no > recovery from that either. > > Any command that will delete even the current generation should probably > interactively warn/prompt the user by default, or fail, unless given a > --force flag. Documentation should also warn I guess. I believe d26eb84 fixes that. There=E2=80=99s no --force flag, but I think it=E2=80=99s unnecessary: it= =E2=80=99s always possible to rollback to generation 0 and from there remove whatever. Thanks, Ludo=E2=80=99. From unknown Sat Aug 16 10:51:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 May 2015 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator