epel과 rpmforge를 동시에 사용해도 안정적인가요?

epel과 rpmforge를 동시에 사용해도 안정적인가요?

따라서 Scientific Linux 6.3 Desktop을 새로 설치한 후 다음을 수행합니다.

yum install rpmforge-release && yum update

그리고

yum install epel-release.noarch

그 다음에:

yum install wine gparted cups-pdf && echo 'includepkgs=nss-mdns wine* gparted cups-pdf' >> /etc/yum.repos.d/epel.repo

좋아요! 그 후 나는:

vi /etc/yum.repos.d/epel.repo
includepkgs=nss-mdns wine* gparted cups-pdf

이렇게 신선한 와인(+cups-pdf)을 설치하고 gparted를 했습니다.

묻다: 이런게 안정적인가요? 내 말은, 이것이 앞으로 문제를 일으킬 것인가? (일부 epel 패키지가 설치되어 있지만 언급된 패키지 중 몇 가지를 설치한 후 안정성을 돕기 위해 화이트리스트를 사용하고 있습니다. gparted/wine/cups-pdf에서 몇 가지 항목에만 epel이 필요하기 때문입니다.) 이러한 조치를 취하면 향후 문제가 발생합니까?

답변1

저는 CentOS에서 epel과 rpmforge를 사용하고 있습니다. 하지만 두 저장소 모두에 일부 프로그램이 있으므로 yum-priorities 플러그인을 설치하는 것이 좋습니다.

좋습니다. 다음은 yum 우선순위를 자세히 설명하는 링크입니다. http://wiki.centos.org/PackageManagement/Yum/Priorities

하지만 기본적으로 설치 후냠 우선순위, /etc/yum/pluginconf.d/priorities.conf활성화=0에서 다음으로 편집 해야 합니다.활성화=1

/eyc/yum.repos.d/에 있는 모든 저장소 파일의 모든 저장소에 이 줄을 추가합니다(여러 저장소가 있을 수 있으므로).

우선순위 = 숫자

우선순위를 볼 수 있는 Oneliner도 있습니다.

sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n

이것은 내 결과입니다.

priority = 1 [base]
priority = 1 [centosplus]
priority = 1 [extras]
priority = 1 [updates]
priority = 2 [contrib]
priority = 10 [atrpms]
priority = 10 [elrepo]
priority = 10 [elrepo-extras]
priority = 10 [elrepo-kernel]
priority = 10 [epel]
priority = 10 [epel-debuginfo]
priority = 10 [epel-source]
priority = 11 [elrepo-testing]
priority = 11 [epel-testing]
priority = 11 [epel-testing-debuginfo]
priority = 11 [epel-testing-source]
priority = 20 [rpmforge]
priority = 20 [rpmforge-extras]
priority = 21 [rpmforge-testing]
priority = 30 [nfb] This is my own repo.

답변2

예, 저장소를 혼합하면 엄청난 종속성 교착 상태가 발생할 수 있으므로 스레드에 주의해야 합니다.

내가 찾은 가장 효과적인 방법은 설치는 했지만 비활성화하는 것이었습니다: /etc/yum.repos.d/.repo 에서 'enabled=0' ..

그러다가 꼭 사용해야 할 때에는 이렇게 소개합니다.

yum --enablerepo=epel,rpmforge-extras list package-name  
yum --enablerepo=rpmforge install package-name

관련 정보