Ask Your Question
3

Cannot install kinetic (unmet dependencies)

asked 2016-10-04 10:39:11 -0500

aerydna gravatar image

updated 2016-10-04 11:18:10 -0500

gvdhoorn gravatar image

Hi, I have an installation problem. By running "sudo apt-get install ros-kinetic-desktop" on a Ubuntu 16.04.1 LTS (Xenial) i have the following output

Reading package lists... Done

Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

ros-kinetic-desktop : 

Depends: ros-kinetic-common-tutorials but it is not going to be installed

   Depends: ros-kinetic-geometry-tutorials but it is not going to be installed
   Depends: ros-kinetic-robot but it is not going to be installed
   Depends: ros-kinetic-ros-tutorials but it is not going to be installed
   Depends: ros-kinetic-urdf-tutorial but it is not going to be installed
   Depends: ros-kinetic-visualization-tutorials but it is not going to be installed
   Depends: ros-kinetic-viz but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

what can i do? thanks in advance

edit retag flag offensive close merge delete

Comments

same problem here. Did you manage to solve it?

Davide Faconti gravatar image Davide Faconti  ( 2016-10-20 03:48:25 -0500 )edit

4 Answers

Sort by » oldest newest most voted
0

answered 2017-07-05 15:57:24 -0500

tekin gravatar image

I had a similar problem and I managed to solve it by correctly installing restricted, universe, and multiverse repositories as it is described in link.

My problem was that the packages seemed to be installed however, they were not able to find some of their packages. I solved that problem by changing the Download From to Main Server in Ubuntu's software and update.

I also explained my solution here: link

edit flag offensive delete link more
3

answered 2018-03-09 11:00:49 -0500

vikas gravatar image

Add following package sources to /etc/apt/sources.list.

deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse

deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse

deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse

Now, follow these steps from 1.2 in this link

edit flag offensive delete link more

Comments

this worked for me!

ruderik gravatar image ruderik  ( 2018-03-15 12:18:17 -0500 )edit

after this, I did sudo apt-get update, then run sudo apt-get install ros-kinetic-desktop, and it worked

Fan gravatar image Fan  ( 2019-10-30 11:45:19 -0500 )edit
1

answered 2017-12-01 07:44:57 -0500

iamfucked gravatar image

Hi, guys, I've solved the same problem by adding deb http://cz.archive.ubuntu.com/ubuntu xenial main universe to the file /etc/apt/sources.list, and run the command sudo apt-get update, then install the kinetic by run sudo apt-get install ros-kinetic-desktop-full , everything went smoothly. You guys can visit the link https://packages.ubuntu.com/xenial/al... for more detail. Davide Faconti is right, the problem is the lack of python-qt-binding in the system or something goes with the packages.

edit flag offensive delete link more

Comments

Nope, this did not work for me.

Jägermeister gravatar image Jägermeister  ( 2018-10-10 08:39:51 -0500 )edit

This worked for me like a charm. I added the stuff into sources.list and thanks for reminding me that I need to run sudo apt-get update for it to take effect!

jleng gravatar image jleng  ( 2020-10-22 17:36:40 -0500 )edit
1

answered 2016-10-20 04:46:07 -0500

Davide Faconti gravatar image

I had a similar (probably the same) problem. To check if you problem is similar to mine, try installing this package:

sudo apt-get install ros-kinetic-python-qt-binding

If apt-get complains about unmet dependency __libpyside2-dev__, than it is actually the same problem.

The solution for me was to remove a bunch of packages and install them again:

libpyside2-dev, libshiboken2-dev, pyqt5-dev, python-pyqt5, python-pyqt5.qtsvg, python-pyside2, python-sip-dev, shiboken2, qtbase5-dev, qt5-qmake and __all the packages starting with libqt5__.

In short, the problem was probably related to a newer version of qt5 being installed on my system. I hope this helps.

edit flag offensive delete link more

Comments

how to remove and reinstall those packages? Please explain in detail

sindhu gravatar image sindhu  ( 2016-11-08 01:45:33 -0500 )edit

I verified the unmet dependency, and this solution still did not't help me.

jdmartin86 gravatar image jdmartin86  ( 2016-12-19 09:40:12 -0500 )edit

Thanks this was the solution for me! qt5 was breaking ros installation

merosss gravatar image merosss  ( 2018-07-11 05:07:00 -0500 )edit

I installed that qt binding but I still cannot install the full desktop ros.

Jägermeister gravatar image Jägermeister  ( 2018-10-10 08:38:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-10-04 10:39:11 -0500

Seen: 9,927 times

Last updated: Jul 05 '17