2

Trying the following command :

sudo snap get system refresh.retain

I get that message.

$ sudo snap get system refresh.retain
[sudo] Mot de passe de jm : 
erreur : snap "core" has no "refresh.retain" configuration option

Do I have to set refresh.retain, using "$ sudo snap set system refresh.retain=2" or is it not important, and I keep the system that way. Thanks

1 Answer 1

2

Your output is normal: refresh.retain is already using the default value of 2 on all supported releases of Ubuntu (except Ubuntu Core, which is 3). You need make no changes.

Currently, you cannot query snapd to discover the default values that are used.

So if your snapd queries look like this...

$ sudo snap get system
Key      Value
refresh  {...}
seed     {...}
system   {...}

...or...

$ sudo snap get system refresh
Key  Value
$

...then you are using the default values. Snapd does not tell you what those default values are. Snapd only tells you what you have changed.

You must consult the documentation to learn the default values.

Snapd is Open Source, and if anybody wants to contribute code to cure that papercut, their contribution will be welcome.

1
  • OK, thanks. I thought there was something wrong.
    – Arvernes
    Sep 25 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.