From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eLFXLo4pe2CRVgEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 20:31:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OHT3KY4pe2BYFAAA1q6Kng (envelope-from ) for ; Sat, 17 Apr 2021 18:31:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 769DD184D7 for ; Sat, 17 Apr 2021 20:31:41 +0200 (CEST) Received: from localhost ([::1]:58672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXpjI-0004rv-Lk for larch@yhetil.org; Sat, 17 Apr 2021 14:31:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXpih-0004jF-F1 for bug-guix@gnu.org; Sat, 17 Apr 2021 14:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXpig-0007H5-5e for bug-guix@gnu.org; Sat, 17 Apr 2021 14:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXpig-0002NH-10 for bug-guix@gnu.org; Sat, 17 Apr 2021 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47846: Feature Request: Add ability to disable having cache or generations Resent-From: bo0od Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Apr 2021 18:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47846 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47846@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16186842085850 (code B ref -1); Sat, 17 Apr 2021 18:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Apr 2021 18:30:08 +0000 Received: from localhost ([127.0.0.1]:44539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXphn-0001Vo-UW for submit@debbugs.gnu.org; Sat, 17 Apr 2021 14:30:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:59656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXphl-0001Sq-OI for submit@debbugs.gnu.org; Sat, 17 Apr 2021 14:30:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXphl-0004SW-E2 for bug-guix@gnu.org; Sat, 17 Apr 2021 14:30:05 -0400 Received: from mx1.riseup.net ([198.252.153.129]:51864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXphj-0006fC-K3 for bug-guix@gnu.org; Sat, 17 Apr 2021 14:30:04 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FN1pK0PHZzDqgQ for ; Sat, 17 Apr 2021 11:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1618684201; bh=UKIo31zBX21HDW77lOdGS3FwE99eRwrHtUh4PMa3VYE=; h=To:From:Subject:Date:From; b=lJjpI3ulfrx3MEB9QiURFRwHgh0fabxju488tBYQ+gqQp7ZiQx6soVxbVa3qe92x1 ElrXNeliLJSvrVwFyyRELq8LLIMYMT1QE1Gw9GZSzg6XMk11icBsliWSqb2/FyogeV wAr9GPlFRZEhCQv9iORFm9wv/NO+aGO1wVyUeNI8= X-Riseup-User-ID: 847BF765EE840BDEA328DE19EBCDC2863622D38AC6CDE91250F59A64F545ABA3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4FN1pJ1FVbz1yBT for ; Sat, 17 Apr 2021 11:29:59 -0700 (PDT) From: bo0od Message-ID: Date: Sat, 17 Apr 2021 18:29:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=bo0od@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_FMBLA_NEWDOM=1.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618684302; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8StNYnEsFhrXkPYSqTdnN3BQMbAHjMouI0vvjEqrjwc=; b=PqUXZdmttz9yhVEsSAigvjkAdRclvyXCDxzPKiXAwm935FQIEoAbkS0iW0skJI59NWxq22 25kvJfyfQv3yJshFWF/qbykDFoLHzCH1iCOx3HfrUnsjvh+roqaVpY7Ahq6Y1SvS2HpZW+ cIIJcr/ZhZ9/BlNEowcpcXBc5MPQVQwlxtyhlq81ZiUMxoxPWMya2nrI/WEO+RzEgXKGMl 5e4CtWMMD/ji5ayL7wRQJhQWTJqhESBA4ZMFxvjSN7AVGKTmUoQ4d2ZDBVGAORM4IAgQyD Mr2/hqZC5YhyBqNALYv59n1P1tf8N+DBuViY42m8/RgWkmkI3CTrKAYZDtxRtg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618684302; a=rsa-sha256; cv=none; b=EYnBSyOsaqe9Uts2RE3W7nRbMpt/ffSKbrjK1rQKppb8qmIKqxK6HNXEofDTIVGvG6qaDH EJtUXt8jXkWJN9mpMS2TchcypaO+8e+ugbPstOp4h0bzCwHQY+N7E3LkXudu14Pn1A2iXJ PzgqHKYx6JOUuRQtKcN7hdBMYjUK/6FIqMBTkLt/opzfmMb/sxttfdG+CGZimmb/jsBfoN Ak1QbS3vmGrynG/HTI1HgDQ8hEkj73KIPgnELAchhOtYfdknHG1ECjYWEbW7SNTmnwI9gg 81C7iihOoBabzKq0YLp8stWk+hQN0buMtdAjfUWVyhTRW9Jb66qRREIUnMrTeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=lJjpI3ul; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=lJjpI3ul; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 769DD184D7 X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: w/lpyND32mP8 Hi There, Current situation with the guix distro upgrade is:(as i understand) A) User Packages: whenever there is an upgrade to package A version 1 to new Version lets call it A version 2 , So the process is ADD A2 → SWITCH to A2 → Cache A1 and so on. B) System Packages: Same process but it will be saved through generations This causes unpleasant actions to some users: - Bloating the disk size - Having old unnecessary files/packages - Questionable security of the saved old versions. As it depend if they have access to suid or not (i didnt investigate this, but if they have then thats big problem but this is not the ticket to discuss it) I know someone would jump in and say but roll back is great feature and its useful and....i know that but like i said might be not suiting all users (specially with limited space). Current manual solution is to delete this extra mess using 2 commands: guix gc -d 1s && sudo guix system delete-generation This should be run whenever there is no space left, Or to get rid of the old stuff My suggestion is to have the ability to make Guix automatically just having the latest up to date packages without extra consumed storage (no cache no generation no nothing more than having the latest packages available in the distro). So the process is ADD A2 → SWITCH to A2 → Delete A1 , Or Download A2 → Replace over A1 and so on. ThX!