How do I roll back to a previous version of mycroft-core on a mark1?

I’m on version 0.9.12 and would like to go back to 0.9.11.

Hi @apmihal,

Thanks for asking this question - we don’t have a ‘standard’ or documented way of doing this, but I’ve conferred with my very experienced colleague @forslund, and we have a suggestion to try. Our apt repo does not store previous versions, but the Mark **does** cacheapt` packages at

/var/cache/apt/archives

So, what we need to do is:

  • remove the 0.9.12 package
  • manually install the archived package using dpkg

First, we remove the 0.9.12 package:

sudo apt-get remove mycroft-core=0.9.12

Next, find the package in the archives that you want to install:

pi@mark_1:~ $ ls -las /var/cache/apt/archives/ | grep mycroft-core

Then, use dpkg to install the archive

sudo dpkg -i /path/to/file

Could you please try this and let us know how you go? If so I will document this in our documentation as our ‘official’ way to downgrade.

Kind regards,
Kathy

Seems to work as intended! When I check the version with apt list --installed |grep mycroft-core It shows the version I intended to downgrade to. Thank you!

2 Likes

Thanks @apmihal for confirming it worked! I’ll write up some documentation and add it to our docs.

Kind regards,
Kathy

This is now up on our documentation;

1 Like

Awesome. Great work Kathy and Forslund.

1 Like