Gazebo | Ignition | Community
Ask Your Question

Dependency issue while installing gazebo packages

asked 2022-11-19 09:08:58 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


I am trying to install gazebo to Ubuntu 20.04 as part of pixhawk4 development setup. I ran the script provided in the standard installation procedure. I get the following error and my installation stops due to dependencies issue of libignition-transport8-dev library. Can anyone help me how to resolve this issue.

Error on terminal

Preparing to unpack .../205-libignition-transport8-log-dev_8.4.0-2~focal_amd64.deb ... Unpacking libignition-transport8-log-dev:amd64 (8.4.0-2~focal)

8dpkg: error processing archive /tmp/apt-dpkg-install-p3JQ9B/205-libignition-transport8-log-dev_8.4.0-2~focal_amd64.deb (--unpack): trying to >overwrite '/usr/include/ignition/transport8/gz/transport/log.hh', which is also in package libignition-transport8-core-dev:amd64 8.4.0-2~focal**

Selecting previously unselected package libgazebo11-dev:amd64. Preparing to unpack .../208-libgazebo11-dev_11.12.0-1~focal_amd64.deb ... Unpacking libgazebo11-dev:amd64 (11.12.0-1~focal) ...

Errors were encountered while processing: /tmp/apt-dpkg-install-p3JQ9B/205-libignition-transport8-log-dev_8.4.0-2~focal_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)


edit retag flag offensive close merge delete


I am seeing the same issue since the 8.4.0 release a couple of days ago. Identical error:

dpkg: error processing archive /tmp/apt-dpkg-install-G02N6D/349-libignition-transport8-log-dev_8.4.0-2~focal_amd64.deb (--unpack):   
trying to overwrite '/usr/include/ignition/transport8/gz/transport/log.hh', which is also in package libignition-transport8-core-dev:amd64 8.4.0-2~focal
chuckclaunch gravatar imagechuckclaunch ( 2022-11-19 21:45:00 -0600 )edit

Could it be a bug? Do we need to report it somewhere else?

eigenS gravatar imageeigenS ( 2022-11-19 23:12:27 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-11-20 10:00:44 -0600

Looks like someone reported as a bug:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



Asked: 2022-11-19 09:08:58 -0600

Seen: 49 times

Last updated: Nov 19