Subject: Re: bug#45621: guix refresh -l and deprecated-package issue

From: Ludovic Courtès <[email-masked]>
Date: Wed, 06 Jan 2021 11:58:07 +0100

Hi,

Christopher Baines <[email-masked]> skribis:

> There seems to be some issues with guix refresh -l and/or deprecating
> packages.
>
> Take the following example, guile3.0-squee is used by the
> guix-data-service. guix refresh -l claims it's not though.
>
> → ./pre-inst-env guix refresh -l guile-squee
> No dependents other than itself: [email-masked]
>
> → ./pre-inst-env guix refresh -l guile3.0-squee
> guix refresh: package 'guile3.0-squee' has been superseded by 'guile-squee'
> No dependents other than itself: [email-masked]

Yes, that’s “expected”: as for the other commands, the deprecated
package is automatically replaced by its successor.

What you can do to bypass it is:

  guix refresh -l -e '(@ (gnu packages guile-xyz) guile3.0-squee)'

HTH!

Ludo’.