From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco van Hulten Subject: --rollback does not always roll back generation Date: Wed, 25 Mar 2020 09:31:41 +0100 Message-ID: <20200325093141.628c2b88@jasniac.instanton> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45854) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH1S3-0005Cm-VM for guix-devel@gnu.org; Wed, 25 Mar 2020 04:31:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jH1S2-0002go-N0 for guix-devel@gnu.org; Wed, 25 Mar 2020 04:31:51 -0400 Received: from alfons.uib.no ([2001:700:200:30::141]:38753) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jH1S2-0002dB-0d for guix-devel@gnu.org; Wed, 25 Mar 2020 04:31:50 -0400 Received: from ulf.uib.no (smtp.uib.no) [2001:700:200:6::136] by alfons.uib.no for guix-devel@gnu.org with esmtp (Exim 4.92.3) id 1jH1Rv-000mX0-Fv; Wed, 25 Mar 2020 09:31:44 +0100 Received: from 173.92-220-42.customer.lyse.net (jasniac.instanton) [92.220.42.173]:39065 by smtp.uib.no for guix-devel@gnu.org with esmtpsa (Exim 4.92.3) id 1jH1Ru-00034o-9V; Wed, 25 Mar 2020 09:31:42 +0100 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-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello=E2=80=94 guix package --rollback usually rolls back from generation N to N-1 (for any integer N > 0), but this didn't happen when I did this (I wanted the last generation not to be overwritten=E2=80=94that part worked): $ guix package --switch-generation=3D1 switched from generation 2 to 1 $ mv guix-profile-2-link guix-profile-2-link~ $ guix package -i make autoconf automake glibc-utf8-locales glibc-local= es $ guix package --rollback switched from generation 2 to 2 $ guix package --rollback switched from generation 2 to 2 This appears a bug to me. guix package --switch-generation=3D1 worked fine, though. =E2=80=94Marco