
다음 명령을 사용하여 CentOS 7(64비트)에 LAN Messenger를 설치하려고 합니다.
yum install lmc-1.2.32-2.i386.rpm
파일은 다음에서 다운로드되었습니다.https://github.com/lanmessenger/lanmessenger/releases
하지만 다음과 같은 오류가 발생합니다.
Transaction check error:
file /usr/bin from install of lmc-1.2.32-2.i386 conflicts with file from package filesystem-3.2-21.el7.x86_64
file / from install of lmc-1.2.32-2.i386 conflicts with file from package filesystem-3.2-21.el7.x86_64
file /usr/lib from install of lmc-1.2.32-2.i386 conflicts with file from package filesystem-3.2-21.el7.x86_64
이 오류를 해결할 수 있습니까?
답변1
당신은 사용해야합니다
rpm -ivh --replacefiles foo-1.0-1.i386.rpm
그러면 충돌하는 파일이 새 파일로 대체됩니다.
추신.먼저 프로덕션 서버가 아닌 가상 서버에서 이 작업을 수행해야 합니다./
교체될 파일이 있기 때문에 그 중 어떤 파일인지 확인해야 합니다.