how to fix the broken packages? I am trying to install GMT v5 on Ubuntu 16.04. When I run following command:
$ sudo apt-get install subversion libgdal1-dev E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I tried removing the locks using following commands
sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock
but it did not work fo rme.
I also used synaptic manager to download the required library but it asks me to fix the broken packages first.