Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tell user why a given path is live when it can't be deleted #171

Closed
shlevy opened this issue Oct 21, 2013 · 8 comments
Closed

Tell user why a given path is live when it can't be deleted #171

shlevy opened this issue Oct 21, 2013 · 8 comments

Comments

@shlevy
Copy link
Member

shlevy commented Oct 21, 2013

$ nix-store --delete  /nix/store/ixmvap0270115iwkz6fljjccghvnf928-nixos-13.10pre34775.a63b4dc
finding garbage collector roots...
error: cannot delete path `/nix/store/ixmvap0270115iwkz6fljjccghvnf928-nixos-13.10pre34775.a63b4dc' since it is still alive
0 store paths deleted, 0.00 MiB freed

And

$ nix-store -q --roots  /nix/store/ixmvap0270115iwkz6fljjccghvnf928-nixos-13.10pre34775.a63b4dc
/nix/var/nix/profiles/system-53-link`

Would be nice if instead the first command output:

$ nix-store --delete  /nix/store/ixmvap0270115iwkz6fljjccghvnf928-nixos-13.10pre34775.a63b4dc
finding garbage collector roots...
error: cannot delete path `/nix/store/ixmvap0270115iwkz6fljjccghvnf928-nixos-13.10pre34775.a63b4dc' since it is still alive (reachable from /nix/var/nix/profiles/system-53-link)
0 store paths deleted, 0.00 MiB freed
@jb55
Copy link

jb55 commented Jul 6, 2015

👍

I got here by googling "since it is still alive" trying to figure out how to delete something

@qknight
Copy link
Member

qknight commented Nov 2, 2015

Yes, that would be a huge usability boost!

@shlevy shlevy closed this as completed Jan 19, 2018
@nh2
Copy link
Contributor

nh2 commented Jan 19, 2018

@shlevy Issue was just closed but it's not clear to me what the resolution is.

@shlevy
Copy link
Member Author

shlevy commented Jan 19, 2018

There has been no movement and I'm not interested in pursuing this.

@nh2
Copy link
Contributor

nh2 commented Jan 19, 2018

@shlevy OK but you don't have to close issues in which you have no more interest, lots of other people continue to have interest, and being the original reporter doesn't put any obligation on you to pursue it, in case this is what you were worried about.

So it would be nice if you could re-open the issues you just closed :)

@shlevy
Copy link
Member Author

shlevy commented Jan 20, 2018

@nh2 Closing the issue is the only way to remove it from my global github list of issues. Anyone is free to open a new issue with a reference to this one.

@nh2
Copy link
Contributor

nh2 commented Jan 20, 2018

Closing the issue is the only way to remove it from my global github list of issues.

@shlevy Well, that's a bummer, I guess then we do have to open a new issue.

It would be nice though if you could post a list of all nix-related issues you closed, as you probably filed a couple of useful ones, so that we can copy those and they don't get forgotten.

Also, just as an aside: I am not sure if your approach of trying to keep your list of issues (I assume you mean this personalised page is a practical/effective one, as owners of the respective issue trackers can re-open issues at will and thus mess with you global issues list. You'd have to post explicitly on each issue that you don't want that. So it seems like Github does not really support the workflow you have in mind.

@nh2
Copy link
Contributor

nh2 commented Jan 20, 2018

Reopened issue is at #1810

Please re-subscribe there whoever is interested in that.

zolodev pushed a commit to zolodev/nix that referenced this issue Jan 1, 2024
tutorial: building bootable ISO image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants