[Bug 1948995] Re: Allow reverting to older revisions of a snap

2022-01-03 Thread Benjamin Allot
I think this bug should be followed up with a change to retain=3 on
Ubuntu servers.

** Changed in: snapd (Ubuntu)
   Status: Expired => New

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1948995] Re: Allow reverting to older revisions of a snap

2021-12-27 Thread Launchpad Bug Tracker
[Expired for snapd (Ubuntu) because there has been no activity for 60
days.]

** Changed in: snapd (Ubuntu)
   Status: Incomplete => Expired

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1948995] Re: Allow reverting to older revisions of a snap

2021-10-28 Thread Ian Johnson
You can set the number of revisions to keep with `snap set system
refresh.retain=`. The choice for Server is probably unfortunately a
victim of inheriting the default choice for Ubuntu Desktop, which is 2.
We originally had 3 for Desktop too (which is also still the default on
Ubuntu Core), but that was deemed to be too storage intensive for most
users so for "non-Ubuntu Core" we changed it to 2 instead, and it seems
that Server has gotten bundled into the definition of "non-Ubuntu Core".
I think there's a strong case to be made for having a different default
on Server vs Desktop, so if you want to open a new bug about changing
that (or we could re-use this one I suppose), I think that's a
reasonable thing to request be changed.

** Changed in: snapd (Ubuntu)
   Status: New => Incomplete

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1948995] Re: Allow reverting to older revisions of a snap

2021-10-28 Thread Junien Fridrick
OK thanks. I must say that this is not a great user experience. How
would we "increase the number of revisions that are kept around on a
system" ? It seems that the default of 2 is pretty low for servers.

** Changed in: snapd (Ubuntu)
   Status: Incomplete => New

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1948995] Re: Allow reverting to older revisions of a snap

2021-10-28 Thread Ian Johnson
Hi @axino, unfortunately I'm not aware of all the details of your
system, but if you do not have the desired snap revision available on
your system, then I can't advise on how you could get access to a
revision which works for your system. You could try reaching out to the
publisher to see if they can re-publish the working revision to the
stable channel (since it seems like a regression), or maybe they could
put the old revision onto a branch for you to temporarily switch to.

Finally, you could try rebuilding the snap yourself with the right
assets to effectively revert, and then install this revision locally
with --dangerous flag.

** Changed in: snapd (Ubuntu)
   Status: New => Incomplete

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1948995] Re: Allow reverting to older revisions of a snap

2021-10-28 Thread Junien Fridrick
@anonymouse67 hello ! so how do you suggest we fix our production system
now ?

** Changed in: snapd (Ubuntu)
   Status: Invalid => New

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1948995] Re: Allow reverting to older revisions of a snap

2021-10-27 Thread Ian Johnson
It is by design that you cannot revert to a snap that you do not already
have installed on a system.

You can try using `snap list ruby --all` to get all currently installed
revisions on your system (but note that only one revision can be
"active" at a time), the revisions listed by this command are all the
revisions that you can revert to.

You can increase the number of revisions that are kept around on a
system to ensure that you are more likely to have the previous revision
available by setting the refresh.retain system setting. I believe on
Desktop/Server this setting defaults to 2, but on Ubuntu Core for
example this setting defaults to 3.

** Changed in: snapd (Ubuntu)
   Status: New => Invalid

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

Title:
  Allow reverting to older revisions of a snap

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs