Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
571
rated 0 times [  571] [ 0]  / answers: 1 / hits: 503191  / 2 Years ago, wed, march 2, 2022, 7:51:54

I know that I can update a snap package using



sudo snap refresh <package>


But is there a way to update all snaps, like



sudo apt dist-upgrade

More From » ubuntu-core

 Answers
4
sudo snap refresh 

Will do this. It is part of snapd 2.0.8, which landed 2016-06-13 in xenial-updates.


snap refresh --list

Only lists the updates without refreshing the packages.


snap info <snap name>

Can show which versions are available for a particular package.




You can also update a specific application if the other method fails


sudo snap refresh <Application>

Example usage:


sudo snap refresh slack --classic

[#15746] Wednesday, March 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
erranbe

Total Points: 118
Total Questions: 95
Total Answers: 117

Location: Virgin Islands (U.S.)
Member since Tue, Jul 7, 2020
4 Years ago
erranbe questions
;