unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Cannot remove package from profile
@ 2023-10-12 10:57 guix.anhxx
  2023-10-15 12:56 ` Csepp
  0 siblings, 1 reply; 2+ messages in thread
From: guix.anhxx @ 2023-10-12 10:57 UTC (permalink / raw)
  To: help-guix

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/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot remove package from profile
  2023-10-12 10:57 Cannot remove package from profile guix.anhxx
@ 2023-10-15 12:56 ` Csepp
  0 siblings, 0 replies; 2+ messages in thread
From: Csepp @ 2023-10-15 12:56 UTC (permalink / raw)
  To: guix.anhxx; +Cc: help-guix


guix.anhxx@simplelogin.com writes:

> 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/

Is it a propagated-input of another package?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-15 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12 10:57 Cannot remove package from profile guix.anhxx
2023-10-15 12:56 ` Csepp

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).