emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#42814: closed (request: make guix upgrade recognize --do-not-upgrade


From: GNU bug Tracking System
Subject: bug#42814: closed (request: make guix upgrade recognize --do-not-upgrade)
Date: Fri, 28 Aug 2020 12:29:02 +0000

Your message dated Fri, 28 Aug 2020 14:28:19 +0200
with message-id <87eenr0xb0.fsf@gnu.org>
and subject line Re: bug#42814: request: make guix upgrade recognize 
--do-not-upgrade
has caused the debbugs.gnu.org bug report #42814,
regarding request: make guix upgrade recognize --do-not-upgrade
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42814: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42814
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: request: make guix upgrade recognize --do-not-upgrade Date: Tue, 11 Aug 2020 12:37:06 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.10.0
From the manual:

   • ‘guix search’ is an alias for ‘guix package -s’,
   • ‘guix install’ is an alias for ‘guix package -i’,
   • ‘guix remove’ is an alias for ‘guix package -r’,
   • ‘guix upgrade’ is an alias for ‘guix package -u’,
   • and ‘guix show’ is an alias for ‘guix package --show=’.

One option for "guix package -u" I often find myself using is --do-not-upgrade. However, guix upgrade does not recognize that option.

When I run "guix upgrade --do-not-upgrade=ungoogled-chromium" I get the following results:

guix upgrade: error: do-not-upgrade=ungoogled-chromium: unrecognized option

This is a bit frustrating, because I want to be able to upgrade all my profiles with the command:

"guix package --list-profiles | xargs -n1 guix upgrade --do-not-upgrade=ungoogled-chromium"

But it prints the above error for every profile and doesn't actually do anything.

For now, my work-around is code like the following:

"for profile in $(guix package --list-profiles); do guix package -p $profile --do-not-upgrade=ungoogled-chromium -u; done"

As you can see, this is quite a bit more complex than it needs to be.

So, why not have guix upgrade recognize the --do-not-upgrade option?




--- End Message ---
--- Begin Message --- Subject: Re: bug#42814: request: make guix upgrade recognize --do-not-upgrade Date: Fri, 28 Aug 2020 14:28:19 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hello,

> As you can see, this is quite a bit more complex than it needs to be.
>
> So, why not have guix upgrade recognize the --do-not-upgrade option?

Thanks for the suggestion, it has been implemented by Jakub with
7ba7d50f92416821ec4fc124a49d74149b6d4d33.

Mathieu


--- End Message ---

reply via email to

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