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

SDFormat10 package not available on Ubuntu #655

Closed
varunagrawal opened this issue Aug 4, 2021 · 2 comments · Fixed by #679
Closed

SDFormat10 package not available on Ubuntu #655

varunagrawal opened this issue Aug 4, 2021 · 2 comments · Fixed by #679
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@varunagrawal
Copy link
Contributor

Environment

  • OS Version: 20.04
  • Binary build for SDFormat10.

Description

  • Expected behavior: As per the README, running apt-get install libsdformat10 should install the SDFormat package from Ubuntu's repositories.
  • Actual behavior: apt-get cannot find the package.

Steps to reproduce

  1. Take a fresh version of Ubuntu 20.04 (I used a docker image to verify this).
  2. Follow the README and run sudo apt-get -y install libsdformat10.
  3. See the failure.

Output

root@447c4bd99237:/# apt -y install sdformat10
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package sdformat10
@varunagrawal varunagrawal added the bug Something isn't working label Aug 4, 2021
@varunagrawal
Copy link
Contributor Author

My guess is that we need to run these extra commands before trying to install:

sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
sudo apt-get update

sudo apt-get -y install libsdformat10  # This should work now

If so, this should be added to the README.

@azeey
Copy link
Collaborator

azeey commented Aug 6, 2021

Yes, we currently only have libsdformat6 on Ubuntu 20.04, so if other versions are needed, it's necessary to add the packages.osrfoundation.org repo. Do you mind creating a PR with your suggestion?

@chapulina chapulina added the documentation Improvements or additions to documentation label Aug 9, 2021
@chapulina chapulina added the good first issue Good for newcomers label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants