CentOS 7:GNU Screen无法安装[暂停]

问题描述 投票:-1回答:1

想在CentOS上安装screen,但无法弄清楚安装失败的原因。

$yum -y install screen
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.up.pt
 * epel: mirrors.up.pt
 * extras: mirrors.up.pt
 * updates: mirrors.up.pt
Resolving Dependencies
--> Running transaction check
---> Package screen.x86_64 0:4.1.0-0.25.20120314git3c2946.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================
 Package               Arch                  Version                                            Repository           Size
==========================================================================================================================
Installing:
 screen                x86_64                4.1.0-0.25.20120314git3c2946.el7                   base                552 k

Transaction Summary
==========================================================================================================================
Install  1 Package

Total download size: 552 k
Installed size: 914 k
Downloading packages:


Error downloading packages:
  screen-4.1.0-0.25.20120314git3c2946.el7.x86_64: [Errno 5] [Errno 2] No such file or directory

$ sudo yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.up.pt
 * epel: mirrors.up.pt
 * extras: mirrors.up.pt
 * updates: mirrors.up.pt
repo id                                      repo name                                                              status
base/7/x86_64                                CentOS-7 - Base                                                        10,019
docker-ce-stable/x86_64                      Docker CE Stable - x86_64                                                  41
epel/x86_64                                  Extra Packages for Enterprise Linux 7 - x86_64                         13,121
extras/7/x86_64                              CentOS-7 - Extras                                                         387
mongodb-org-3.4/7                            MongoDB Repository                                                        105
nodesource/x86_64                            Node.js Packages for Enterprise Linux 7 - x86_64                           64
updates/7/x86_64                             CentOS-7 - Updates                                                      1,840
repolist: 25,577

$cat /etc/system-release
CentOS Linux release 7.5.1804 (Core) 

这里有什么问题?

linux centos7 gnu-screen
1个回答
0
投票

成功!幸运地遇到并从源here下载然后..

$yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/screen-4.1.0-0.25.20120314git3c2946.el7.x86_64.rpm

..安装。

$hich screen
/usr/bin/screen

干杯!

© www.soinside.com 2019 - 2024. All rights reserved.