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

Issue with examples on linux #263

Closed
mikeaadd opened this issue Aug 17, 2023 · 5 comments
Closed

Issue with examples on linux #263

mikeaadd opened this issue Aug 17, 2023 · 5 comments

Comments

@mikeaadd
Copy link

mikeaadd commented Aug 17, 2023

Hi,

Just wanted to say I love what you guys have been doing here. I've been following this project for a little bit and have even used pixi for a small personal project. The workflow was marvelous :).

This week I decided to see if how it would work on linux. Trying the examples I run into the following error...

 ~/pixi/examples/turtlesim
21:06 $ pixi run start
  × The current system has a mismatching virtual package. The project requires '__linux' to be at least version '5.10' but the system has version '3.10.0'

I confirmed the linux version.

21:06 $ uname -r
3.10.0-1062.4.2.el7.x86_64

This still leaves me a little bit of a loss. I don't see any explicit mention of a minimum linux version in the lock/toml file. What is the recommended workflow to resolve this?

@ruben-arts
Copy link
Contributor

Thankyou, this is awesome to hear!

To fix the issue you need to add:

[system-requirements]
linux= "3.10"

The default is a lot higher. This is still up for a debate. Why are you using such a old Linux kernel?

@mikeaadd
Copy link
Author

I was testing on a on premise node that is available to me. The cluster is not managed by me or my team so I am unsure of the exact reasoning, but we could probably do a better job of keeping things up to date.

That worked though. Thank you!

@ruben-arts
Copy link
Contributor

Good that it worked. Note that it might not always work as packages can depend on higher version of linux.

Upvote this reaction to see how much people walk into this problem 👍

@jelber2
Copy link

jelber2 commented Mar 20, 2024

Maybe, you could add a help message to see this issue on github or to try

[system-requirements]
linux= "Your version of linux"  ex: "5.4.0"

@ruben-arts
Copy link
Contributor

@jelber2 we've noted this as an issue we still have to improve the workflow for. It is tracked in #815

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

3 participants