CentOS를 업그레이드하는 동안 오류가 발생했습니다.

CentOS를 업그레이드하는 동안 오류가 발생했습니다.

서버를 업그레이드하는 중 오류가 발생했습니다. 오류 보고서는 다음과 같습니다.

Transaction Check Error:
  package subversion-1.6.15-0.1.el5.rfx.x86_64 (which is newer than subversion-1.6.11-7.el5_6.4.i386) is already installed
  file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.6.11-7.el5_6.4.i386 conflicts with file from package subversion-1.6.15-0.1.el5.rfx.x86_64
  file /usr/share/locale/zh_CN/LC_MESSAGES/subversion.mo from install of subversion-1.6.11-7.el5_6.4.i386 conflicts with file from package subversion-1.6.15-0.1.el5.rfx.x86_64
  file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.6.11-7.el5_6.4.i386 conflicts with file from package subversion-1.6.15-0.1.el5.rfx.x86_64

답변1

이미 버전이 설치되어 있습니다.

깨끗하게 사용해 볼 수 있습니다

rpm -e --nodeps --allmatches <packagename>

이렇게 하면 패키지 이름과 일치하는 모든 패키지가 제거되고 종속성은 이전에 확인되지 않습니다. 그 후에는 성공적으로 업데이트할 수 있습니다.

답변2

이는 업그레이드된 버전보다 최신 패키지 버전이 이미 설치되어 있음을 의미합니다. 업그레이드 버전의 업데이트를 사용하도록 업그레이드하면 제대로 작동합니다.

그럼에도 불구하고 CentOS는 실제로 시리즈 중에 명시적인 업그레이드를 요구하지 않습니다. 즉, 처음에 CentOS 5.0을 설치하고 엄격하게 업데이트했다면 CentOS 5.2가 출시되면 이미 패키지 업데이트를 통해 설치되어 있을 것입니다. CentOS 5.2는 모든 업데이트를 설치 가능한 단일 업데이트 세트로 통합합니다. CentOS 6.0이 출시되면 업그레이드하거나 CentOS 6.2로 직접 업그레이드해야 합니다.

관련 정보