System Management->Update Manager->Settings" option, then select the check box in Ubuntu Update from the software source dialog box, and finally Just execute the "sudo apt-get update" command."/> System Management->Update Manager->Settings" option, then select the check box in Ubuntu Update from the software source dialog box, and finally Just execute the "sudo apt-get update" command.">

Home >Operation and Maintenance >Linux Operation and Maintenance >Linux cannot be installed due to dependency library version issues

Linux cannot be installed due to dependency library version issues

王林
王林Original
2019-11-22 10:14:415004browse

Linux cannot be installed due to dependency library version issues

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn