[snap] Unlinkat /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system
Mario Marietto
marietto2008 at gmail.com
Fri Feb 24 13:39:07 UTC 2023
I've found this helpful site :
https://askubuntu.com/questions/1414173/completely-remove-firefox-snap-package
So,this is what I did :
root at marietto-BHYVE:/etc/systemd/system# lsblk -fe7 -o+ro
NAME FSTYPE FSVER LABEL UUID
FSAVAIL FSUSE% MOUNTPOINTS RO
vda
0
--vda1
vfat FAT32 A17A-EEFA
504,9M 1% /boot/efi
0
--vda2
ext4 1.0
2e254150-7969-4cbb-bf4c-9b9e0bf9ef64 160,8G 13%
/var/snap/firefox/common/host-hunspell
/ 0
# sudo systemctl stop var-snap-firefox-common-host\\x2dhunspell.mount
Warning: The unit file, source configuration file or drop-ins of
var-snap-firefox-common-host\x2dhunspell.mount changed on disk. Run
'systemctl daemon-reload' to reload units.
root at marietto-BHYVE:/etc/systemd/system# systemctl daemon-reload
root at marietto-BHYVE:/etc/systemd/system# lsblk -fe7 -o+ro
NAME FSTYPE FSVER LABEL UUID
FSAVAIL FSUSE% MOUNTPOINTS RO
vda
0
--vda1
vfat FAT32 A17A-EEFA
504,9M 1% /boot/efi
0
--vda2
ext4 1.0
2e254150-7969-4cbb-bf4c-9b9e0bf9ef64 160,8G 13%
/ 0
root at marietto-BHYVE:/etc/systemd/system# snap remove firefox
2023-02-24T14:06:57+01:00 ERROR cannot remove snap file "firefox", will
retry in 3 mins: unlinkat /snap/firefox/1969/data-dir: read-only file
system.
Il giorno ven 24 feb 2023 alle ore 13:40 Mario Marietto <
marietto2008 at gmail.com> ha scritto:
>
>
> I've been able to restore snap and firefox to the original and working
> state. Now the components below seem to be at their proper place :
>
> # snap list
>
> Nome Versione Rev Tracciamento Publisher
> Note
>
> bare 1.0 5 latest/stable canonical?
> base
> core 16-2.58.2 14784 latest/stable canonical?
> core
> core18 20230207 2697 latest/stable canonical?
> base
> core20 20230126 1822 latest/stable canonical?
> base
> firefox 106.0-1 1969 latest/stable/? mozilla? -
> gnome-3-38-2004 0+git.6f39565 119 latest/stable canonical? -
> gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical? -
> hello-world 6.4 29 latest/stable canonical? -
> snap-store 41.3-66-gfe1e325 638 latest/stable canonical? -
> snapd 2.58.2 18357 latest/stable canonical?
> snapd
>
> infact when I invoke Firefox,it starts correctly. At this point,I tried to
> remove the snap firefox like this :
>
> # snap remove --purge firefox
>
> but it does not want to do it :
>
> errore: cannot perform the following tasks:
> - Rimuovi i dati per lo snap "firefox" (1969) (unlinkat
> /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system)
>
> :(
>
> Il giorno ven 24 feb 2023 alle ore 12:42 Mario Marietto <
> marietto2008 at gmail.com> ha scritto:
>
>> I did :
>>
>> rm -r /etc/systemd/system/snapd.mounts.target.wants
>> ok
>>
>> and now what should I do ?
>>
>>
>> Il giorno ven 24 feb 2023 alle ore 12:31 Jeffrey Walton <
>> noloader at gmail.com> ha scritto:
>>
>>> On Fri, Feb 24, 2023 at 6:24 AM Mario Marietto <marietto2008 at gmail.com>
>>> wrote:
>>> >
>>> > find /etc -name '*snap*' -exec rm -f {} \;
>>> > rm: can't remove '/etc/systemd/system/snapd.mounts.target.wants': is a
>>> directory.
>>>
>>> And how would you fix this?
>>>
>>> Jeff
>>>
>>
>>
>> --
>> Mario.
>>
>
>
> --
> Mario.
>
--
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230224/2fe87cbf/attachment.html>
More information about the ubuntu-users
mailing list