unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63122: guix refresh wrote the wrong version number
@ 2023-04-27 15:36 Jack Hill
  2023-04-27 20:09 ` J. Sims via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Hill @ 2023-04-27 15:36 UTC (permalink / raw)
  To: 63122

Hi Guix,

While working on the wlroots and sway update [0], I noticed the following 
odd behavior with `guix refresh`:

The problem occurred when using `guix refresh` to update sway. A plain 
`guix refresh sway` reported correctly that sway could be updated to 
1.8.1. However, when I ran `guix refresh -u sway`, the version written to 
the package definition way 1.8.1.1. However the hash was correct for 
1.8.1. Of course building the source for version 1.8.1.1 failed because 
the corresponding tag couldn't be found (and it wasn't yet in a 
content-addressed mirror). After correcting the version everything worked 
as expected.

I did this all with a pre-inst-env guix at commit 
8093c6ba21c51efe901ba98ce698c545bf13dcd0.

Best,
Jack

[0] https://issues.guix.gnu.org/63085




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#63122: guix refresh wrote the wrong version number
  2023-04-27 15:36 bug#63122: guix refresh wrote the wrong version number Jack Hill
@ 2023-04-27 20:09 ` J. Sims via Bug reports for GNU Guix
  0 siblings, 0 replies; 2+ messages in thread
From: J. Sims via Bug reports for GNU Guix @ 2023-04-27 20:09 UTC (permalink / raw)
  To: 63122@debbugs.gnu.org

Just wanted to confirm I've seen exactly the same behavior on a personal project in my personal Guix channel - an extra ".1" was written at the end of a version number ending in ".1" while everything else worked fine.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-27 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-27 15:36 bug#63122: guix refresh wrote the wrong version number Jack Hill
2023-04-27 20:09 ` J. Sims via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).