[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:21:38 UTC 2023
root at marietto-BHYVE:/home/marietto# df
File system 1K-blocchi Usati Disponib. Uso% Montato su
tmpfs 401648 1556 400092 1% /run
/dev/vda2 204795912 25656876 168663212 14% /
tmpfs 2008224 0 2008224 0%
/dev/shm
tmpfs 5120 4 5116 1%
/run/lock
/dev/vda1 523248 6216 517032 2% /boot/efi
tmpfs 401644 160 401484 1%
/run/user/1000
Il giorno ven 24 feb 2023 alle ore 12:07 Mario Marietto <
marietto2008 at gmail.com> ha scritto:
> 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.
>
> Il giorno ven 24 feb 2023 alle ore 08:13 Grizzly via ubuntu-users <
> ubuntu-users at lists.ubuntu.com> ha scritto:
>
>> 23 February 2023 at 23:53, Mario Marietto wrote:
>> Re: [snap] Unlinkat /var/snap/firef (at least in part)
>>
>> >I tried to remove every snap from Ubuntu 22.10 but I don't remember the
>> >specific order. For sure I gave some wrong command and now I went inside
>> a
>> >black hole and I don't see the light anymore.
>>
>> I have done the same (albeit on Unity 22.10)
>>
>> $ snap list # to list all the existing snap packages
>>
>> $ sudo snap remove <name-of-the-package> # to remove the snap package
>>
>> $ sudo snap remove snap-store # as example, to remove the snap-store
>> package
>>
>> Note: you can´t remove the `core´ snap package with sudo snap remove
>> core, but
>> we´ll do it later. Also kudos to Kevin Custer for the next step on snap
>> core
>> unmount!
>>
>> $ sudo umount /snap/snapd/XXXX # to unmount the snap core service
>>
>> Note: replace the XXXX with the ID number inside the core directory on
>> your
>> system. You can find it by running the df command and getting something
>> like
>> /dev/loop4 27776 27776 0 100% /snap/snapd/7264.
>>
>> $ sudo apt purge snapd # to remove and purge the snapd package and all of
>> its
>> related services
>>
>> $ sudo rm -rf ~/snap /snap /var/snap /var/lib/snapd # to remove all the
>> folder
>> # related to snap, if existing
>>
>> $ sudo nano /etc/apt/preferences.d/nosnap.pref
>>
>> # To prevent repository packages from triggering the installation of snap,
>> # this file forbids snapd from being installed by APT.
>>
>> Package: snapd
>> Pin: release a=*
>> Pin-Priority: -10
>>
>> # refresh package cache via command:
>>
>> $ sudo apt update
>>
>>
>> Hope this helps
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
> --
> Mario.
>
--
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230224/e08b25e3/attachment.html>
More information about the ubuntu-users
mailing list