From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: a bit curiousity Date: Tue, 22 Dec 2015 16:24:29 +0100 Message-ID: <87y4cm7bgy.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBOno-0006uI-8N for guix-devel@gnu.org; Tue, 22 Dec 2015 10:24:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBOnk-0008Mj-Qc for guix-devel@gnu.org; Tue, 22 Dec 2015 10:24:40 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:25382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBOnk-0008MT-IB for guix-devel@gnu.org; Tue, 22 Dec 2015 10:24:36 -0500 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Dika Setya Prayogi Cc: guix-devel@gnu.org Dika Setya Prayogi 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