From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: multiple versions
Date: Sat, 16 Jul 2016 22:49:19 +0200 [thread overview]
Message-ID: <87mvlh71gw.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=pma6zZhVsVN67ddKDr-FKipBjsdFthVLMZHJS1UQMBQw@mail.gmail.com> (Vincent Legoll's message of "Sat, 16 Jul 2016 15:57:38 +0200")
Hi,
Vincent Legoll <vincent.legoll@gmail.com> skribis:
> I m trying to get python3 & python2 installed for the same user
>
> guix package -i python@2 -i python@3
>
> but that does not look like it will do what I want:
>
> vince@guixsd ~/guix-packages$ guix package -i python@2 python@3
> The following package will be downgraded:
> python 3.4.3 → 2.7.10
> /gnu/store/7fm1qk703x47qzb9p6xg08cxgb009akz-python-2.7.10
>
> The following package will be upgraded:
> python 3.4.3 → 3.4.3
> /gnu/store/dsp685maxqc1i6qcib77449g2b6b7qah-python-3.4.3
This is impossible. A profile can contain at most one package of a
given name.
However, what you can do is create separate profiles:
guix package -p pytwo -i python@2
guix package -p pythree -i python@3
… or use ‘guix environment’:
guix environment --ad-hoc python@2
HTH!
Ludo’.
next prev parent reply other threads:[~2016-07-16 20:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 13:57 multiple versions Vincent Legoll
2016-07-16 20:49 ` Ludovic Courtès [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-26 23:02 Multiple versions Dmitry Bogatov
2015-12-27 5:26 ` Pjotr Prins
2015-12-27 9:20 ` Dmitry Bogatov
2015-12-27 9:48 ` Andreas Enge
2015-12-27 10:41 ` Dmitry Bogatov
2015-12-27 12:28 ` Ricardo Wurmus
2015-12-27 12:41 ` Pjotr Prins
2015-12-27 14:40 ` Dmitry Bogatov
2015-12-27 15:41 ` Ricardo Wurmus
2015-12-27 16:41 ` Dmitry Bogatov
2015-12-27 15:58 ` Pjotr Prins
2015-12-29 15:21 ` Ludovic Courtès
2015-12-27 14:11 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvlh71gw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=help-guix@gnu.org \
--cc=vincent.legoll@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.