-1
安裝MongoDB的,當我試圖按照THIS指南中AmazonAWS安裝MongoDB的,但是當我運行此命令:'缺少依賴:/ bin/sh的' 在AmazonAWS
sudo yum install -y mongo-10gen-server
我得到這個消息:
[email protected]:/bin$ sudo yum install -y mongo-10gen-server
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mongo-10gen-server.x86_64 0:2.4.10-mongodb_1 set to be updated
--> Processing Dependency: mongo-10gen for package: mongo-10gen-server-2.4.10-mongodb_1.x86_64
--> Processing Dependency: /bin/sh for package: mongo-10gen-server-2.4.10-mongodb_1.x86_64
--> Running transaction check
---> Package mongo-10gen.x86_64 0:2.4.10-mongodb_1 set to be updated
---> Package mongo-10gen-server.x86_64 0:2.4.10-mongodb_1 set to be updated
--> Processing Dependency: /bin/sh for package: mongo-10gen-server-2.4.10-mongodb_1.x86_64
--> Processing Dependency: /bin/sh for package: mongo-10gen-server-2.4.10-mongodb_1.x86_64
--> Finished Dependency Resolution
mongo-10gen-server-2.4.10-mongodb_1.x86_64 from MongoDB has depsolving problems
--> Missing Dependency: /bin/sh is needed by package mongo-10gen-server-2.4.10-mongodb_1.x86_64 (MongoDB)
Error: Missing Dependency: /bin/sh is needed by package mongo-10gen-server-2.4.10-mongodb_1.x86_64 (MongoDB)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
我該如何解決這個問題?
它是Ubuntu的?或RedHat? 'yum'是Ubuntu的錯誤軟件包安裝程序。 – Rico