From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2LOVOEqRAWDBZgAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 12:57:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yA5FNEqRAWCXagAAbx9fmQ (envelope-from ) for ; Fri, 15 Jan 2021 12:57:46 +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 2BE95940105 for ; Fri, 15 Jan 2021 12:57:46 +0000 (UTC) Received: from localhost ([::1]:35408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0Ofe-0007L6-EB for larch@yhetil.org; Fri, 15 Jan 2021 07:57:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0OfL-0007Jq-Ld for help-guix@gnu.org; Fri, 15 Jan 2021 07:57:23 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:36920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0OfJ-0001RX-Ay for help-guix@gnu.org; Fri, 15 Jan 2021 07:57:23 -0500 Received: by mail-ej1-x62c.google.com with SMTP id ga15so13175327ejb.4 for ; Fri, 15 Jan 2021 04:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=EBEVDG4SP9ss3D5aV9kqPA+YhF6nc/1NvVacnn+5G+Q=; b=huqIhuq16b72MininwiKSUYvukJn6Gdrn623nTMOwxGB4mwV3dPgrS3jT74u0yy4W9 NfXkj50n4x+mBV4ifH8Q3JhasYRBuYh3gtTziFgwtD5kiv9x7PzmR6OX3YvKaCdxFAKP 9Xx4aTsv5RWLk+gBrBAvC7JM0e1RG0zq741TSRT0ZE7VnPhtDXSuhrfrECrIw1nI0icZ awBQrFPxrrwBs/1+/ZKYE/Xxz112rgmXsLOsEZ53mSyTpHMtxtN+0xEA1egspnxqWhtF YUBji8wYuoNaQ60U5ptsjMrFvznDvfXl8n048JuOgsb5kyu+mtO6n2cpzRVB1O6wDVrr PlJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=EBEVDG4SP9ss3D5aV9kqPA+YhF6nc/1NvVacnn+5G+Q=; b=mBY8+5HQz+dFTX9hwl6HXoDjOZ9d2VbwDmLS4Vco1Qd6AgsI5hti3m494UmuN+n0Ez 8AuK+4XbUq8SpwItbGYU576Z04sZXgsoOXBcb2fEfnrU6pK2ID4L32bvpSXelC6L1kZY tvommTBDu1rKrb0Ymvb15LUcoaAGXnWP/234Ing1r7mI4l0XzKlG9KjMSAawiM+KdC+h S6/abk+IHTFdkvXOWfXggGqkrzKH98E5QF8UyNJno7w4W9Vf/UKEZj6rPhRSHLt6v/cd 8yb+QGqUWJYX9sJTKpWuGmavfeLlzuwWhqALH/wzkhp+dfzO6wFw/GlUwCe86s21LIKd K6/A== X-Gm-Message-State: AOAM533jxzw4e0dFJOj0c60lNpyl1+FAchQXtk3jswkXRclyZQUpRC3q 1ukq3THOV5zxVlE56mBXyEfGtC5arGU= X-Google-Smtp-Source: ABdhPJzZH5LlXt/B3kplt4qctq5SdCi0lhQtWPVO+lQTpAzGzY9qT4Rqj1oclIaK7EKCy4GRxJzfSg== X-Received: by 2002:a17:907:961d:: with SMTP id gb29mr8809573ejc.460.1610715438152; Fri, 15 Jan 2021 04:57:18 -0800 (PST) Received: from [10.16.0.9] ([185.65.134.178]) by smtp.googlemail.com with ESMTPSA id a10sm3392749ejk.92.2021.01.15.04.57.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Jan 2021 04:57:17 -0800 (PST) Subject: Re: How to remove guix To: mick@sulley.info References: From: Zelphir Kaltstahl X-Tagtoolbar-Keys: D20210115135715698 Message-ID: <2fc58c99-e070-f6ff-366f-f47d948edb2c@gmail.com> Date: Fri, 15 Jan 2021 13:57:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=zelphirkaltstahl@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=huqIhuq1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 2BE95940105 X-Spam-Score: -1.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: x9aXm1tO3NK5 Hello Mick, I once messed up my Guix installation, by not using sudo -i when trying to update the root profile, so I had to go through removing it as well. I wrote down all the things I removed though: https://notabug.org/ZelphirKaltstahl/guix-package-manager-tutorials/raw/master/uninstall.org: ~~~~ rm --recursive --force /gnu/store || true; rm --recursive --force /var/guix || true; rm --recursive --force ~/.guix-profile || true; rm --recursive --force ~/.config/guix || true; rm --recursive --force /etc/guix/profile/config.scm || true; rm --recursive --force /tmp/guix.* || true; rm --recursive --force /home/xiaolong/.cache/guix || true; rm --recursive --force /root/.cache/guix/ || true; rm --recursive --force /root/.cache/guile/ || true; rm --recursive --force /var/log/guix || true; rm --recursive --force /root/.config/guix || true; rm --recursive --force /etc/systemd/system/guix-daemon.service || true; rm --recursive --force /etc/guix || true; rm --recursive --force /usr/local/bin/guix || true; rm --recursive --force /etc/systemd/system/multi-user.target.wants/guix-daemon.service || true; rm --recursive --force /usr/local/share/info/guix.* || true; rm --recursive --force /tmp/guix.Mgm || true; # all of the above does not help # you need to do also the following rm --recursive --force /var/guix || true; rm --recursive --force /gnu || true; ~~~~ This does not include the users or groups. Perhaps I did not uninstall those, because I wanted to install it again afterwards. Also (!) check all location first, to be sure you are not deleting anything you still need. Also: If any of this is not correct or damaging, please people correct me : ) Regards, Zelphir On 1/14/21 9:16 PM, help-guix-request@gnu.org wrote: > Message: 6 > Date: Thu, 14 Jan 2021 13:34:33 +0000 > From: Mick Sulley > To: help-guix@gnu.org > Subject: How to remove guix > Message-ID: > Content-Type: text/plain; charset=utf-8; format=flowed > > I am having real problems with Unison, I installed via Guix and it is > not working so I want to remove it and try with an apt install. > > I have run > >     guix package -r unison > > and it seems to work, I have also installed unison with > >     sudo apt install unison > > and that seemed to work as well but then I see > > mick@holly:~$ unison -version > -bash: /home/mick/.guix-profile/bin/unison: No such file or directory > mick@holly:~$ > > so it is looking for the guix version and not seeing the standard apt > install.  So > > 1) How can I get it to look for the standard version rather than the > guix version > > 2) How can I remove guix completely?  I have searched on-line and cannot > see anything on this. > > My PATH is > > mick@holly:~$ echo $PATH > /home/mick/.guix-profile/bin:/home/mick/.config/guix/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > mick@holly:~$ > > Thanks > > Mick