RPM 패키지가 중복설치되어 apt-get으로 패키지를 설치할 때 다음과 같은 메시지를 보여주면서 패키지 중복 문제로 인하여 더이상 패키지가 설치되지 않는 경우가 있습니다.
W: There are multiple versions of "librsvg2" in your system.
This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:
RPM::Allow-Duplicated { "^librsvg2$"; };
To disable these warnings completely set:
RPM::Allow-Duplicated-Warning "false";
W: You may want to run apt-get update to correct these problems
이런 경우에는 다음과 같은 명령으로 해결할 수 있습니다.
# rpm -e nodeps --allmatches "문제의 패키지명"
상기의 오류 메시지 경우 rpm -e nodeps --allmatches librsvg2 명령으로 복구할 수 있습니다.
W: There are multiple versions of "librsvg2" in your system.
This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:
RPM::Allow-Duplicated { "^librsvg2$"; };
To disable these warnings completely set:
RPM::Allow-Duplicated-Warning "false";
W: You may want to run apt-get update to correct these problems
이런 경우에는 다음과 같은 명령으로 해결할 수 있습니다.
# rpm -e nodeps --allmatches "문제의 패키지명"
상기의 오류 메시지 경우 rpm -e nodeps --allmatches librsvg2 명령으로 복구할 수 있습니다.