mongodb를 설치하려고 하면(sudo apt-get install mongodb) 다음과 같은 메시지가 나타납니다.
The following packages have unmet dependencies:
mongodb : Depends: mongodb-dev but it is not going to be installed
Depends: mongodb-server (>= 1:2.4.1-2) but it is not going to be installed
apt-get install -f, 업데이트, 업그레이드, dist-upgrade, 저장소 변경을 시도했지만 아무것도 작동하지 않는 것 같습니다.
종속성을 수동으로 설치하려고 하면 동일한 오류가 발생합니다.
The following packages have unmet dependencies:
mongodb-server : Depends: mongodb-clients but it is not going to be installed
Depends: libboost-filesystem1.55.0 but it is not going to be installed
Depends: libboost-program-options1.55.0 but it is not going to be installed
Depends: libboost-system1.55.0 but it is not going to be installed
Depends: libboost-thread1.55.0 but it is not going to be installed
Depends: libgoogle-perftools4 but it is not going to be installed
Depends: libpcrecpp0 (>= 7.7) but it is not going to be installed
Depends: libsnappy1 but it is not going to be installed
Depends: libstdc++6 (>= 4.9) but it is not going to be installed
Depends: libv8-3.14.5 but it is not going to be installed
새로 설치하는 것을 제외하고 모든 것을 시도했습니다...
답변1
mongodb-org를 설치해야 합니다.
sudo apt-get install mongodb-org
이것은 mongoDB 웹 사이트에서 권장되는 패키지입니다. 실제로는 메타 패키지이므로 누락된 일부 종속성이 포함될 수 있습니다.
답변2
MongoDB를 사용하려면 다음 종속성을 설치해야 합니다.
sudo apt-get install libcurl3