Diego Remolina
2016-Aug-19 09:57 UTC
[Gluster-users] [Gluster-devel] release-3.6 end of life
The issue is the PPA does not change and the moment a new version is released (even minor versions), the old packages are lost forever. Even if you go to the PPA itself, the binaries seem to be deleted there. apt-chache showpkg glusterfs only shows the latest version available, none of the older ones are displayed so that you can then downgrade. I am not sure if there is another way of doing this, but I have never managed to successfully find and install the older releases without manually obtaining the .deb files if I can find them. Diego On Aug 18, 2016 5:33 PM, "Lindsay Mathieson" <lindsay.mathieson at gmail.com> wrote:> On 19/08/2016 3:45 AM, Diego Remolina wrote: > >> The one thing that still remains a mystery to me is how to downgrade >> glusterfs packages in Ubuntu. I have never been able to do that. There >> was also a post from someone about it recently on the list and I do >> not think it got any replies. >> > > I would have assumed something like: > > > 1. stop volume(s) > > 2. if needed: reset gluster options not available is older version > > 3. if needed: downgrade op-version > > 4. stop all gluster daemons :) > > 5. sudo apt-get purge gluster* > > 6. sudo ppa-purge <gluster ppa> > > 7. Install older ppa. > > 8. install older gluster service > > 9. Start services > > 10. check peers and status > > 11. start volume > > 12. test > > > if 2) and 3) can't be done then I presume you can't downgrade. > > -- > Lindsay Mathieson > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160819/d2ca194a/attachment.html>
Diego Remolina
2016-Aug-19 12:59 UTC
[Gluster-users] [Gluster-devel] release-3.6 end of life
Let me correct what I meant in my previous post a little bit, I know that for different major versions, you need to change PPA: So for 3.7 deb http://ppa.launchpad.net/gluster/glusterfs-3.7/ubuntu trusty main deb-src http://ppa.launchpad.net/gluster/glusterfs-3.7/ubuntu trusty main For 3.6 deb http://ppa.launchpad.net/gluster/glusterfs-3.6/ubuntu trusty main deb-src http://ppa.launchpad.net/gluster/glusterfs-3.6/ubuntu trusty main So changing between major versions works, change repo, then install. My issue is trying to install a particular minor version, or after doing an update to the latest minor version change, i.e. 3.6.5 to 3.6.9, trying to go back to an older release, if there is a problem with the latest. How does one do that in Ubuntu? This shows 3.6.9 is available: https://launchpad.net/~gluster/+archive/ubuntu/glusterfs-3.6/+packages But nothing under 3.6.9 is there, or if it is how do I get those specific ones? Say I need to go back to 3.6.7, I can locate: https://launchpad.net/~gluster/+archive/ubuntu/glusterfs-3.6/+build/8350060 But no packages there. Diego On Fri, Aug 19, 2016 at 5:57 AM, Diego Remolina <dijuremo at gmail.com> wrote:> The issue is the PPA does not change and the moment a new version is > released (even minor versions), the old packages are lost forever. Even if > you go to the PPA itself, the binaries seem to be deleted there. > > apt-chache showpkg glusterfs only shows the latest version available, none > of the older ones are displayed so that you can then downgrade. > > I am not sure if there is another way of doing this, but I have never > managed to successfully find and install the older releases without manually > obtaining the .deb files if I can find them. > > Diego > > > On Aug 18, 2016 5:33 PM, "Lindsay Mathieson" <lindsay.mathieson at gmail.com> > wrote: >> >> On 19/08/2016 3:45 AM, Diego Remolina wrote: >>> >>> The one thing that still remains a mystery to me is how to downgrade >>> glusterfs packages in Ubuntu. I have never been able to do that. There >>> was also a post from someone about it recently on the list and I do >>> not think it got any replies. >> >> >> I would have assumed something like: >> >> >> 1. stop volume(s) >> >> 2. if needed: reset gluster options not available is older version >> >> 3. if needed: downgrade op-version >> >> 4. stop all gluster daemons :) >> >> 5. sudo apt-get purge gluster* >> >> 6. sudo ppa-purge <gluster ppa> >> >> 7. Install older ppa. >> >> 8. install older gluster service >> >> 9. Start services >> >> 10. check peers and status >> >> 11. start volume >> >> 12. test >> >> >> if 2) and 3) can't be done then I presume you can't downgrade. >> >> -- >> Lindsay Mathieson >> >