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
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#79107; Package guix. (Sun, 27 Jul 2025 20:35:02 GMT) (full text, mbox, link).


Acknowledgement sent to john@fremlin.org:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Sun, 27 Jul 2025 20:35:02 GMT) (full text, mbox, link).


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

From: john@fremlin.org
To: bug-guix@gnu.org
Subject: guix pull: error: aborting update of channel 'guix' to commit which is not a descendant
Date: Sun, 27 Jul 2025 16:34:24 -0400
I ran guix pull

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
Author: nomike <nomike@nomike.com>
Date:   Mon Jun 2 04:45:53 2025 +0200

    gnu: openscad: Update to 2025.06.01.

this appears in the github branch as

commit 544ac628f598bf94a777a3fc2eed39f645f9a01d
Author: nomike <nomike@nomike.com>
Date:   Mon Jun 2 04:45:53 2025 +0200

    gnu: openscad: Update to 2025.06.01.


Is this expected? Differences between the branches include

commit 68deb8e3bda83a84acfe192392a66ecba19cece6
Author: Leo Famulari <leo@famulari.name>
Date:   Wed May 28 12:31:23 2025 -0400

    etc: pre-push Git hook: Reduce code duplication.

    * etc/git/pre-push (perform_checks): New function.

    Change-Id: Ieff1e2c225e3720c96c75ca55abfb883dd386f5c




Information forwarded to bug-guix@gnu.org:
bug#79107; Package guix. (Mon, 28 Jul 2025 08:16:02 GMT) (full text, mbox, link).


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

From: Andreas Enge <andreas@enge.fr>
To: john@fremlin.org
Cc: 79107@debbugs.gnu.org
Subject: Re: guix pull: error: aborting update of channel 'guix' to commit which is not a descendant
Date: Mon, 28 Jul 2025 10:15:46 +0200
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





Reply sent to Andreas Enge <andreas@enge.fr>:
You have taken responsibility. (Tue, 29 Jul 2025 09:02:02 GMT) (full text, mbox, link).


Notification sent to john@fremlin.org:
bug acknowledged by developer. (Tue, 29 Jul 2025 09:02:02 GMT) (full text, mbox, link).


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

From: Andreas Enge <andreas@enge.fr>
To: john@fremlin.org
Cc: 79107-done@debbugs.gnu.org
Subject: Re: guix pull: error: aborting update of channel 'guix' to commit which is not a descendant
Date: Tue, 29 Jul 2025 11:01:31 +0200
Closing as there does not seem to be an issue on the Guix side.

Andreas





Information forwarded to bug-guix@gnu.org:
bug#79107; Package guix. (Tue, 29 Jul 2025 13:27:01 GMT) (full text, mbox, link).


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

From: John Fremlin <john@fremlin.org>
To: 79107@debbugs.gnu.org
Subject: Re: bug#79107: closed (Re: guix pull: error: aborting update of channel 'guix' to commit which is not a descendant)
Date: Tue, 29 Jul 2025 09:26:11 -0400
[Message part 1 (text/plain, inline)]
I did not pull from any special commit and this is a fairly recent install (from 2024 about November)

On July 29, 2025 5:02:02 AM EDT, help-debbugs@gnu.org wrote:
>Your bug report
>
>#79107: guix pull: error: aborting update of channel 'guix' to commit which is not a descendant
>
>which was filed against the guix package, has been closed.
>
>The explanation is attached below, along with your original report.
>If you require more details, please reply to 79107@debbugs.gnu.org.
>
>-- 
>79107: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79107
>GNU Bug Tracking System
>Contact help-debbugs@gnu.org with problems
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Wed, 27 Aug 2025 11:24:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 15:50:25 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.