openssl等库降级到系统原生安装镜像版本

在安装开发库时,看到curl glib2 libcurl openssl库被更新了,这不是我想要的。如下所示:

Verifying : curl-8.4.0-5.oe2403.x86_64 29/38

Verifying : curl-8.4.0-3.oe2403.x86_64 30/38

Verifying : glib2-2.78.3-2.oe2403.x86_64 31/38

Verifying : glib2-2.78.3-1.oe2403.x86_64 32/38

Verifying : libcurl-8.4.0-5.oe2403.x86_64 33/38

Verifying : libcurl-8.4.0-3.oe2403.x86_64 34/38

Verifying : openssl-1:3.0.12-6.oe2403.x86_64 35/38

Verifying : openssl-1:3.0.12-5.oe2403.x86_64 36/38

Verifying : openssl-libs-1:3.0.12-6.oe2403.x86_64 37/38

Verifying : openssl-libs-1:3.0.12-5.oe2403.x86_64 38/38

Upgraded:

curl-8.4.0-5.oe2403.x86_64 glib2-2.78.3-2.oe2403.x86_64

libcurl-8.4.0-5.oe2403.x86_64 openssl-1:3.0.12-6.oe2403.x86_64

openssl-libs-1:3.0.12-6.oe2403.x86_64

Installed:

e2fsprogs-devel-1.47.0-3.oe2403.x86_64 fuse-devel-2.9.9-11.oe2403.x86_64

glib2-devel-2.78.3-2.oe2403.x86_64 gpm-libs-1.20.7-27.oe2403.x86_64

gssproxy-0.9.2-2.oe2403.x86_64 keyutils-1.6.3-5.oe2403.x86_64

krb5-1.21.2-2.oe2403.x86_64 libattr-devel-2.5.1-4.oe2403.x86_64

libcurl-devel-8.4.0-5.oe2403.x86_64 libffi-devel-3.4.4-3.oe2403.x86_64

libselinux-devel-3.5-3.oe2403.x86_64 libsepol-devel-3.5-3.oe2403.x86_64

libxml2-devel-2.11.5-3.oe2403.x86_64 lrzsz-0.12.20-47.oe2403.x86_64

nfs-utils-2:2.6.3-1.oe2403.x86_64 nfs-utils-help-2:2.6.3-1.oe2403.x86_64

openssl-devel-1:3.0.12-6.oe2403.x86_64 pam-devel-1.5.3-4.oe2403.x86_64

pcre2-devel-10.42-7.oe2403.x86_64 quota-1:4.06-7.oe2403.x86_64

rpcbind-1.2.6-7.oe2403.x86_64 systemd-devel-255-17.oe2403.x86_64

systemd-pam-255-17.oe2403.x86_64 util-linux-devel-2.39.1-7.oe2403.x86_64

vim-common-2:9.0.2092-3.oe2403.x86_64 vim-enhanced-2:9.0.2092-3.oe2403.x86_64

xz-devel-5.4.4-2.oe2403.x86_64 zlib-devel-1.2.13-2.oe2403.x86_64

降级到原来的安装镜像提供的低版本。

首先挂载镜像盘

mkdir /mnt/dvd1 && mount /dev/sr0 /mnt/dvd1 && cd /mnt/dvd1

[root@openeuler2403 ~]# cd /mnt/dvd1/

[root@openeuler2403 dvd1]# find . -name curl*

./Packages/curl-8.4.0-3.oe2403.x86_64.rpm

./Packages/curl-help-8.4.0-3.oe2403.noarch.rpm

[root@openeuler2403 dvd1]# find . -name libcurl*

./Packages/libcurl-8.4.0-3.oe2403.x86_64.rpm

./Packages/libcurl-devel-8.4.0-3.oe2403.x86_64.rpm

[root@openeuler2403 dvd1]# find . -name glib2-*

./Packages/glib2-2.78.3-1.oe2403.x86_64.rpm

./Packages/glib2-devel-2.78.3-1.oe2403.x86_64.rpm

./Packages/glib2-help-2.78.3-1.oe2403.noarch.rpm

[root@openeuler2403 dvd1]# find . -name openssl-libs*

./Packages/openssl-libs-3.0.12-5.oe2403.x86_64.rpm

[root@openeuler2403 dvd1]# find . -name openssl-1*

[root@openeuler2403 dvd1]# find . -name openssl-*

./Packages/openssl-3.0.12-5.oe2403.x86_64.rpm

./Packages/openssl-devel-3.0.12-5.oe2403.x86_64.rpm

./Packages/openssl-help-3.0.12-5.oe2403.noarch.rpm

./Packages/openssl-libs-3.0.12-5.oe2403.x86_64.rpm

./Packages/openssl-pkcs11-0.4.12-2.oe2403.x86_64.rpm

[root@openeuler2403 dvd1]# rpm -Uvh ./Packages/openssl-3.0.12-5.oe2403.x86_64.rpm ./Packages/openssl-libs-3.0.12-5.oe2403.x86_64.rpm ./Packages/glib2-2.78.3-1.oe2403.x86_64.rpm ./Packages/glib2-devel-2.78.3-1.oe2403.x86_64.rpm ./Packages/libcurl-8.4.0-3.oe2403.x86_64.rpm ./Packages/libcurl-devel-8.4.0-3.oe2403.x86_64.rpm ./Packages/curl-8.4.0-3.oe2403.x86_64.rpm --oldpackage

warning: ./Packages/openssl-3.0.12-5.oe2403.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID b675600b: NOKEY

error: Failed dependencies:

openssl-libs(x86-64) = 1:3.0.12-6.oe2403 is needed by (installed) openssl-devel-1:3.0.12-6.oe2403.x86_64

[root@openeuler2403 dvd1]# rpm -Uvh ./Packages/openssl-3.0.12-5.oe2403.x86_64.rpm ./Packages/openssl-libs-3.0.12-5.oe2403.x86_64.rpm ./Packages/glib2-2.78.3-1.oe2403.x86_64.rpm ./Packages/glib2-devel-2.78.3-1.oe2403.x86_64.rpm ./Packages/libcurl-8.4.0-3.oe2403.x86_64.rpm ./Packages/libcurl-devel-8.4.0-3.oe2403.x86_64.rpm ./Packages/curl-8.4.0-3.oe2403.x86_64.rpm ./Packages/openssl-devel-3.0.12-5.oe2403.x86_64.rpm --oldpackage

warning: ./Packages/openssl-3.0.12-5.oe2403.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID b675600b: NOKEY

Verifying... ################################# [100%]

Preparing... ################################# [100%]

Updating / installing...

1:openssl-libs-1:3.0.12-5.oe2403 ################################# [ 6%]

2:libcurl-8.4.0-3.oe2403 ################################# [ 13%]

3:glib2-2.78.3-1.oe2403 ################################# [ 19%]

4:glib2-devel-2.78.3-1.oe2403 ################################# [ 25%]

5:libcurl-devel-8.4.0-3.oe2403 ################################# [ 31%]

6:curl-8.4.0-3.oe2403 ################################# [ 38%]

7:openssl-1:3.0.12-5.oe2403 ################################# [ 44%]

8:openssl-devel-1:3.0.12-5.oe2403 ################################# [ 50%]

Cleaning up / removing...

9:openssl-1:3.0.12-6.oe2403 ################################# [ 56%]

10:curl-8.4.0-5.oe2403 ################################# [ 63%]

11:glib2-devel-2.78.3-2.oe2403 ################################# [ 69%]

12:openssl-devel-1:3.0.12-6.oe2403 ################################# [ 75%]

13:libcurl-devel-8.4.0-5.oe2403 ################################# [ 81%]

14:libcurl-8.4.0-5.oe2403 ################################# [ 88%]

15:openssl-libs-1:3.0.12-6.oe2403 ################################# [ 94%]

16:glib2-2.78.3-2.oe2403 ################################# [100%]

以上的核心命令是:

rpm -Uvh ./Packages/openssl-3.0.12-5.oe2403.x86_64.rpm ./Packages/openssl-libs-3.0.12-5.oe2403.x86_64.rpm ./Packages/glib2-2.78.3-1.oe2403.x86_64.rpm ./Packages/glib2-devel-2.78.3-1.oe2403.x86_64.rpm ./Packages/libcurl-8.4.0-3.oe2403.x86_64.rpm ./Packages/libcurl-devel-8.4.0-3.oe2403.x86_64.rpm ./Packages/curl-8.4.0-3.oe2403.x86_64.rpm ./Packages/openssl-devel-3.0.12-5.oe2403.x86_64.rpm --oldpackage

相关推荐
中云DDoS CC防护蔡蔡1 小时前
微信小程序被攻击怎么选择高防产品
服务器·网络安全·微信小程序·小程序·ddos
HPC_fac130520678162 小时前
以科学计算为切入点:剖析英伟达服务器过热难题
服务器·人工智能·深度学习·机器学习·计算机视觉·数据挖掘·gpu算力
yaoxin5211233 小时前
第二十七章 TCP 客户端 服务器通信 - 连接管理
服务器·网络·tcp/ip
内核程序员kevin3 小时前
TCP Listen 队列详解与优化指南
linux·网络·tcp/ip
sinat_384241097 小时前
使用 npm 安装 Electron 作为开发依赖
服务器
朝九晚五ฺ7 小时前
【Linux探索学习】第十四弹——进程优先级:深入理解操作系统中的进程优先级
linux·运维·学习
自由的dream7 小时前
Linux的桌面
linux
xiaozhiwise8 小时前
Makefile 之 自动化变量
linux
Kkooe8 小时前
GitLab|数据迁移
运维·服务器·git