Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade Colima Version #877

Open
AnishMadan opened this issue Nov 16, 2023 · 5 comments
Open

Downgrade Colima Version #877

AnishMadan opened this issue Nov 16, 2023 · 5 comments

Comments

@AnishMadan
Copy link

AnishMadan commented Nov 16, 2023

Description

Colima 0.6.2 introduced breaking changes to my local setup (Apple Silicon >= 14, Sonoma). Still looking for the root issue.

In the meantime, how can I downgrade to 0.5.6?

brew install [email protected] does not work for me.

I've tried installing from the old formula but I get the following error when I run brew services start colima

Error: Formula colima has not implemented #plist, #service or installed a locatable service file

Any help would be appreciated

@rfay
Copy link
Contributor

rfay commented Nov 16, 2023

You can install colima 0.5.6 a few ways.

  1. To get rid of current colima, you could brew unlink colima or brew uninstall colima.

  2. sudo mkdir -p /usr/local/bin

  3. Download the binaries from https://github.com/abiosoft/colima/releases/tag/v0.5.6. For example, if you are on Apple Silicon, you could

sudo curl -L -o /usr/local/bin/colima https://github.com/abiosoft/colima/releases/download/v0.5.6/colima-Darwin-arm64 && sudo chmod +x /usr/local/bin/colima

On Intel, you could

sudo curl -L -o /usr/local/bin/colima https://github.com/abiosoft/colima/releases/download/v0.5.6/colima-Darwin-x86_64 && sudo chmod +x /usr/local/bin/colima

Note that if you did not colima delete before upgrading, then your old VM is probably there waiting for you in ~/.lima and may have your images, containers, and volumes in it.

@zkent
Copy link

zkent commented Nov 17, 2023

The first command worked for me, but I had to create the bin folder in /usr/local first.

@rfay
Copy link
Contributor

rfay commented Nov 17, 2023

Thanks @zkent - I edited to add the mkdir.

@egze
Copy link

egze commented Nov 18, 2023

Just wondering what would it take to previous major versions in brew, so that a command like brew install [email protected] would work?

@dannysoo-ez
Copy link

dannysoo-ez commented Aug 29, 2024

Yea, latest version of colima (0.7.5 as of writing) is not working on my M2 Ventura, its stuck in some waiting for ssh loop.

Eventually got it up and running by manually installed the older version for the following dependencies of Colima

Capstone - 4.0.2
Qemu - 8.0.4
Colima - 0.5.6

Steps

  1. brew uninstall the packages above if you have a newer version installed

  2. Got to homebrew-core git repo and search the commit history for the *.rb files that corresponds to the versions above. Download the .rb files
    https://github.com/Homebrew/homebrew-core

  3. Install using "brew install ./{dir of downloaded deps}/{package}.rf " in the following order 1) capstone 2) Qemu 3) Colima

After which you should be able to start Colima

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants