From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2LZ7HTg+3WZN6AAAqHPOHw:P1 (envelope-from ) for ; Sun, 08 Sep 2024 06:03:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2LZ7HTg+3WZN6AAAqHPOHw (envelope-from ) for ; Sun, 08 Sep 2024 08:03:36 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=jJgcMbie; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725775416; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qXPv+zHdWgfeIWVlo3L54sCHKkyA2npEYqZc4IuVxIs=; b=ZDmpZ4P+XyAPNU2+wv2WzfDP6NnSVMK07CL1ZOVgZNFlAKCkA9UmnZbNaiDe2M83bTA8CJ lq8Qa/+Zb1sBds+xxtojLz3X28clq7uflt+iuCXaX1/uf6t+zXNr+I3xb9zYs28oKlz+sd cXjxQD5NlZXcPa9hM/hD5sXdZtm1GXrmHne07OuQpvHiAbW7n452zSyUf0VuBLOdPssq33 6pA/O+/vlH9LDEjFzc5PurHBHPBLWV/rZaeLsNbLQqUk9ch2gMaDE7eW23lg6Ww4EMbZGH vHhHb3hVWIex1UQsZ/a12M9ba5xnTarL2vA5NIxRatkLtWKBMZbDHIpFGpcFCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725775416; a=rsa-sha256; cv=none; b=CQXB85otw5hE6Mkky2KVdIEVX0YpGHxjpfUxblcd8jkhJKdAnL092MuqXpxq4E6wzZYjKI JO26bEKvEoIMRbIimRQnPZqEzhQKBQ8JD1T3cJ5AOSfFqtrqFMzUeB2yb1nhxFtvGLIbhx 3uKVynbYiRnnhzB088rdIneLxau5tO3++ysu0dJVOwK5/pIn7jQk18amLq8K2Gn7zw7tdb OzBjVCVTeGHXH7xFlvqsturymL0Igc8cj2CfIXghaYCOMHBVlQW2j357805XH6zhRgFZ1P 1t/1ov11xzJXrEvooGpq4ay81P1Mbq9jhU07jOwauLsPjvqk8VCKcOdIsleo5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=marekpasnikowski.pl header.s=dkim header.b=jJgcMbie; dmarc=pass (policy=reject) header.from=marekpasnikowski.pl; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 8837A7C6E3 for ; Sun, 08 Sep 2024 08:03:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snB0k-0005Cj-2O; Sun, 08 Sep 2024 02:02:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snB0h-0005CI-P7 for help-guix@gnu.org; Sun, 08 Sep 2024 02:02:56 -0400 Received: from [81.190.248.246] (helo=marekpasnikowski.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snB0f-0001WT-BX for help-guix@gnu.org; Sun, 08 Sep 2024 02:02:55 -0400 Received: from localhost (localhost.local [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0e9c6c7e; Sun, 8 Sep 2024 06:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=marekpasnikowski.pl; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=dkim; bh=qXPv+zHdWgfeIWVlo3L54sCHKkyA2npEYqZc4IuVxIs=; b=jJgcMbie9TMa 5SuEHpZ7i+8Vd/kCgX9Q9S95yG9XyvR5mYaWO5s3+OYNx0QT71J1LRSxg6JrtqUy XJlaOQ4DBsqYRsfmPJxLDfJBxeUFwPzE4OKYmdfpCT+p2+qHZklVMy74H58qjOMI 4MS1N85SgO5jyvb/z/nmwr9O0XjUP7DjsrHDg5XufuzrPekCQCP6rvip35/EiXRe dvPec4xBpH0AddFc78fDKbAn/SY90D6nuzdEzK2m8+7jh70quAnNdC7T8k+ArQen wTsXDgXSPP8nv4i5dhpAtR1m0JQgBiq+nVFJtb45CcNa7QHBBlpF5KgZJVWUqMGl lSOKci3hZg== Received: by localhost (OpenSMTPD) with ESMTPSA id e2169494 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 8 Sep 2024 06:02:46 +0000 (UTC) From: =?utf-8?Q?Marek_Pa=C5=9Bnikowski?= To: Rodrigo Morales Cc: "Rodrigo Morales" , Subject: Re: [beginner's question] What is preventing my package from being deleted? In-Reply-To: <87jzfn54lo.fsf@morales.pe> (Rodrigo Morales's message of "Sat, 7 Sep 2024 20:14:27 -0500") References: <8734mbz9v7.fsf@morales.pe> <87h6arwcdw.fsf@marekpasnikowski.pl> <87jzfn54lo.fsf@morales.pe> Date: Sun, 08 Sep 2024 08:02:46 +0200 Message-ID: <87ikv6znqx.fsf@marekpasnikowski.pl> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 81.190.248.246 (failed) Received-SPF: pass client-ip=81.190.248.246; envelope-from=marek@marekpasnikowski.pl; helo=marekpasnikowski.pl 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.99 X-Spam-Score: -5.99 X-Migadu-Queue-Id: 8837A7C6E3 X-Migadu-Scanner: mx11.migadu.com X-TUID: 0Ywktv74N3RZ Rodrigo Morales writes: > Marek Pa=C5=9Bnikowski writes: > >> Did you remove the package with =3Dguix remove=3D? > > I never installed it using "guix package -i". I installed that package > using "guix home reconfigure", so if I try to use "guix remove", the > following error is reported: Then the package is locked in the /gnu/store until you remove the package from your configuration, reconfigure it and follow up with =3Dguix home delete-generations ; guix gc -d =3D. Here is how I deal with my configurations by usage of bash aliases: ~ $ alias alias collect-garbage=3D'guix home delete-generations 7d ; sudo guix system= delete-generations 7d ; sudo guix gc -d 7d' alias pull-guix=3D'guix pull' alias reconfigure-system=3D'sudo guix system reconfigure -e '\''(@ (systems= ayase) operating-system*)'\''' alias update-system=3D'guix pull ; sudo guix system reconfigure -e '\''(@ (= systems ayase) operating-system*)'\'' ; guix home delete-generations 7d ; s= udo guix system delete-generations 7d ; sudo guix gc -d 7d' ~ My home configuration is declared as a system service, which is why it is not explicitly managed in the aliases.