Version Downgrade

edited December 2017 in OS setup and Linux
Sometimes after update something is not working for you and you'd like to go back to previous version. Though it can't be done via web panel but you can do it manually either from SSH shell or "Linux Command Execute" on the web.

Go to the following address and you'll see the list of available versions
http://download.hiveos.farm/repo/binary/

OK, you found the version you want, let's say package "hive_0.5-07_all.deb" What you want is to see the version, it is "0.5-07" in this example.

The following command will install selected version version.
apt-get install -y --allow-downgrades hive=0.5-07

NOTE: Version downgrade may lead to some bug as setup scripts are not intended for this. But if you don't rollback between major versions, like from 0.5 to 0.4. then it will work for 99%.

If the above command relies that there is not such version try to do the following
apt-get update -o Dir::Etc::sourcelist="sources.list.d/hiverepo.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"

---

If for some reason above method does not work then there is another option to download the package itself and install manually from file.

Something like this
cd /tmp
wget http://download.hiveos.farm/repo/binary/hive_0.5-07_all.deb
dpkg -i hive_0.5-07_all.deb

Comments

  • Thanks for this. I upgraded to 0.5-29 but claymore 11 wouldn't work on my setup so a quick downgrade back to 26 solved it.
Sign In or Register to comment.