-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Fix Ubuntu Script for 20.04 #15241
Fix Ubuntu Script for 20.04 #15241
Conversation
Because this older version fails to install on Ubuntu 20.04 and makes the entire setup script fail.
This can lead to inconsistency with the installed package. E.g. also if the package is remove the upgraded pip stays but the symbolic links are gone.
to avoid downloading and installing ARM GCC again if the script is reran immediately after e.g. because it failed the first time.
That makes gazebo crash in VMWare 3D graphics accelration.
FWIW (since I can't merge) looks good to me. |
Looks good. I still want to get this into the containers to keep everything synced nicely. PX4/PX4-containers#267 |
This creates a warning for me: |
@julianoes In docker? With normal Ubuntu 20.04 desktop it's preinstalled. Maybe I need to add it for minimal/docker cases. |
On normal desktop distributions dmidecode is preinstalled and I was assuming it's part of the core tools. Thanks to a hint #15241 (comment) I found out it's not and am installing the package before using it.
@julianoes I added the package now before I forget: #15388 |
On normal desktop distributions dmidecode is preinstalled and I was assuming it's part of the core tools. Thanks to a hint #15241 (comment) I found out it's not and am installing the package before using it.
Describe problem solved by this pull request
I set up a new Ubuntu 20.04 VM and ran into a bunch of issues. I made some changes to the setup script to avoid all of them.
Describe your solution
The commit messages clearly describe the steps.
Test data / coverage
I retested the changes after resetting the VM to a snapshot just after installation.
Additional context
The additional python package requirement for matplotlib with an exact old version added in #15203 was the main reason the script failed on 20.04.