Public bug reported:

--help states that --classic is a valid refresh option.

          --classic Put snap in classic mode and disable security
confinement


➜  ~ snap version
snap    2.26.14
snapd   2.26.14
series  16
ubuntu  17.04
kernel  4.13.0-041300rc7-generic

➜  ~ snap refresh --help
Usage:
  snap [OPTIONS] refresh [refresh-OPTIONS] [<snap>...]

The refresh command refreshes (updates) the named snap.

Application Options:
      --version                Print the version and exit

Help Options:
  -h, --help                   Show this help message

[refresh command options]
          --channel=           Use this channel instead of stable
          --edge               Install from the edge channel
          --beta               Install from the beta channel
          --candidate          Install from the candidate channel
          --stable             Install from the stable channel
          --devmode            Put snap in development mode and disable 
security confinement
          --jailmode           Put snap in enforced confinement mode
          --classic            Put snap in classic mode and disable security 
confinement
          --revision=          Refresh to the given revision
          --list               Show available snaps for refresh but do not 
perform a refresh
          --time               Show auto refresh information but do not perform 
a refresh
          --ignore-validation  Ignore validation by other snaps blocking the 
refresh
➜  ~ snap info brave
name:      brave
summary:   "Browse faster and safer with Brave."
publisher: brave
description: |
  The new Brave browser automatically blocks ads and trackers, making it
  faster and safer than your current browser. Start supporting publishers
  today with our new Brave Payments system.

commands:
  - brave
tracking:    beta
installed:   v0.17.19dev (4) 151MB -
refreshed:   2017-07-22 12:43:48 +0300 MSK
channels:
  stable:    –
  candidate: –
  beta:      v0.17.19dev (4) 151MB -
  edge:      v0.17.19dev (4) 151MB -
➜  ~ snap list
Name         Version      Rev   Developer  Notes
brave        v0.17.19dev  4     brave      -
charm        2.2          15    charms     classic
core         16-2.26.14   2462  canonical  -
git-ubuntu   0            187   nacc       classic
go           1.9          727   mwhudson   classic
juju         2.2.2        2142  canonical  classic
ubuntu-make  master       66    didrocks   classic

➜  ~ sudo snap refresh --classic brave
snap "brave" has no updates available

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

+ --help states that --classic is a valid refresh option.
+ 
+           --classic Put snap in classic mode and disable security
+ confinement
+ 
+ 
  ➜  ~ snap version
  snap    2.26.14
  snapd   2.26.14
  series  16
  ubuntu  17.04
  kernel  4.13.0-041300rc7-generic
  
  ➜  ~ snap refresh --help
  Usage:
-   snap [OPTIONS] refresh [refresh-OPTIONS] [<snap>...]
+   snap [OPTIONS] refresh [refresh-OPTIONS] [<snap>...]
  
  The refresh command refreshes (updates) the named snap.
  
  Application Options:
-       --version                Print the version and exit
+       --version                Print the version and exit
  
  Help Options:
-   -h, --help                   Show this help message
+   -h, --help                   Show this help message
  
  [refresh command options]
-           --channel=           Use this channel instead of stable
-           --edge               Install from the edge channel
-           --beta               Install from the beta channel
-           --candidate          Install from the candidate channel
-           --stable             Install from the stable channel
-           --devmode            Put snap in development mode and disable 
security confinement
-           --jailmode           Put snap in enforced confinement mode
-           --classic            Put snap in classic mode and disable security 
confinement
-           --revision=          Refresh to the given revision
-           --list               Show available snaps for refresh but do not 
perform a refresh
-           --time               Show auto refresh information but do not 
perform a refresh
-           --ignore-validation  Ignore validation by other snaps blocking the 
refresh
+           --channel=           Use this channel instead of stable
+           --edge               Install from the edge channel
+           --beta               Install from the beta channel
+           --candidate          Install from the candidate channel
+           --stable             Install from the stable channel
+           --devmode            Put snap in development mode and disable 
security confinement
+           --jailmode           Put snap in enforced confinement mode
+           --classic            Put snap in classic mode and disable security 
confinement
+           --revision=          Refresh to the given revision
+           --list               Show available snaps for refresh but do not 
perform a refresh
+           --time               Show auto refresh information but do not 
perform a refresh
+           --ignore-validation  Ignore validation by other snaps blocking the 
refresh
  ➜  ~ snap info brave
  name:      brave
  summary:   "Browse faster and safer with Brave."
  publisher: brave
  description: |
-   The new Brave browser automatically blocks ads and trackers, making it
-   faster and safer than your current browser. Start supporting publishers
-   today with our new Brave Payments system.
-   
+   The new Brave browser automatically blocks ads and trackers, making it
+   faster and safer than your current browser. Start supporting publishers
+   today with our new Brave Payments system.
+ 
  commands:
-   - brave
+   - brave
  tracking:    beta
  installed:   v0.17.19dev (4) 151MB -
  refreshed:   2017-07-22 12:43:48 +0300 MSK
- channels:                    
-   stable:    –                     
-   candidate: –                     
-   beta:      v0.17.19dev (4) 151MB -
-   edge:      v0.17.19dev (4) 151MB -
+ channels:
+   stable:    –
+   candidate: –
+   beta:      v0.17.19dev (4) 151MB -
+   edge:      v0.17.19dev (4) 151MB -
  ➜  ~ snap list
  Name         Version      Rev   Developer  Notes
  brave        v0.17.19dev  4     brave      -
  charm        2.2          15    charms     classic
  core         16-2.26.14   2462  canonical  -
  git-ubuntu   0            187   nacc       classic
  go           1.9          727   mwhudson   classic
  juju         2.2.2        2142  canonical  classic
  ubuntu-make  master       66    didrocks   classic
  
- 
  ➜  ~ sudo snap refresh --classic brave
  snap "brave" has no updates available

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1714024

Title:
  unable to refresh snap to --classic: snap <snapname> has no updates
  available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1714024/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to