From: guix.anhxx@simplelogin.com
To: help-guix@gnu.org
Subject: Cannot remove package from profile
Date: Thu, 12 Oct 2023 10:57:25 +0000 [thread overview]
Message-ID: <169710825188.7.9080574758555401355.194891396@simplelogin.com> (raw)
I removed the package emacs-flycheck, but it's still present in my Guix profile.
guix package reports the package is not installed:
$ guix package --list-installed='.*flycheck.*'
$
However emacs-flycheck is still in the profile's manifest:
$ rg flycheck ~/.guix-profile/
/home/fidel/.guix-profile/manifest
1889: ("emacs-flycheck"
1892: "/gnu/store/010xh6idfp7zs0hdla3fkcqi3fvgzr84-emacs-flycheck-32"
And guix gc will refuse to delete the path:
$ guix gc -D /gnu/store/010xh6idfp7zs0hdla3fkcqi3fvgzr84-emacs-flycheck-32
finding garbage collector roots...
guix gc: error: cannot delete path `/gnu/store/010xh6idfp7zs0hdla3fkcqi3fvgzr84-emacs-flycheck-32' since it is still alive
Rightfully the profile is referring that path:
$ guix gc --referrers /gnu/store/010xh6idfp7zs0hdla3fkcqi3fvgzr84-emacs-flycheck-32
/gnu/store/3kqvnv23dk91f1dgfjj2hwfas5w2sbfp-emacs-subdirs
/gnu/store/y84j3fk8kqky6wynxvk612iw38p6h8b6-profile
I deleted all generations with guix gc --delete-generations, which removed all emacs-flycheck paths except that one. I have tried guix pull and upgrade, to no avail.
This is with Guix in Ubuntu 22.04.
$ guix --version
guix (GNU Guix) 0024ef320eed89468369ece3df05064a2afaabd1
I'm at the end of the rope, I will appreciate any support on how to fix this or how to find the root of the problem. Should I file a bug?
Fidel Ramos
https://fidelramos.net/
next reply other threads:[~2023-10-15 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-12 10:57 guix.anhxx [this message]
2023-10-15 12:56 ` Cannot remove package from profile Csepp
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=169710825188.7.9080574758555401355.194891396@simplelogin.com \
--to=guix.anhxx@simplelogin.com \
--cc=help-guix@gnu.org \
/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).