snap list --all

From wikieduonline
Revision as of 09:00, 11 October 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

snap list --all
Name  Version      Rev   Tracking       Publisher   Notes
core  16-2.45.2    9665  latest/stable  canonical✓  core,disabled
core  16-2.45.3.1  9804  latest/stable  canonical✓  core
snap list --all | awk '/disabled/{print $1, $3}'
#!/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

Related commands[edit]

See also[edit]

Advertising: