Can't snap refresh mc-installer, can't remove it either

I have two snaps which need to refreshed.

$ sudo snap refresh --list
Name                      Version  Rev  Size   Publisher     Notes
mc-installer              12.2     615  110MB  kz6fittycent  -
nextcloud-desktop-client  3.9.4    153  221MB  glasen        -

When I do a sudo snap refresh or a sudo snap refresh mc-installer it says

Daten von Snap “mc-installer” kopieren

Ubuntu gets somewhat unresponsive for about 60 seconds (probably due to i/o) then also says

Handling re-refresh of “mc-installer” as needed

Then I get my terminal buffer overflown with a seemling repeating message that ends with (just copying the last few lines here):

-> ‘/home/yves/snap/mc-installer/615/.minecraft/assets/skins/90/9007abc2c8e442a45f8ed3a1620a4c805513f4e2’\n’/home/yves/snap/mc-installer/613/.minecraft/assets/skins/90/902ec4911e6729c3d5349bd5953c48c6b66f7468’ -> ‘/home/yves/snap/mc-installer/615/.minecraft/assets/skins/90/902ec4911e6729c3d5349bd5953c48c6b66f7468’" (1))

I’ve tried to get the beginning of the message (I’m not sure if got it right):

/home/yves/snap/mc-installer/613/.minecraft/assets/skins/3d/3de43ff56a18ab570b42db051b4d1da8513e4699’ -> ‘/home/yves/snap/mc-installer/615/.minecraft/assets/skins/3d/3de43ff56a18ab570b42db051b4d1da8513e4699’\n’/home/yves/snap/mc-installer/613/.minecraft/assets/skins/3d/3df9630f0c0922d0350650fe115cf4677d7ef50b’

I’ve tried to uninstall mc-installer as it blocks upgrading my other snap package with:

sudo snap remove mc-installer

It says:

Save data of snap "mc-installer" in automatic snapshot set #17

for a long time and then:

Fehler: cannot perform the following tasks:
- Save data of snap "mc-installer" in automatic snapshot set #17 (cannot create archive (showing last 5 lines out of 24):
tar: Datei 613/.minecraft/assets/objects/61/6100fe82c6c8f4bdbe6c4b63fd769483b87a14db ist um 4472 Bytes geschrumpft, fülle mit Nullen auf.
tar: Datei 613/.minecraft/assets/objects/61/61478e1d69d24d6f2694f79b285ca16f64fc1fc0 ist um 58866 Bytes geschrumpft, fülle mit Nullen auf.
tar: Datei 613/.minecraft/assets/objects/61/61934ac5ec8f3e42bf13d32558a13f6980e6e7e5 ist um 400343 Bytes geschrumpft, fülle mit Nullen auf.
tar: Datei 613/.minecraft/assets/objects/a3/a3c6e3f2175a8293b7686972619bb93eee32b47b ist um 212086 Bytes geschrumpft, fülle mit Nullen auf.
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler)

So this doesn’t work either. What else can I try?

EDIT: Removed mention that this also blocks refreshing the other snap-package as this isn’t the case.

Do you care about keeping your user data (I.e. about having a snapshot of it) ?

If not, you can use the --purge option of snap remove ... to prevent the automatc backup during removal.

1 Like

$ sudo snap remove --purge mc-installer worked like a charm.

Thank you :grinning:

1 Like