gazebosim / sdformat

Simulation Description Format (SDFormat) parser and description files.
http://sdformat.org
Apache License 2.0
169 stars 98 forks source link

Cannot Install sdformat on Ubuntu 22.04 #1438

Closed logdog closed 5 months ago

logdog commented 5 months ago

Environment

Description

Steps to reproduce

Run the ubuntu binary install with <#> omitted

sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update

sudo apt install libsdformat-dev libsdformat

Output

$ wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
--2024-06-14 12:40:19--  http://packages.osrfoundation.org/gazebo.key
Resolving packages.osrfoundation.org (packages.osrfoundation.org)... 52.52.171.73
Connecting to packages.osrfoundation.org (packages.osrfoundation.org)|52.52.171.73|:80... connected.
HTTP request sent, awaiting response... Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
200 OK
Length: 1755 (1.7K) [application/octet-stream]
Saving to: ‘STDOUT’

-                         100%[==================================>]   1.71K  --.-KB/s    in 0s      

2024-06-14 12:40:19 (270 MB/s) - written to stdout [1755/1755]

OK

Then,

$ sudo apt install libsdformat-dev libsdformat
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libsdformat
azeey commented 5 months ago

You need to specify the version number you need. See http://sdformat.org/tutorials?tut=install&cat=developers&