centos中报-bash: rz: command not found的解决方法

清疚 2023-01-17 12:55 361阅读 0赞

【现象】

[root@centos7]# rz
-bash: rz: command not found

【解决方法】

执行如下命令:

yum -y install lrzsz

安装过程信息如下:

[root@centos7]# yum -y install lrzsz
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 3.2 kB 00:00
* base: mirrors.aliyun.com
* epel: ftp.riken.jp
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
base | 3.6 kB 00:00
epel | 4.7 kB 00:00
extras | 2.9 kB 00:00
packages-microsoft-com-prod | 3.0 kB 00:00
updates | 2.9 kB 00:00
(1/8): base/7/x86_64/group_gz | 153 kB 00:00
(2/8): extras/7/x86_64/primary_db | 232 kB 00:00
(3/8): epel/x86_64/group_gz | 96 kB 00:01
(4/8): updates/7/x86_64/primary_db | 7.1 MB 00:02
epel/x86_64/primary_db FAILED
http://mirrors.bestthaihost.com/epel/7/x86\_64/repodata/4ff8fcc825c1fbd43cf4074655dde6703a1caa7e2525b92a7e9a3277b7596196-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn’t help to resolve this issue please use https://bugs.centos.org/.

(5/8): packages-microsoft-com-prod/primary_db | 427 kB 00:07
(6/8): base/7/x86_64/primary_db | 6.1 MB 00:11
(7/8): epel/x86_64/updateinfo | 1.0 MB 00:19
(8/8): epel/x86_64/primary_db | 6.9 MB 00:53
Resolving Dependencies
--> Running transaction check
-—> Package lrzsz.x86_64 0:0.12.20-36.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

Installing:
lrzsz x86_64 0.12.20-36.el7 base 78 k

Transaction Summary

Install 1 Package

Total download size: 78 k
Installed size: 181 k
Downloading packages:
lrzsz-0.12.20-36.el7.x86_64.rpm | 78 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : lrzsz-0.12.20-36.el7.x86_64 1/1
Verifying : lrzsz-0.12.20-36.el7.x86_64 1/1

Installed:
lrzsz.x86_64 0:0.12.20-36.el7

Complete!

发表评论

表情:
评论列表 (有 0 条评论,361人围观)

还没有评论,来说两句吧...

相关阅读