GNU bug report logs

#79107 guix pull: error: aborting update of channel 'guix' to commit which is not a descendant

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #8 received at 79107@debbugs.gnu.org (full text, mbox, reply):

Received: (at 79107) by debbugs.gnu.org; 28 Jul 2025 08:16:00 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 28 04:16:00 2025
Received: from localhost ([127.0.0.1]:54161 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1ugJ1b-0006Al-Sd
	for submit@debbugs.gnu.org; Mon, 28 Jul 2025 04:16:00 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:44200)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@enge.fr>) id 1ugJ1Y-0006AA-JO
 for 79107@debbugs.gnu.org; Mon, 28 Jul 2025 04:15:57 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 95640190;
 Mon, 28 Jul 2025 10:15:49 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id 2XfXpUlcnUKZ; Mon, 28 Jul 2025 10:15:48 +0200 (CEST)
Received: from jurong (86.56.141.77.rev.sfr.net [77.141.56.86])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 2523B127;
 Mon, 28 Jul 2025 10:15:48 +0200 (CEST)
Date: Mon, 28 Jul 2025 10:15:46 +0200
From: Andreas Enge <andreas@enge.fr>
To: john@fremlin.org
Subject: Re: guix pull: error: aborting update of channel 'guix' to commit
 which is not a descendant
Message-ID: <aIcxsjf2gip-n_AP@jurong>
References: <87v7ndbcfj.fsf-genuine-vii@john.fremlin.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87v7ndbcfj.fsf-genuine-vii@john.fremlin.org>
X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-3.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 ARC_NA(0.00)[]
X-Rspamd-Action: no action
X-Rspamd-Queue-Id: 95640190
X-Rspamd-Server: hera
X-Spamd-Bar: -----
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 79107
Cc: 79107@debbugs.gnu.org
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hello,

Am Sun, Jul 27, 2025 at 04:34:24PM -0400 schrieb john@fremlin.org:
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> guix pull: error: aborting update of channel 'guix' to commit ed8288a53da9951ed66a6b725246971585e9fac5, which is not a descendant of ad8cb7af8fc572bb3d11cd0344bd2bed3b9d653f
> hint: This could indicate that the channel has been tampered with and is trying to force a roll-back, preventing you from getting the latest updates.  If you think this is
> not the case, explicitly allow non-forward updates.
> 
> The commit I am at is
> commit ad8cb7af8fc572bb3d11cd0344bd2bed3b9d653f
> this appears in the github branch as
> 
> commit 544ac628f598bf94a777a3fc2eed39f645f9a01d

this is strange indeed. I confirm that 544ac628f598bf94a777a3fc2eed39f645f9a01d
is on the master branch, while ad8cb7af8fc572bb3d11cd0344bd2bed3b9d653f
is not present in my git checkout.

Did you do a "guix pull --commit=..." to a commit on a different branch?
This is the only explanation I can see. You could safely pull to a new
commit that you know to be on the master branch. Or if you want to
examine a bit more, you can look at your pull history with
   guix pull --list-generations
to check, for instance, whether a previous commit corresponds to one on
the master branch, and could go back to it with
   guix pull --switch-generation=NNN
where NNN is the number (not the commit), and do a "guix pull" from
there.

But the result should be the same in any case, it depends only on the
commit where you pull to, not where you come from.

Andreas





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Sep 10 05:46:51 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.