Ubuntu 14.04. Хранилища: юниверс, основной.
. Выполнено обновление apt-get.
. Выполнено. Политика apt-cache. Libssl1.0.0
ddew@ddew-wsl:~$ apt-cache policy libssl1.0.0
libssl1.0.0:
Installed: 1.0.1f-1ubuntu2.11
Candidate: 1.0.1f-1ubuntu2.11
Version table:
*** 1.0.1f-1ubuntu2.11 0
100 /var/lib/dpkg/status
1.0.1f-1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
. версия, объявленная в качестве кандидата, не совпадает с той, которая доступна из main, и что версия, доступная из main, старше, чем версия, которая уже установлена.
Попытка установить libssl-dev
ddew@ddew-wsl:~$ sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.0.0 (= 1.0.1f-1ubuntu2) but 1.0.1f-1ubuntu2.11 is to be installed
Recommends: libssl-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Из любопытства запустила политику apt-cache libssl-dev
ddew@ddew-wsl:~$ apt-cache policy libssl-dev
libssl-dev:
Installed: (none)
Candidate: 1.0.1f-1ubuntu2
Version table:
1.0.1f-1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
Это работало на меня:
Не могущий установить libssl1.0.0:i386 из-за " невстреченный dependencies"?
sudo apt-get install libssl1.0.0/trusty libssl-dev/trusty openssl/trusty
Та же проблема на Ubuntu 16.04
$ apt-cache policy libssl1.0.0
libssl1.0.0:
Installed: 1.0.2g-1ubuntu4.5
Candidate: 1.0.2g-1ubuntu4.5
Version table:
*** 1.0.2g-1ubuntu4.5 100
100 /var/lib/dpkg/status
1.0.2g-1ubuntu4.1 500
500 http://mirror.uoregon.edu/ubuntu xenial-updates/main amd64 Packages
500 http://mirror.uoregon.edu/ubuntu xenial-security/main amd64 Packages
1.0.2g-1ubuntu4 500
500 http://mirror.uoregon.edu/ubuntu xenial/main amd64 Packages
$ apt-cache policy libssl-dev
libssl-dev:
Installed: (none)
Candidate: 1.0.2g-1ubuntu4.1
Version table:
1.0.2g-1ubuntu4.1 500
500 http://mirror.uoregon.edu/ubuntu xenial-updates/main amd64 Packages
500 http://mirror.uoregon.edu/ubuntu xenial-security/main amd64 Packages
1.0.2g-1ubuntu4 500
500 http://mirror.uoregon.edu/ubuntu xenial/main amd64 Packages
, Таким образом, я зафиксировал его с
sudo apt-get install libssl1.0.0=1.0.2g-1ubuntu4.1
Обновите ответ от @BHS для Ubuntu 18.04 в декабре 2018
, я получил ошибку
libcurl4-openssl-dev : Conflicts: libssl1.0-dev but 1.0.2n-1ubuntu5.1 is to be installed
Затем, это зафиксировало с
sudo apt-get install libssl1.0.0=1.0.2n-1ubuntu5.1
Это сделает:
sudo apt install libssl1.0-dev