[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41604: guix pull impossible after rebasing a local repository

From: Ludovic Courtès
Subject: bug#41604: guix pull impossible after rebasing a local repository
Date: Wed, 10 Jun 2020 16:51:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)


zimoun <zimon.toutoune@gmail.com> skribis:

> On Sun, 7 Jun 2020 at 23:16, Ludovic Courtès <ludo@gnu.org> wrote:
>> I did this:
>> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1fd7de45f218ce572a3fe87764ad15927e3dbdc4
> Cool!  Thank you.
>> So now, in a situation like John described, ‘guix pull’ will print the
>> error and hint for unrelated commits.
> Yes! Perfect! :-)
> From a removed commit: "guix pull" says:
> guix pull: error: aborting update of channel 'guix' to commit
> e78275608065ef073775fabb9f1a757da65851f2, which is not a descendant of
> b50fb18a610e2a495624bf4570bec60265332615
> hint: Use `--allow-downgrades' to force this downgrade.
> then using the hint, it says:
> guix pull: warning: moving channel 'guix' from
> b50fb18a610e2a495624bf4570bec60265332615 to unrelated commit
> e78275608065ef073775fabb9f1a757da65851f2
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git   e782756

Thanks for testing, closing!

> Just to note that the hint
> 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.
> does not report explicitly the option '--allow-downgrades'.

Ah, right.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]