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

相关推荐
gywl23 分钟前
openEuler VM虚拟机操作(期末考试)
linux·服务器·网络·windows·http·centos
了一li1 小时前
Qt中的QProcess与Boost.Interprocess:实现多进程编程
服务器·数据库·qt
日记跟新中2 小时前
Ubuntu20.04 修改root密码
linux·运维·服务器
唐小旭2 小时前
服务器建立-错误:pyenv环境建立后python版本不对
运维·服务器·python
码农君莫笑2 小时前
信管通低代码信息管理系统应用平台
linux·数据库·windows·低代码·c#·.net·visual studio
明 庭2 小时前
Ubuntu下通过Docker部署NGINX服务器
服务器·ubuntu·docker
BUG 4042 小时前
Linux——Shell
linux·运维·服务器
007php0072 小时前
Go语言zero项目部署后启动失败问题分析与解决
java·服务器·网络·python·golang·php·ai编程
yang_shengy2 小时前
【JavaEE】网络(6)
服务器·网络·http·https