Joh*_*254 10 upgrade package-management apt dependencies 20.04
我已经从 Ubuntu 18.04 升级到 20.04。一个应用程序不再运行并出现以下错误:
error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我已经搜索了这个论坛并遵循了建议并尝试了:sudo apt-get install libssl1.0.0:amd64。
我得到:
Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl1.0.0' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我也试过sudo apt install libssl1.1,我得到:
libssl1.1 is already the newest version (1.1.1f-1ubuntu2).
libssl1.1 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openmpi-bin : Depends: libopenmpi3 (>= 4.0.3) but it is not going to be installed
Recommends: libopenmpi-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
然后我尝试了sudo apt --fix-broken install libssl1.1,但我得到:
libssl1.1 is already the newest version (1.1.1f-1ubuntu2).
libssl1.1 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
openmpi-bin : Depends: libopenmpi3 (>= 4.0.3) but it is not going to be installed
Recommends: libopenmpi-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
我也试过'E:无法找到包libssl1.0',我得到:
E: Unable to locate package libssl1.0
Run Code Online (Sandbox Code Playgroud)
最后我试过:
sudo apt install --fix-broken
sudo apt-get update
sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)
但是,我仍然遇到相同的错误。在我降级到 Ubuntu 18.04 之前有什么想法吗?
小智 22
我遇到了我认为的相同问题(在将 Ubuntu 从 18.04 升级到 20.04 后尝试启动 RStudio 时,我遇到了相同的错误消息)。以下是阅读以下页面后对我有用的内容:https : //packages.ubuntu.com/xenial/amd64/libssl1.0.0/download
sudo nano /etc/apt/sources.list以添加以下行:
deb http://security.ubuntu.com/ubuntu xenial-security mainsudo apt update和sudo apt install libssl1.0.0。我希望 t 也适合你。
小智 14
我用 libssl1.0.0 解决了我的问题,如下所示:
我在浏览器中打开http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/并为我的系统下载最新版本的libssl1.0.0(对我来说它是libssl1.0.0_1.0.2n -1ubuntu5.6_amd64.deb)然后我就安装它:
sudo gdebi ./libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
Run Code Online (Sandbox Code Playgroud)
我也有这个问题。RStudio 依赖于 libssl 1.0.0,而 Ubuntu 20.04 则分发较新的 libssl 1.1.0。
以下是手动下载并安装旧版本的方法:
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.6_amd64.deb
sudo dpkg -i *.deb
Run Code Online (Sandbox Code Playgroud)
希望 RStudio 在某个时候能够升级以与新版本的 libssl 一起使用。
| 归档时间: |
|
| 查看次数: |
34041 次 |
| 最近记录: |