Ubuntu 22.04.1 LTS jammy iperf3 Installation problem

·

2 min read

root@machine ~/archive/iperf3-install # ls
iperf3_3.9-1_amd64.deb  libiperf0_3.9-1_amd64.deb  libsctp1_1.0.18+dfsg-1_amd64.deb
root@machine ~/archive/iperf3-install # sudo dpkg -i *.deb
Selecting previously unselected package iperf3.
(Reading database ... 23018 files and directories currently installed.)
Preparing to unpack iperf3_3.9-1_amd64.deb ...
Unpacking iperf3 (3.9-1) ...
Selecting previously unselected package libiperf0:amd64.
Preparing to unpack libiperf0_3.9-1_amd64.deb ...
Unpacking libiperf0:amd64 (3.9-1) ...
dpkg: warning: downgrading libsctp1:amd64 from 1.0.19+dfsg-1build1 to 1.0.18+dfsg-1
Preparing to unpack libsctp1_1.0.18+dfsg-1_amd64.deb ...
dpkg: error processing package libiperf0:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libsctp1:amd64 (1.0.18+dfsg-1) ...
dpkg: dependency problems prevent configuration of iperf3:
 iperf3 depends on libiperf0 (>= 3.1.3); however:
  Package libiperf0:amd64 is not configured yet.

dpkg: error processing package iperf3 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
 libiperf0:amd64
 iperf3

root@machine ~/archive/iperf3-install # sudo dpkg -i libiperf0_3.9-1_amd64.deb
Selecting previously unselected package libiperf0:amd64.
(Reading database ... 23018 files and directories currently installed.)
Preparing to unpack libiperf0_3.9-1_amd64.deb ...
Unpacking libiperf0:amd64 (3.9-1) ...
dpkg: dependency problems prevent configuration of libiperf0:amd64:
 libiperf0:amd64 depends on libssl1.1 (>= 1.1.0); however:
  Package libssl1.1 is not installed.

dpkg: error processing package libiperf0:amd64 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
 libiperf0:amd64

在 Ubuntu 22.04.1 LTS jammy 操作系统上安装新版的 iperf3 时遇到以上问题。

Ubuntu 22.04 升级到了 OpenSSL 3.0,手动安装 openssl 1.1 ([1]):

# wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
# sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb

引用

  • "Ubuntu 22.04 Installation problem - ⚙️Product support - Qoitech Forum," Forum, Jul. 7, 2022. forum.qoitech.com/t/ubuntu-22-04-installati..访问时间 Oct. 23, 2022).
  • "upgrade - How do I use OpenSSL 1.1.1 in Ubuntu 22.04? - Ask Ubuntu," .