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

2021-01-06 Thread Ludovic Courtès
Hi,

Christopher Baines  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: guile-squee@0-2.c1497a2
>
> → ./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: guile-squee@0-2.c1497a2

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’.





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

2021-01-03 Thread Christopher Baines
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: guile-squee@0-2.c1497a2

→ ./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: guile-squee@0-2.c1497a2


signature.asc
Description: PGP signature