Skip to content

Ubuntu

Snaps

Clean previous versions of snaps https://gist.github.com/Voronenko/5ff82f9c09c9e193a084f5bd8a97e570

#!/bin/bash

snap list --all | while read snapname ver rev trk pub notes; do if [[ $notes = *disabled* ]]; then snap remove "$snapname" --revision="$rev"; fi; done

Filesystems

Remount partitions from /etc/fstab, except the partitions with noauto option.

sudo mount -a