다음 제안을 따르세요CentOS 7에서 Awesome Window Manager 사용하기, Fedora 19 저장소를 설치하여 다음을 얻을 수 있습니다.놀라운CentOS7에서 작업 중입니다. 그러나 실행하면 yum update
다음 오류가 발생합니다.
Error: Package: brlapi-0.6.0-5.fc19.i686 (fedora)
Requires: brltty = 4.5-5.fc19
Installed: brltty-4.5-8.el7.x86_64 (@anaconda)
brltty = 4.5-8.el7
Available: brltty-4.5-5.fc19.x86_64 (fedora)
brltty = 4.5-5.fc19
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
추가 정보:
; sudo yum list installed | grep brl
127:brlapi.x86_64 0.6.0-8.el7 @anaconda
128:brltty.x86_64 4.5-8.el7 @anaconda
1254:python-brlapi.x86_64 0.6.0-8.el7 @anaconda
분명히 이 두 저장소 사이에는 충돌이 있습니다.이 문제를 해결하는 방법?
요청대로:
; sudo yum repolist all
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirroring.pulsant.co.uk
* epel: mirror-fr2.bbln.org
* extras: mirror.ukhost4u.com
* updates: mirror.ukhost4u.com
repo id repo name status
base/7/x86_64 CentOS-7 - Base enabled: 8,465
base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
base-source/7 CentOS-7 - Base Sources disabled
centosplus/7/x86_64 CentOS-7 - Plus disabled
centosplus-source/7 CentOS-7 - Plus Sources disabled
epel/x86_64 Extra Packages for Enterprise Linu enabled: 6,418
epel-debuginfo/x86_64 Extra Packages for Enterprise Linu disabled
epel-source/x86_64 Extra Packages for Enterprise Linu disabled
epel-testing/x86_64 Extra Packages for Enterprise Linu disabled
epel-testing-debuginfo/x86_64 Extra Packages for Enterprise Linu disabled
epel-testing-source/x86_64 Extra Packages for Enterprise Linu disabled
extras/7/x86_64 CentOS-7 - Extras enabled: 77
extras-source/7 CentOS-7 - Extras Sources disabled
fasttrack/7/x86_64 CentOS-7 - fasttrack disabled
fedora/x86_64 Fedora 19 - x86_64 enabled: 36,253
updates/7/x86_64 CentOS-7 - Updates enabled: 1,186
updates-source/7 CentOS-7 - Updates Sources disabled
repolist: 52,399
/etc/yum.repos.d/Fedora.repo
파일 은 다음과 같습니다 .
[fedora]
name=Fedora 19 - $basearch
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/19/Everything/$basearch/os/
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-19
답변1
냠 브랜드설치해 보세요:
brlapi-0.6.0-5.fc19.i686 (fedora)
@Fedorra 저장소에서:
Available: brltty-4.5-5.fc19.x86_64 (fedora)
이미 설치되어 있지만:
Installed: brltty-4.5-8.el7.x86_64 (@anaconda)
@anaconda 저장소에서.
비활성화된 저장소로 @fedora를 업데이트해 볼 수 있습니다:
yum update --disablerepo="fedora"
또는 패키지를 설치합니다 yum-plugin-priorities
(실제로 패키지를 사용해야 합니다. 왜 기본 YUM 설치에 아직 없는지 놀랍습니다).
yum install yum-plugin-priorities
그런 다음 ptiorities
각 저장소 구성에서 설정합니다.
# grep -r "priority=" /etc/yum.repos.d/
/etc/yum.repos.d/gf.repo:priority=20
/etc/yum.repos.d/MariaDB.repo:priority=1
/etc/yum.repos.d/epel-testing.repo:priority=20
/etc/yum.repos.d/rpmforge.repo:priority=20
/etc/yum.repos.d/rpmforge.repo:priority=20
예를 들어:
# head /etc/yum.repos.d/gf.repo
[gf]
name=Ghettoforge packages that won't overwrite core distro packages.
baseurl=http://mirror.symnds.com/distributions/gf/el/6/gf/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-gf.el6
failovermethod=priority
priority=20
자세히 알아보기CentOS 위키.