I was able to solve it. First I had to download all the packages on the link I mentionded Ubuntu Secure Proposed team
I did it using the following commands:
sudo wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/5935007/+files/openjdk-7-jre_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
sudo wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/5935007/+files/openjdk-7-jre-zero_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
sudo wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/5935007/+files/openjdk-7-jre-headless_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
sudo wget https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/5935007/+files/openjdk-7-jdk_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
Then I tried to install all of then manually on this order:
sudo dpkg -i openjdk-7-jre-zero_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
sudo dpkg -i openjdk-7-jre-headless_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
sudo dpkg -i openjdk-7-jre_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
sudo dpkg -i openjdk-7-jdk_7u55-2.4.7-1ubuntu1~0.12.04.2_amd64.deb
All of above commands will result in dependencies errors, I just ignore then all and run the following command:
sudo apt-get -f install
Everything got installed and it is working fine. It seems that the apt-get -f install
command try to solve previous dependencies errors by itself installing all needed dependencies (not sure though, as I'm not an specialist).
If someone think that this is not the right procedure, please let me know.
Version 1.58 of libboost-thread exists in Ubuntu 16.04. Install it by typing the following in a Terminal Window:
sudo apt install libboost-thread1.58.0
Best Answer
How to know the version of installed package?
The above command will shows installed package version and also all the available versions in the repository according to the version of Ubuntu in which you are running.It doesn't display the package version which was intended for another version of Ubuntu(not your's).
Example:
So the installed gparted version is
0.16.1-1
.How to install a specific package version?
Example: