From 41558e73b4de01a51745f8ffe332c21f02ca1d49 Mon Sep 17 00:00:00 2001 From: hellozrh <455741807@qq.com> Date: Thu, 17 Aug 2023 16:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A6=BB=E7=BA=BFrpm?= =?UTF-8?q?=E5=8C=85=E5=AE=89=E8=A3=85=E6=96=B9=E5=BC=8F=EF=BC=8C=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E5=90=84=E4=B8=AArpm=E5=8C=85=E5=85=88=E5=90=8E?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E5=AE=89=E8=A3=85=E9=A1=BA=E5=BA=8F=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E5=AF=BC=E8=87=B4=E5=AE=89=E8=A3=85=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复离线rpm包安装方式,解决各个rpm包先后依赖安装顺序不一致导致安装失败的问题。 --- install/offline.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/offline.md b/install/offline.md index 5ab9fc5bf..4e285c6ed 100644 --- a/install/offline.md +++ b/install/offline.md @@ -79,8 +79,9 @@ exiting because "Download Only" specified ``` #### 复制到目标服务器之后进入文件夹安装(C-N) +* 离线安装时,必须使用rpm命令不检查依赖的方式安装 ```bash -yum install *.rpm +rpm -Uvh *.rpm --nodeps --force ``` #### 锁定软件版本(C-N)