unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@gmail.com>
To: mick@sulley.info
Cc: help-guix@gnu.org
Subject: Re: How to remove guix
Date: Fri, 15 Jan 2021 13:57:15 +0100	[thread overview]
Message-ID: <2fc58c99-e070-f6ff-366f-f47d948edb2c@gmail.com> (raw)
In-Reply-To: <mailman.25584.1610655397.19111.help-guix@gnu.org>

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 <mick@sulley.info>
> To: help-guix@gnu.org
> Subject: How to remove guix
> Message-ID: <e61e6f98-a0f5-5cb2-153c-076395af26ae@sulley.info>
> 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

       reply	other threads:[~2021-01-15 12:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.25584.1610655397.19111.help-guix@gnu.org>
2021-01-15 12:57 ` Zelphir Kaltstahl [this message]
2021-01-21 12:26   ` How to remove guix Pierre Neidhardt
2021-01-21 13:06     ` zimoun
2021-01-21 14:14       ` Pierre Neidhardt
2021-01-14 13:34 Mick Sulley
2021-01-14 20:15 ` Julien Lepiller
2021-01-14 20:28 ` Tobias Geerinckx-Rice
2021-01-14 20:46   ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2fc58c99-e070-f6ff-366f-f47d948edb2c@gmail.com \
    --to=zelphirkaltstahl@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mick@sulley.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).