From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id HZXzLekw1WIIDAEAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 12:07:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MHBbLOkw1WIcDgEAauVa8A (envelope-from ) for ; Mon, 18 Jul 2022 12:07:37 +0200 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 708C1175C9 for ; Mon, 18 Jul 2022 12:07:37 +0200 (CEST) Received: from localhost ([::1]:36532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDNf6-0006iZ-7n for larch@yhetil.org; Mon, 18 Jul 2022 06:07:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDNe0-0006Rl-Hc for help-guix@gnu.org; Mon, 18 Jul 2022 06:06:28 -0400 Received: from mx0.riseup.net ([198.252.153.6]:49948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDNdx-0005pa-TR for help-guix@gnu.org; Mon, 18 Jul 2022 06:06:27 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4Lmd0G56XKz9s1T; Mon, 18 Jul 2022 10:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1658138782; bh=DV46Eg3DJpS+5Yexe8p0ja2oV6DDOqxtdBIiBerzt1I=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=cx+wKQ00Qd2fNJfOdHSuwRMJDDkug9YtDXe8R2jMmoqeo7FuvZ51bpzA/ji34LipV k7wE5BfZ+VrutN61gHUhnnI3q0OrSr2YcD0YXaDGyhvcNwFMJIAQZEJdaPA0gWTW+6 o5lvCesvcPm1+XwxLE62x/18C5yGvU5pDMPpkuoQ= X-Riseup-User-ID: 665A8208A68322860FFDC2436CF8906261AC620F9A76C5675AE51C5BF96E5174 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4Lmd0G0T8hz1yWm; Mon, 18 Jul 2022 10:06:21 +0000 (UTC) References: From: Csepp To: =?utf-8?B?QW5kcsOhcyBWw7Zyw7Zza8WRaQ==?= Cc: help-guix@gnu.org Subject: Re: fixing sticky package Date: Mon, 18 Jul 2022 12:01:55 +0200 In-reply-to: Message-ID: <87cze2ag6e.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658138857; 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=L3YV7d+ds/JzKDejWZ4o4xwDJUmaPeiAgOxfqCQx+BQ=; b=aI38rXTL7xEhFdZJvzlfN2sVygGyW4wt1auWLw2blzkSNcvYRBJiYsGqeDpZUuXRgbXWbF Z1jsyzvBmNL1Y4q8qkh8pb4v1xJ6u8ke2BaNz1Y31DEymEISPSKYcLeX0ycgY4+Sr+UpOn 4m8B2UvoP/H372FxN1Xw6ME/R02e9rYchOZyGTjIbFvvUKFFwh4n9ZAU6D1Y+HlhZCeLR1 cZBR6q24RZayhLq0rpOC9SwrPgP1kdU4Fi+y3y+yaM3qp5g0KnH6fH/pSTN5+Tup/2VkO9 CmnAGwLZZ+ZaoNF5s7RnF4LKH66+ubZxG1RXvaLcYDrYaqh9fvdrcudczYKdrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658138857; a=rsa-sha256; cv=none; b=RAFE3ogxbFdJocmBpK+/rLvDFhZBAeyhDf6MUfrJ+m6sFcL98UhYe/tbElIBrs0F9KBwpx 17nr2hjLWMSUShqFXTwwdlZ7yCw34pIuHaMyKQt1S4kC2LukjocwUJOOGYSLik0kMbHbaG lVg8BYqvDIljUEJn03KzYG9L35ISgSJw9jGvdCpbKTOZ/gsuSQjFgT1EmxpkhV6uyDoii1 1GuMZXLJAe2NBkwQcd/fjWtWoUxzEssTvwcgW7GO5fSIB54+BcF08SmOTYijJhwUEqiPZv wZguSEg566ueYqpNGBGlcO+L2byvJBVMhkWvOlKdjJytrW0dJhKtJY4dzExsuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=cx+wKQ00; dmarc=pass (policy=none) header.from=riseup.net; 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" X-Migadu-Spam-Score: -8.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=cx+wKQ00; dmarc=pass (policy=none) header.from=riseup.net; 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" X-Migadu-Queue-Id: 708C1175C9 X-Spam-Score: -8.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: sij9zgbwJXl8 Andr=C3=A1s V=C3=B6r=C3=B6sk=C5=91i writes: > Hi, > > I have done something like this: > 1. I have zig@0.10 installed in my profile. > 2. Started a guix shell -m guix.scm which has zig@0.9 > 3. Run zig version and it reported 0.10.0 > 4. guix remove zig@0.10 > 5. zig version still reports 0.10.0 > > At that point I have switched to panic mode, exited from everything, but > now when I run `guix package -I` it reports an only `zls` and `git-minima= l` > installed, which is fine. > However when I run `which zig` it finds `zig` in /gnu/store. > > If I try to `guix remove zig` it says zig is not found in profile. > > How can I remove zig from my profile? > > Thanks, guix shell runs a program (a shell by default) in a temporary environment that has some packages added. guix remove is an alias of guix package --remove, which works on persistent stateful profiles, like ~/.guix-profile. You told it to create a new profile generation with zig removed, which it did. But that does not affect the temporary profile that was also active. To modify the list of packages in a guix shell profile, you can either source additional search paths, or exit the guix shell and run it again with a different manifest or package list.