unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Dika Setya Prayogi <dikasetyaprayogi@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: a bit curiousity
Date: Tue, 22 Dec 2015 16:24:29 +0100	[thread overview]
Message-ID: <87y4cm7bgy.fsf@elephly.net> (raw)
In-Reply-To: <CAKpbLobhisF2+Q+L0dBjLGB62aejtm9jm8Ygh4HBbFXEc3acNA@mail.gmail.com>


Dika Setya Prayogi <dikasetyaprayogi@gmail.com> writes:

> 1.install two or multiple package with different version in single profile

You can ask Guix to install different versions of the same package (if
available) into a single profile, but when creating the new profile
generation Guix would resolve conflicts and you’d end up with just one
(possibly broken) version.  This is unavoidable when packages provide
files with identical (and thus conflicting) paths.

To install multiple versions simply use different profiles.  Any user
can have a virtually unlimited number of profiles.

> 2.set auto garbage collect for package old than one month

Garbage collection is not about age but about references.  If a package
is referenced in a profile (even if it’s not the latest generation of
the profile) it won’t be collected.  This is a feature.

To achieve garbage collection of old packages you would have to remove
all old profile generations (so that older packages are no longer
referenced), and also make sure that no “old” packages are referenced in
the current profile generation.  This essentially requires a forced
upgrade with deletion of older profile generations, which seems quite
unwise.  You’d throw away some of the best features of Guix, in my
opinion.

> 3.set garbage collet for package that have more than three version

I don’t know what this means.

~~ Ricardo

  reply	other threads:[~2015-12-22 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22 10:48 a bit curiousity Dika Setya Prayogi
2015-12-22 15:24 ` Ricardo Wurmus [this message]
2015-12-22 15:44   ` Andy Wingo
2015-12-22 16:54   ` Ludovic Courtès
2015-12-23  7:56     ` Dika Setya Prayogi
2015-12-23  7:59     ` Dika Setya Prayogi

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=87y4cm7bgy.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=dikasetyaprayogi@gmail.com \
    --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).