修复离线安装时依赖包下载、离线rpm包安装依赖先后顺序的问题。

pull/529/head
hellozrh 2023-07-19 15:20:16 +08:00 committed by GitHub
parent 85c5a280a4
commit 8d129d0ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -46,7 +46,9 @@ docker-ce.x86_64 3:19.03.1-3.el7 docker-ce-stable
#### (A) #### (A)
```bash ```bash
sudo yum install --downloadonly --downloaddir=/tmp/docker-19.03 docker-ce-19.03.8-3.el7 docker-ce-cli-19.03.8-3.el7 mkdir -p /home/download/docker-ce-19
cd /home/download/docker-ce-19
sudo repotrack docker-ce-19.03.8-3.el7 docker-ce-cli-19.03.8-3.el7
``` ```
```bash ```bash
@ -79,8 +81,9 @@ exiting because "Download Only" specified
``` ```
#### (C-N) #### (C-N)
```bash ```bash
yum install *.rpm rpm -Uvh *.rpm --nodeps --force
``` ```
#### (C-N) #### (C-N)