unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix package -u . --do-not-upgrade
@ 2022-05-10 18:10 Gottfried
  2022-05-10 18:20 ` Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Gottfried @ 2022-05-10 18:10 UTC (permalink / raw)
  To: raingloom, help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 471 bytes --]

Dear Guixers,

If I do a "guix package -u" and I don't want to upgrade some packages, 
how does my command look like?

guix package --upgrade . --do-not-upgrade emacs vlc knotes (Can I put 3 
after each other)

or

guix package --upgrade . --do-not-upgrade emacs | --do-not-upgrade vlc | 
--do-not-upgrade knotes

or

guix package --upgrade . --do-not-upgrade emacs . --do-not-upgrade vlc . 
--do-not-upgrade knotes

or still differently?

Gottfried

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guix package -u . --do-not-upgrade
  2022-05-10 18:10 guix package -u . --do-not-upgrade Gottfried
@ 2022-05-10 18:20 ` Andreas Enge
  2022-05-11 16:31   ` raingloom
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2022-05-10 18:20 UTC (permalink / raw)
  To: Gottfried; +Cc: raingloom, help-guix

Am Tue, May 10, 2022 at 06:10:42PM +0000 schrieb Gottfried:
> guix package --upgrade . --do-not-upgrade emacs vlc knotes (Can I put 3
> after each other)

Yes, that works. (In any case, you can just give it a try. If you do not
like the result, you can always do a "guix package --roll-back"!)

Andreas



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guix package -u . --do-not-upgrade
  2022-05-10 18:20 ` Andreas Enge
@ 2022-05-11 16:31   ` raingloom
  0 siblings, 0 replies; 3+ messages in thread
From: raingloom @ 2022-05-11 16:31 UTC (permalink / raw)
  To: Andreas Enge; +Cc: Gottfried, help-guix

On Tue, 10 May 2022 20:20:30 +0200
Andreas Enge <andreas@enge.fr> wrote:

> Am Tue, May 10, 2022 at 06:10:42PM +0000 schrieb Gottfried:
> > guix package --upgrade . --do-not-upgrade emacs vlc knotes (Can I
> > put 3 after each other)  
> 
> Yes, that works. (In any case, you can just give it a try. If you do
> not like the result, you can always do a "guix package --roll-back"!)
> 
> Andreas
> 

You can't un-transfer the bytes though.  That matters on a metered
connection.

The better advice would be to run such commands with --dry-run, which
will print what would be done.
AFAIK it only downloads the list of substitutes, not any NARs.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-12 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 18:10 guix package -u . --do-not-upgrade Gottfried
2022-05-10 18:20 ` Andreas Enge
2022-05-11 16:31   ` raingloom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).