我尝試在lubuntu 20.04.1上安裝libssl 0.9.8。
我發現無法使用apt安裝它,因此我下載了
.deb
来自ubuntu Trusty(14.04)啟動板档案的軟體包。
我尝試以這種方式安裝它:
[email protected]:~/Downloads$ sudo dpkg -i libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb
它给了我以下錯誤:
(Reading database ... 268220 files and directories currently installed.)
Preparing to unpack libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb ...
Unpacking libssl0.9.8:amd64 (0.9.8o-7ubuntu3.2.14.04.1) ...
dpkg: error processing archive libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb (--install):
unable to open '/lib/x86_64-linux-gnu/libcrypto.so.0.9.8.dpkg-new': No such file or directory
Errors were encountered while processing:
libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb
我試圖使這樣的檔案成為這樣的目錄並删除它,但是没有任何改變。 您知道使用apt安裝它的方法吗? 還有其他解決方法吗?
我使用的是正確的體系結構(在64位VM上為64位,在64位windows 10上使用VMware工作站播放器)。
最新回復
- 5月前1 #
- 5月前2 #
包来源可在此處获得。 可以使用以下語法下載和編譯軟體包源:
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/openssl098/0.9.8o-7ubuntu3.2.14.04.1/openssl098_0.9.8o.orig.tar.gz tar -xvzf openssl098_0.9.8o.orig.tar.gz cd ./openssl-0.9.8o/ ./config make make test sudo make install_sw
On the last line, the "install_sw" (instead of just "install") is a walkaround to avoid an error related to man pages. There is another way to deal with the problem; see here.
相似問題
- apt:安裝軟體包python3-venv後2004,pyvenv無法執行(指向錯誤的鏈接)aptpackagemanagementubuntu20.042021-01-04 06:26
- ubuntu18.04:libexpat1-dev和libgtk20-dev(未找到軟體包'gtk + -20')ubuntu18.04aptpackagemanagementubuntu20.04gtk2021-01-02 14:28
- command line:意外地做了" rm清除"commandlineaptbashpackagemanagementubuntu20.042021-01-02 03:24
- apt:如何恢複被破壞的包裹?aptpackagemanagementubuntu20.04dpkg2020-12-28 08:56
- package management:apt-get -f安裝安全吗?aptpackagemanagementubuntu20.04virtualbox2020-12-26 14:53
- package management:sudo apt-get更新錯誤,需要帮助aptpackagemanagementubuntu20.04updatesppa2020-12-24 01:53
我在另一个軟體包上遇到了類似的問题, 設法使用以下順序解決。 首先,錯誤:
在調查時,我發現
/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64/man
檔案夹中有些奇怪的东西 :檔案夹
ja
(這似乎是dpkg
的起源 錯誤)實際上是指向檔案夹ja_JP.UTF-8
的符號鏈接我通過删除符號鏈接並將其重新建立為真實檔案夹(還重新建立了其子檔案夹
man1
)解決了我的問题 ):然後我重新安裝了
adoptopenjdk-11-hotspot_11.0.6+10-2
包,並且執行順利。