GNU bug report logs -
#28727
Profiles with intentionally out of date packages are upgraded to the newest version
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28727 in the body.
You can then email your comments to 28727 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#28727
; Package
guix
.
(Sat, 07 Oct 2017 06:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ben Woodcroft <b.woodcroft <at> uq.edu.au>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 07 Oct 2017 06:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I have a profile with python <at> 2 in it, and running 'guix package -u'
updates it to python <at> 3, which isn't what I want. I cannot run 'guix
package -i python <at> 2 -u' because then it tries to install both python <at> 2
and python <at> 3, which conflicts.
I can workaround this using 'guix package -u; guix package -i python <at> 2'.
That isn't ideal (wasteful downloading of substitute, extra entries in
the generations list, etc), but is workable for me, making this a low
priority bug for me.
Ideally, I would expect that because I specified python <at> 2 first, guix
should not try to install python <at> 3. However, this difficult because IIUC
the packages which were specified to be included are not stored
anywhere, and I suppose it would entail changes to the manifest format
also. So, how to handle this?
Thanks, ben
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28727
; Package
guix
.
(Sat, 07 Oct 2017 19:33:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28727 <at> debbugs.gnu.org (full text, mbox):
Ben Woodcroft (2017-10-07 16:14 +1000) wrote:
> Hi,
Hello,
> I have a profile with python <at> 2 in it, and running 'guix package -u'
> updates it to python <at> 3, which isn't what I want. I cannot run 'guix
> package -i python <at> 2 -u' because then it tries to install both python <at> 2
> and python <at> 3, which conflicts.
>
> I can workaround this using 'guix package -u; guix package -i
> python <at> 2'. That isn't ideal (wasteful downloading of substitute, extra
> entries in the generations list, etc), but is workable for me, making
> this a low priority bug for me.
>
> Ideally, I would expect that because I specified python <at> 2 first, guix
> should not try to install python <at> 3. However, this difficult because IIUC
> the packages which were specified to be included are not stored
> anywhere, and I suppose it would entail changes to the manifest format
> also. So, how to handle this?
Not sure if you find the following workaround useful, but you may just
make your own python package and install it instead:
(define-public my-python-2
(package
(inherit python-2)
(name "python2")))
Since this "python2" has only version 2, it will never be upgraded to
version 3. I mean there will be "python2 <at> 2" but not "python2 <at> 3", so if
you install it ("guix package -i python2"), "guix package -u" will
update it to the current version of the python-2 series.
--
Alex
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28727
; Package
guix
.
(Mon, 09 Oct 2017 08:06:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 28727 <at> debbugs.gnu.org (full text, mbox):
Hello,
Ben Woodcroft <b.woodcroft <at> uq.edu.au> skribis:
> I have a profile with python <at> 2 in it, and running 'guix package -u'
> updates it to python <at> 3, which isn't what I want. I cannot run 'guix
> package -i python <at> 2 -u' because then it tries to install both python <at> 2
> and python <at> 3, which conflicts.
>
> I can workaround this using 'guix package -u; guix package -i
> python <at> 2'. That isn't ideal (wasteful downloading of substitute, extra
> entries in the generations list, etc), but is workable for me, making
> this a low priority bug for me.
There’s this possibility:
guix package -u . -r python -i python <at> 2
I admit it’s a bit contrived though.
There are several ways to address it:
1. Rename our Python 2.x package “python2”.
2. Add a property to the ‘python’ package that describes it as part of
the “2.” series, and have the upgrade mechanism honor that property
by upgrading to a version prefixed with “2.”.
#1 is obviously easier (it triggers a lot of rebuild though).
Thoughts?
Ludo’.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 24 May 2019 16:49:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ben Woodcroft <b.woodcroft <at> uq.edu.au>
:
bug acknowledged by developer.
(Fri, 24 May 2019 16:49:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 28727-done <at> debbugs.gnu.org (full text, mbox):
Hi,
ludo <at> gnu.org (Ludovic Courtès) skribis:
> There’s this possibility:
>
> guix package -u . -r python -i python <at> 2
>
> I admit it’s a bit contrived though.
>
> There are several ways to address it:
>
> 1. Rename our Python 2.x package “python2”.
That was done long ago, so I’m closing this bug.
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 22 Jun 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.