help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot remove package from profile


From: guix . anhxx
Subject: Cannot remove package from profile
Date: Thu, 12 Oct 2023 10:57:25 +0000

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]