1

I am trying to install ros-desktop on Ubuntu16.04, ARM. However, my plan is to first download the .deb packages recursively using apt-get download and apt-rdepends as shown here and later install using dpkg ignoring some of the dependencies I don't want. (apt-get install won't let me ignore these dependencies, so I resorted to this method). But I encounter errors while downloading the package

E: Can't select candidate version from package xxx as it has no candidate

and many more such lines. Can you please suggest a work around for this.

Important Note: If the suggestion is apt-get update, I cannot perform it as some of the updated packages are not compatible and will crash my installed drivers. Besides this, is there a way I can successfully download and install manually?

FYI: the dependencies I am ignoring are mesa because I already have own libraries for implementation of opengl and I don't want these additional mesa packages to interfere. Thanks in advance.

  • Did you try excluding the package by using |grep -v "xxx", like in the second answer to the linked question? – Jos Mar 28 '17 at 9:47
  • I did check that but since I have too many packages throwing that error, I was wondering if there was a simpler way without manually adding each of them. I'll probably have to do it manually then. Also, would excluding like this throw any errors while installing? or the installation will try and fetch them? – samhitha Mar 28 '17 at 9:59
  • 1
    In that case, I'm beginning to think that it might be easier to modify the ros-desktop.deb file and remove the dependencies. Find a script file called videbcontrol on the internet, execute it and remove the unwanted packages from the "Depends:" line. Save the .deb file, and install it with dpkg. – Jos Mar 28 '17 at 10:15
  • Hi again. I manually added the packages to |grep -v "xxx"as you suggested and now it throws the error Handler silently failed. Any ideas? – samhitha Mar 30 '17 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.