Jor*_*des 3 upgrade apt ubuntu-20.04
我已从 Ubuntu 18.04.1 升级到 Ubuntu 20.04.1(强制发布升级),然后在安装php.7-4时还需要 install libssl-dev,这提供了以下未满足的依赖项:
sudo apt install libssl-dev
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1f-1ubuntu2) but 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1 is to be installed
Run Code Online (Sandbox Code Playgroud)
我已禁用存储库:ondrej和certbot. 其余的存储库是焦点窝的默认值 (20.04.1)
清理存储库,例如 ( apt update --fix-missing)
但还是有同样的问题。
问题在于需要降级的 libssl1.1 (= 1.1.1f-1ubuntu2) 的字母版本。这样做很简单,synaptic而不是apt install如下:
sudo aptitude install libssl-dev
he following NEW packages will be installed:
libssl-dev{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1.582 kB of archives. After unpacking 8.005 kB will be used.
The following packages have unmet dependencies:
libssl-dev : Depends: libssl1.1 (= 1.1.1f-1ubuntu2) but 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1 is installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libssl-dev [Not Installed]
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Downgrade the following packages:
1) libssl1.1 [1.1.1g-1+ubuntu18.04.1+deb.sury.org+1 (now) -> 1.1.1f-1ubuntu2 (focal)]
Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
libssl1.1
The following NEW packages will be installed:
libssl-dev
0 packages upgraded, 1 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 2.900 kB of archives. After unpacking 8.087 kB will be used.
Do you want to continue? [Y/n/?] Y
Run Code Online (Sandbox Code Playgroud)
基本上不接受建议的解决方案并进行a包降级
| 归档时间: |
|
| 查看次数: |
7654 次 |
| 最近记录: |