How to solve package issues/dependencies

Posted by Wolfgang Kuehne on Ask Ubuntu See other posts from Ask Ubuntu or by Wolfgang Kuehne
Published on 2014-08-22T21:36:08Z Indexed on 2014/08/22 22:34 UTC
Read the original article Hit count: 511

Background info

I am trying to install Veins simulation environment by following the tutorial provided by the author.

In step 1 it is required to install some packages in Linux, the tutorial suggest this commands to be executed on Terminal:

sudo apt-get install build-essential gcc g++ bison flex perl tcl-dev tk-dev blt libxml2-dev zlib1g-dev default-jre doxygen graphviz libwebkitgtk-1.0-0 openmpi-bin libopenmpi-dev libpcap-dev autoconf automake libtool libxerces-c2-dev proj libgdal1-dev libfox-1.6-dev

When I execute this command, I immediately get:

E: Package 'proj' has no installation candidate

Then I remove the proj from the command and execute it again without proj in it, next I get:

The following packages have unmet dependencies:
 libgdal1-dev : Depends: libgdal-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

So, I remove libgdal1-dev from the command as well. And it executes file, by downloading the remaining packages.

To troubleshoot the problem with proj and libdgal1-dev I go to the Synaptic Package Manager.

libgdal1-dev

I search for libgdal1-dev in Synaptic Package Manager and I get an entry. I Mark for Installation and then Synaptic Package Manager suggests removing libxerces-c2-dev which is actually added via the initial command. Should I trust Synaptic Package Manager with this suggestion, and proceed further?

enter image description here

proj

What should I do about proj. There are some packages in Synaptic Package Manager such as proj-bin or libproj-dev. Should I install them? I think proj has to do with this and this

What should I do to make sure that this simulation tool works fine?

© Ask Ubuntu or respective owner

Related posts about 14.04

Related posts about packages