unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Problems with downloading from https
Date: Thu, 30 Oct 2014 10:27:59 +0300	[thread overview]
Message-ID: <87bnouf24g.fsf@gmail.com> (raw)
In-Reply-To: <20141029222212.GD29707@debian> (Andreas Enge's message of "Wed, 29 Oct 2014 23:22:12 +0100")

Andreas Enge (2014-10-30 01:22 +0300) wrote:

> On Tue, Oct 28, 2014 at 09:03:44AM +0100, Ludovic Courtès wrote:
>> Alex Kost <alezost@gmail.com> skribis:
>> > But currently it's not possible to install 2 (or more) packages with the
>> > same name.  So a user can't have guile 2.0 and guile 1.8 in the same
>> > profile.  The same thing with python: there is no ‘python2’ package.
>> > Both python packages have “python” name and can't be installed in the
>> > same profile, as far as I understand.
>> 
>> Good point! (Somehow I thought there was ‘python2’.)
>
> Is it really not possible to install two packages with the same name?
> I thought you could do
>    guix package -i python python-2.7.6
> where the first one will chose the latest package? It just requires that
> there are no overlapping paths.

I think such an "evil" case is just not handled currently.  If you have
python-3… installed and you install python-2… in the same profile, then
python-3… would be replaced, but if you install both packages in the
same command, then both would be installed.  It's OK for pythons,
because there are no name collisions in these packages, but if you try
to install both "guile-2.0.11" and "guile-1.8.8" is such a way, then you
will have several collisions.

So I think installing packages with the same name in one transaction
should also be prohibited.

As both python packages can co-exist in one profile, either python-2…
may be renamed into “python2” or python-3… into “python3”.  As python3
is the future, I think it would be better to have “python2” and “python”
(which is python3) packages.  Or maybe they shouldn't be renamed and we
can introduce a little collision instead by adding "…/bin/python"
symlink to python-3… package.

  reply	other threads:[~2014-10-30  7:28 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-25 17:30 Problems with downloading from https Alex Kost
2014-10-25 20:02 ` Ian Denhardt
2014-10-26  7:03   ` Alex Kost
2014-10-26 13:46     ` Ludovic Courtès
2014-10-26 19:35       ` Alex Kost
2014-10-26 21:01         ` Ludovic Courtès
2014-10-27  9:06           ` Mark H Weaver
2014-10-27 12:24             ` Ludovic Courtès
2014-10-27 12:44               ` Ludovic Courtès
2014-10-27 13:27               ` Alex Kost
2014-10-27 14:43                 ` Mark H Weaver
2014-10-27 16:24                   ` Ludovic Courtès
2014-10-27 16:44                     ` Alex Kost
2014-10-28  8:03                       ` Ludovic Courtès
2014-10-29 22:22                         ` Andreas Enge
2014-10-30  7:27                           ` Alex Kost [this message]
2014-10-30  7:49                             ` Andreas Enge
2014-10-30 12:31                               ` Alex Kost
2014-10-30 12:38                                 ` Andreas Enge
2014-10-30 19:30                                   ` Alex Kost
2014-10-30 23:07                                   ` Different versions of a package in the same profile? Ludovic Courtès
2014-11-01 10:46                                     ` Andreas Enge
2014-11-02 17:22                                       ` Ludovic Courtès
2014-11-02 17:39                                         ` Andreas Enge
2014-10-30 13:20                             ` Problems with downloading from https Ludovic Courtès
2014-10-30 17:05                             ` Ian Denhardt
2014-10-30 19:08                               ` Alex Kost
2014-10-31  4:54                                 ` Ian Denhardt
2014-10-30 14:48               ` Ludovic Courtès
2014-10-27 13:01             ` Alex Kost
2014-10-27 14:32               ` Mark H Weaver
2014-10-25 21:53 ` Ludovic Courtès
2014-10-26  5:30   ` [PATCH 0/1] " Ian Denhardt
2014-10-26  5:21     ` [PATCH 1/1] README: add a note about optional GnuTLS dependency Ian Denhardt
2014-10-27 12:54       ` Ludovic Courtès
2014-10-27 10:49     ` [PATCH 0/1] Re: Problems with downloading from https Ian Denhardt

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnouf24g.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /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 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).