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

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • john
Owner
unassigned
Submitted by
john
Severity
normal

Debbugs page

J
(address . bug-guix@gnu.org)
87v7ndbcfj.fsf-genuine-vii@john.fremlin.org
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
A
A
Andreas Enge wrote on 28 Jul 01:15 -0700
(address . john@fremlin.org)(address . 79107@debbugs.gnu.org)
aIcxsjf2gip-n_AP@jurong
Hello,

Am Sun, Jul 27, 2025 at 04:34:24PM -0400 schrieb john@fremlin.org:
Toggle quote (11 lines)
> 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
A
A
Andreas Enge wrote on 29 Jul 02:01 -0700
(address . john@fremlin.org)(address . 79107-done@debbugs.gnu.org)
aIiN68ub6Z886HWj@jurong
Closing as there does not seem to be an issue on the Guix side.

Andreas
Closed
J
J
John Fremlin wrote on 29 Jul 06:26 -0700
Re: bug#79107: closed (Re: g uix pull: error: aborting upd ate of channel 'guix' to comm it which is not a descendant)
(address . 79107@debbugs.gnu.org)
D2E79858-E6EA-452C-A636-2138A0EA7A0B@fremlin.org
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:
Toggle quote (13 lines)
>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
Attachment: file
?
Your comment

This issue is archived.

To comment on this conversation send an email to 79107@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 79107
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch