Remove /snap directory
Jeffrey Walton
noloader at gmail.com
Tue Dec 13 13:41:11 UTC 2022
On Tue, Dec 13, 2022 at 1:16 AM Ralf Mardorf via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> "SNAP
>
> Directory where the snap is mounted. This is where all the files in your
> snap are visible in the filesystem. All of the data in the snap is read-
> only and cannot be changed.
>
> Typical value: /snap/hello-world/27" -
> https://snapcraft.io/docs/environment-variables
>
> On Mon, 2022-12-12 at 22:40 -0500, Jeffrey Walton wrote:
> > How do I delete the /snap directory?
>
> There are countless explanations, such as
>
> https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-10-and-20-04-lts/
> . I would shutdown Ubuntu and boot a live Linux, mount Ubuntu by the
> live Linux and remove the directory.
Thanks Ralph.
The LiveCD boot did the trick.
Snap is like a cancer. A lot of it persists after an `apt remove
--purge snapd`. One needs to manually remove all of its tentacles
after a removal, like systemd units and files on the filesystem.
Jef
More information about the ubuntu-users
mailing list