2017-06-01 3 views
0

私の生産Mongoデータベースがハッキングされ、すべてのデータベースが削除されました。私は現在Mongoの最新バージョンにアップグレードしたいが、特別な問題を抱えている。 Linux Mintに関するIm 17.1。ここでイム以下の手順:最新のMongdbをインストールできない

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ 

私が実行します。

sudo apt-get install -y mongodb-org 

私はエラーで終わる:

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
mongodb-org : Depends: mongodb-org-shell but it is not going to be installed 
       Depends: mongodb-org-server but it is not going to be installed 
       Depends: mongodb-org-mongos but it is not going to be installed 
       Depends: mongodb-org-tools but it is not going to be installed 
E: Unable to correct problems, you have held broken packages. 

私は次は何を試すことができますか?私が言ったように、私のアプリはハックの後にダウンしていますが、今でも私はモンゴルをインストールすることができません...

+0

'' apt list --installed |を実行した結果を共有してください。 grep mongo''と '' more /etc/apt/sources.list.d/* | cat'' – helmy

答えて

0

を試してみてくださいパッケージを修正するにはsudo apt-get install -fを試してください。

これでうまくいかない場合は、4つのパッケージがすべて必要な場合は、mongodb-org-serverだけが本当に必要なものかもしれません。

+0

sudo apt-get install -fを実行しても、同じエラーが表示される – Mark

関連する問題