guix upgrade command does not accept a list of packages

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Luis Felipe
  • zimoun
Owner
unassigned
Submitted by
Luis Felipe
Severity
important
L
L
Luis Felipe wrote on 28 Nov 2020 19:51
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
-UI20flvic2q9oWvpwg54ddy3XgUEzot8UpZQEMMz14qmhRntjprmW0rTyR1qIYhDbYH_G7eRYum2D3uREcT0lnXP6zdLxgC7S3M_v5VIJs=@protonmail.com
Guix documentation says that `guix upgrade` is an alias for `guix package -u`, but the latter can upgrade a list of packages, while the former fails.


## Steps to reproduce

1. guix pull
2. guix upgrade --dry-run
3. Pick two packages from the list shown in (2), say, packages A and B
4. guix upgrade A B


## Expected result

Packages A and B are upgraded.


## Unexpected result

Step 4 fails with the following message:

guix upgrade: error: B: extraneous argument


## System information

Using guix 0ae0efd with the Guix System.


---
Luis Felipe López Acevedo
Z
Z
zimoun wrote on 28 Nov 2020 21:33
86y2ilp6fk.fsf@gmail.com
Dear,

Thank you for the report.

On Sat, 28 Nov 2020 at 18:51, Luis Felipe via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (4 lines)
> 4. guix upgrade A B
> ## Expected result
> Packages A and B are upgraded.

This should be fixed by patch by #44931.



All the best,
simon
L
L
Ludovic Courtès wrote on 1 Dec 2020 00:13
control message for bug #44928
(address . control@debbugs.gnu.org)
87blfejv4k.fsf@gnu.org
severity 44928 important
quit
L
L
Ludovic Courtès wrote on 1 Dec 2020 00:13
(address . control@debbugs.gnu.org)
87a6uyjv4g.fsf@gnu.org
tags 44928 + easy
quit
Z
Z
zimoun wrote on 1 Dec 2020 13:45
Re: bug#44928: guix upgrade command does not accept a list of packages
86h7p5vgnz.fsf@gmail.com
Hi,

On Sat, 28 Nov 2020 at 18:51, Luis Felipe via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (10 lines)
> 1. guix pull
> 2. guix upgrade --dry-run
> 3. Pick two packages from the list shown in (2), say, packages A and B
> 4. guix upgrade A B
>
>
> ## Expected result
>
> Packages A and B are upgraded.

Fixed by 86971616c139597ffa9e20acc75533ff90176450.

Thanks,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 44928@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 44928
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