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

remove snap mount point #899

Closed
4 tasks done
FrostyNick opened this issue Nov 1, 2024 · 2 comments
Closed
4 tasks done

remove snap mount point #899

FrostyNick opened this issue Nov 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@FrostyNick
Copy link

Describe the bug

I was trying out removing snap feature. Seems to remove snap and snapd from running that was nice and quick, but it still shows up on /snap/* after running df.

To Reproduce

Steps to reproduce the behavior:

  1. Run linutil
  2. Select remove snaps
  3. It seems to work
  4. run df and see snaps show up on right side path row

Expected behavior

Snaps should not take extra space on system after tool is run.

Screenshots

After running df -h:

Filesystem      Size  Used Avail Use% Mounted on
...
/dev/loop0      1.9M  1.9M     0 100% /snap/btop/806
/dev/loop1      1.9M  1.9M     0 100% /snap/btop/808
/dev/loop3       64M   64M     0 100% /snap/core20/2379
/dev/loop2       15M   15M     0 100% /snap/cheat/4279
/dev/loop4       64M   64M     0 100% /snap/core20/2434
/dev/loop5       15M   15M     0 100% /snap/cheat/4243
/dev/loop7       39M   39M     0 100% /snap/snapd/21759
/dev/loop6       67M   67M     0 100% /snap/core24/609
/dev/loop8       67M   67M     0 100% /snap/core24/490
/dev/loop9       39M   39M     0 100% /snap/snapd/21465
...

If applicable, add screenshots to help explain your problem.

Additional context

Running Lubuntu 20.04 (like Ubuntu 20.04)

Checklist

  • I checked for duplicate issues.
  • I checked already existing discussions.
  • This issue is not included in the roadmap.
  • This issue is present on both stable and development branches.
@FrostyNick FrostyNick added the bug Something isn't working label Nov 1, 2024
@github-actions github-actions bot closed this as completed Nov 1, 2024
@FrostyNick
Copy link
Author

FrostyNick commented Dec 16, 2024

Earlier I did not bother checking if snaps were in my system, but yeah after looking into this, the issue hasn't gone away.

Removing mountpoints and /snap:

sudo umount /snap/*/*
sudo rm /snap/ -r

After typing commands above and rebooting, the snap mount points come back, and the packages from snap still run.

Here's some systemd info if that helps:

2024-12-16T00:13:13,228064449-06:00

Also to double check, I ran linutil again using the snap remover option. It still shows "snapd is not in your system" and doesn't change anything since changes were already made.

@FrostyNick
Copy link
Author

Someone deleted their comment after I made above reply 👀 Anyway, I don't know how to reopen this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant