[snap] Unlinkat /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system
Mario Marietto
marietto2008 at gmail.com
Fri Feb 24 11:24:07 UTC 2023
find /etc -name '*snap*' -exec rm -f {} \;
rm: can't remove '/etc/systemd/system/snapd.mounts.target.wants': is a
directory.
Il giorno ven 24 feb 2023 alle ore 12:21 Jeffrey Walton <noloader at gmail.com>
ha scritto:
> On Fri, Feb 24, 2023 at 6:09 AM Mario Marietto <marietto2008 at gmail.com>
> wrote:
> >
> > root at marietto-BHYVE:/home/marietto# ls /snap/snapd
> > 18357 current
> >
> > root at marietto-BHYVE:/home/marietto# sudo umount /snap/snapd/18357
> > umount: /snap/snapd/18357: target is busy.
>
> I also had to boot into a rescue disk to completely remove Snap from my
> system.
>
> I also found traces of Snap in /etc after removal. Apt and the
> uninstaller leaves a bunch of systemd units lying around. I used
> `find` to locate them and delete them. Something like:
>
> find /etc -name '*snap*' -exec rm -f {} \;
>
> Once you remove the systemd units, you won't get those mounts and you
> should be able to delete Snap files and directories without error.
>
> Jeff
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230224/688f5082/attachment-0001.html>
More information about the ubuntu-users
mailing list