There are two solutions to installation failures caused by dependency library version issues:
1. The source needs to be updated, as follows:
libssl-dev: Dependency: libssl0.9.8 (= 0.9.8o-1ubuntu4) But 0.9.8o-1ubuntu4.4 is about to be installed
Solution:
Enter "System->System Management->Update Manager->Settings", select the "Update" tab in the pop-up "Software Source" dialog box, select the four check boxes under "Ubuntu Update", and close Then execute the following command in the terminal:
sudo apt-get update
2. Use aptitude package manager to solve this dependency problem. With aptitude, you can choose the appropriate version and matching software to install
libssl-dev version problem cannot be installed: Depends: libssl1.0.0 (= 1.0.1t-1 deb7u2) but 1.0.1t-1 deb8u6 is to be installed
Solution:
Linux version dependency problem is very confusing, but we can solve this dependency problem by using aptitude package manager. aptitude can select the appropriate version and matching software to install.
First install the aptitude tool
sudo apt-get install aptitude
Then use aptitude to install libssl-dev, as follows:
sudo aptitude install libssl-dev
Recommended tutorial: linux tutorial
The above is the detailed content of Linux cannot be installed due to dependency library version issues. For more information, please follow other related articles on the PHP Chinese website!