CentOS 7 기본 추가 저장소에는 패키지가 포함되어 있지 않습니다.

CentOS 7 기본 추가 저장소에는 패키지가 포함되어 있지 않습니다.

epel-releaseCentOS extras 저장소에서 패키지를 설치 하려고 하는데 저장소가 비어 있는 것 같습니다. (저는 또한 리눅스를 처음 접했습니다)

내가 실행할 때 yum repolist:

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
repo id                          repo name                             status
base/7/i386                      CentOS-7 - Base                       7,114
extras/7/i386                    CentOS-7 - Extras                         0
updates/7/i386                   CentOS-7 - Updates                    1,437
repolist: 8,551

내가 실행할 때 yum list extras:

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

나는 달리기를 시도했지만 yum clean all아무것도 yum update작동하지 않는 것 같습니다.

출력 hostnamectl:

 Static hostname: localhost.localdomain
       Icon name: computer-vm
         Chassis: vm
      Machine ID: 4925cfdbb53e4e18b5ce1e3bd2d4ce0d
         Boot ID: b3109364c8a14af9b37a81599f900755
  Virtualization: oracle
Operating System: CentOS 7 (AltArch)
     CPE OS Name: cpe:/o:centos:centos:7
          Kernel: Linux 3.10.0-514.16.1.el7.centos.plus.i686
    Architecture: x86

출력 rpm --query centos-release:

centos-release-7-3.1611.el7.centos.i686

답변1

yum list extras실제로 일반적인 yum 명령입니다. 당신이 찾고 있는 것은 아마도 repoquery -a --repoid=extras"repoquery" 명령은 "yum-utils" 패키지의 일부일 것입니다.

답변2

epel.repo또한 EPEL에서도https://fedoraproject.org/wiki/EPEL→ →https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm...그리고 그 이상: 포장엑스트라/인에도 있습니다.

다운로드한 epel.repo를 설치합니다 #cd Downloads/ && yum install epel-release-7-9.noarch.rpm

"yum repolist" 정보: "extras/7/i386"이 무엇인지 모릅니다. 아니요:http://mirror.centos.org/centos/7.3.1611/>>>http://mirror.centos.org/centos/7.3.1611/extras/...4개의 .i686 패키지가 있습니다. + 268.노아크. 또한: Extras가 활성화=1로 설정되어 있습니까? 내 yum repolist것은 이것이다(CentOS 7.3-1611):

repo id                  repo name                                      status
!base/7/x86_64           CentOS-7 - Base                                9,360+3
!centos-sclo-rh/x86_64   CentOS-7 - SCLo rh                               5,174
!centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo                               403
!epel/x86_64             Extra Packages for Enterprise Linux 7 - x86_64  11,722
!extras/7/x86_64         CentOS-7 - Extras                                  380
!updates/7/x86_64        CentOS-7 - Updates                               1,838
repolist: 28,877

최신 CentOS-Base.repo 사본은 여기에 있습니다.https://drive.google.com/file/d/0B7S255p3kFXNSG10b0lXeTUtRzA/view?usp=sharing

관련 정보