Subject: bug#44928: closed (Re: bug#44928: guix upgrade command does not accept a list of packages)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 01 Dec 2020 12:55:02 +0000

Your bug report

#44928: guix upgrade command does not accept a list of packages

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 [email-masked].

-- 
44928: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44928
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#44928: guix upgrade command does not accept a list of packages
From: zimoun <[email-masked]>
To: Luis Felipe <[email-masked]>, Luis Felipe <[email-masked]>, [email-masked]
Date: Tue, 01 Dec 2020 13:45:20 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

On Sat, 28 Nov 2020 at 18:51, Luis Felipe via Bug reports for GNU Guix <[email-masked]> wrote:

> 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

Subject: guix upgrade command does not accept a list of packages
From: Luis Felipe <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 28 Nov 2020 18:51:44 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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
https://luis-felipe.gitlab.io/