guix refresh -l and deprecated-package issue

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Christopher Baines
Owner
unassigned
Submitted by
Christopher Baines
Severity
normal
C
C
Christopher Baines wrote on 3 Jan 2021 14:24
(address . bug-guix@gnu.org)
87turyqhl7.fsf@cbaines.net
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
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl/xxXVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XcWGBAAjmjEo1VvIpIEVuMEJ9Nscc+ap1tY4INn
ssZmZ45tTlZOdkc2MHcBxaCkXh2hQSrizoMnsaUD8PAXksA6i5obw+lxPZUkkulW
n6D2LhIxWWX4+vYU4tNiensLk/XA0HNSaw3nJIsalWbNj6j4/fZBDnU8e2bhj14X
0jumyMXfMusSTpkqZ8sIzUR5GBq/DqIeDMNnFEGHK1HXvIYH4f77qdg8qGSd/iNy
6eu4VIK8iY/sZkm/vj2w/jhdKWciMsiZ2TtbIcWeY0iEkYSLKxgmLfI1h/JgmfRA
w5GPQ/Q/VinAAxdKT1juswbmGmx3bdLJ4FLQuWkhN2jmgieqdBLEq+DIGFsKULuu
YYIgMuwXPh+Fieulr+8CdxeQJqbgITho9n2W322hyRfmEuJM23Wd2f1OpkvYBMLh
h2aEy8jlq31hsIj0xLDgFtt1AfAQXDj1iC/6RNrcb7QazG4ma59Pz9+9rLNdP393
2NbxQ2b6tWx25GYtTvjWzEcCoTjxCmWLbicuoR2buw0F6SZYJAMHxrQFIduekf/5
gsQx3EHwJwMSiu4yS3RG7bGUBHPhGk+vVowL2Xr9dEWy9Ne+iICEthoF17nqu7p1
vYqo/hUCRu3mNtVOR46ComhWk9uSxgwfAGUxCFo5rjVtadI+9oc/uEUAYGWXCjA+
C/zmgHtgpeg=
=vBLo
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 6 Jan 2021 11:58
(name . Christopher Baines)(address . mail@cbaines.net)(address . 45621@debbugs.gnu.org)
87ft3enxhc.fsf@gnu.org
Hi,

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (13 lines)
> 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’.
L
L
Ludovic Courtès wrote on 13 Jan 2021 12:43
control message for bug #45621
(address . control@debbugs.gnu.org)
8735z5cbax.fsf@gnu.org
tags 45621 notabug
close 45621
quit
?