Difference between revisions of "/var/lib/snapd/snaps/"
Jump to navigation
Jump to search
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[/var/lib/snapd/]]snaps/ | ||
+ | /var/lib/snapd/snaps/partial/ | ||
+ | |||
+ | [[.snap]] | ||
+ | |||
+ | [[du -hs]] /var/lib/snapd/snaps/ | ||
+ | du -hcs /var/lib/snapd/snaps/* | [[sort -rnk1]] | ||
+ | |||
+ | |||
+ | du -hs /var/lib/snapd/snaps/ | ||
+ | #!/bin/sh | ||
+ | LANG=en_US.UTF-8 snap list --all | awk '/[[disabled]]/{print $1, $3}' | | ||
+ | while read pkg revision; do | ||
+ | sudo [[snap remove]] "$pkg" --revision="$revision" | ||
+ | done | ||
+ | du -hs /var/lib/snapd/snaps/ | ||
== Related == | == Related == | ||
* [[No space left on device]] | * [[No space left on device]] | ||
− | * [[du -hs]] | + | * [[/var/lib/snapd/cache/]] |
+ | * <code>[[/var/lib/apt/lists/]]</code> | ||
+ | * <code>[[du -hs]]</code> | ||
== See also == | == See also == |
Latest revision as of 10:28, 2 November 2023
/var/lib/snapd/snaps/ /var/lib/snapd/snaps/partial/
.snap
du -hs /var/lib/snapd/snaps/ du -hcs /var/lib/snapd/snaps/* | sort -rnk1
du -hs /var/lib/snapd/snaps/ #!/bin/sh LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' | while read pkg revision; do sudo snap remove "$pkg" --revision="$revision" done du -hs /var/lib/snapd/snaps/
Related[edit]
See also[edit]
Advertising: