Gazebo | Ignition | Community
Ask Your Question
1

Problem when installing ros-indigo-gazebo4-ros-pkgs

asked 2014-09-16 16:43:04 -0600

Hi, I am following the tutorial in: link text but I receive this error while installing the deb packages:

dpkg: error processing archive /var/cache/apt/archives/gazebo4_4.0.0-2~trusty_amd64.deb (--unpack):
trying to overwrite '/usr/share/icons/hicolor/scalable/apps/gazebo.svg', which is also in package gazebo3 3.1.0-1~trusty

I have the "default" gazebo version that came with ros indigo installed in my machine. Thank you for your help.

Enrico

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2014-09-16 19:43:23 -0600

scpeters gravatar image

It looks like you also have a gazebo3 package installed that is conflicting with gazebo4.

That looks like a mistake in our debian metadata. I've created an issue about it.

In the meantime, can you try manually uninstalling gazebo3?

sudo apt-get update
sudo apt-get remove gazebo3
sudo apt-get install ros-indigo-gazebo4-ros-pkgs

There might need to be some sudo apt-get install -f commands in there too. Sorry about that.

edit flag offensive delete link more

Comments

When apt-get turns picky, I use dpkg -r (which won't perform any check) and apt-get install -f after it.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-09-17 11:42:12 -0600 )edit
0

answered 2014-09-17 08:21:39 -0600

When I try to remove gazebo 3 I got the following error:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:

gazebo3-plugin-base : Depends: gazebo3 (= 3.1.0-1~trusty)
gazebo4-plugin-base : Depends: gazebo4 (= 4.0.0-2~trusty)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
edit flag offensive delete link more

Comments

These can be tricky to resolve. I usually just try to remove packages that it complains about and mix in some sudo apt-get -f install commands to see if that helps. Sorry for the trouble. Jose is working to release a fixed package.

scpeters gravatar imagescpeters ( 2014-09-17 11:41:40 -0600 )edit
0

answered 2014-09-18 10:07:23 -0600

With this release:

link text

I was able to install everything. Thank you!

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-09-16 16:43:04 -0600

Seen: 1,183 times

Last updated: Sep 18 '14