RPM패키지 업그레이드 설치시에 다른 패키지의 파일과 충돌문제 해결 방법 : --replacefiles옵션 사용
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,564 조회
- 0 추천
- 목록
본문
RPM패키지 업그레이드 설치시에 다른 패키지의 파일과 충돌문제 해결 방법 : --replacefiles옵션 사용
패키지 업그레이드나 설치에서 문제가 되는 경우는 앞의 예에서 보셨던 바와 같이 중복설치문제도 있지만 설치하고자 하는 패키지의 파일이 이미 설치되어 있는 다른 패키지의 파일과 충돌(conflict)이 발생하는 경우도 있습니다.
이런 패키지 충돌(conflict)이 발생하는 경우에 이를 무시하고 설치를 해야 한다면 --replacefiles옵션을 사용하시면 됩니다.
아래의 예는 openssl-0.9.8패키지를 -Uvh옵션으로 업그레이드 설치를 한 것입니다.
보시는 바와 같이 패키지 파일 충돌(conflict)이 발생하였습니다.
[root@su250 Packages]# rpm -Uvh openssl-0.9.8g-11.fc10.i686.rpm warning: openssl-0.9.8g-11.fc10.i686.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273 Preparing... ########################################### [100%] package openssl-0.9.8g-11.fc10.i686 is already installed file /lib/libcrypto.so.0.9.8g from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /lib/libssl.so.0.9.8g from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/bin/openssl from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/lib4758cca.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libaep.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libatalla.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libchil.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libcswift.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libnuron.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libsureware.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 file /usr/lib/openssl/engines/libubsec.so from install of openssl-0.9.8g-11.fc10.i686 conflicts with file from package openssl-0.9.8g-11.fc10.i386 [root@su250 Packages]# |
이런 경우에 패키지의 파일에 충돌이 발생하더라도 굳이 업그레이드를 하시려면 다음 예와 같이 --replacefiles옵션을 사용하시면 됩니다.
[root@su250 Packages]# rpm -Uvh --replacefiles openssl-0.9.8g-11.fc10.i686.rpm warning: openssl-0.9.8g-11.fc10.i686.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273 Preparing... ########################################### [100%] 1:openssl ########################################### [100%] [root@su250 Packages]# |
관련자료
-
이전
-
다음