
Ich versuche, das epel-release
Paket aus dem CentOS-Extras-Repository zu installieren, aber das Repository scheint leer zu sein. (Ich bin auch ziemlich neu bei Linux)
Wenn ich laufe 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
Wenn ich laufe yum list extras
:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Ich habe versucht yum clean all
, und auszuführen yum update
, aber nichts hat scheinbar funktioniert.
Ausgabe von 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
Ausgabe von rpm --query centos-release
:
centos-release-7-3.1611.el7.centos.i686
Antwort1
yum list extras
ist eigentlich ein normaler Yum-Befehl. Was Sie suchen, ist wahrscheinlich repoquery -a --repoid=extras
. Der Befehl „repoquery“ ist Teil des Pakets „yum-utils“.
Antwort2
epel.repo
ist auch bei EPELhttps://fedoraproject.org/wiki/EPEL→ →https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm... Außerdem: Das PaketIstauch in Extras/.
Installieren Sie das heruntergeladene epel.repo #cd Downloads/ && yum install epel-release-7-9.noarch.rpm
Zum "yum repolist" : Ich weiß nicht, was es mit "extras/7/i386" auf sich hat. Es gibt keine:http://mirror.centos.org/centos/7.3.1611/>>>http://mirror.centos.org/centos/7.3.1611/extras/... Es gibt vier .i686-Pakete. + 268 .noarch . Und: Sind Sie sicher, dass Extras auf „enabled=1“ eingestellt ist? Meins yum repolist
ist dies (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
Eine Kopie des neuesten CentOS-Base.repo finden Sie hierhttps://drive.google.com/file/d/0B7S255p3kFXNSG10b0lXeTUtRzA/view?usp=sharing