[英]issue with mongodb install on ubuntu 20.04
我無法在 ubuntu 20.02 上安裝 mongodb。 幾個建議最終響應運行
sudo apt --fix-broken install
但是,當我運行它時,我得到了另一組錯誤
The following NEW packages will be installed:
mongodb-org-database-tools-extra
0 upgraded, 1 newly installed, 0 to remove and 256 not upgraded.
3 not fully installed or removed.
Need to get 0 B/7,744 B of archives.
After this operation, 27.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 371357 files and directories currently installed.)
Preparing to unpack .../mongodb-org-database-tools-extra_6.0.1_amd64.deb ...
Unpacking mongodb-org-database-tools-extra (6.0.1) ...
dpkg: error processing archive /var/cache/apt/archives/mongodb-org-database-tools-extra_6.0.1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/install_compass', which is also in package mongodb-org-tools 4.2.14
Errors were encountered while processing:
/var/cache/apt/archives/mongodb-org-database-tools-extra_6.0.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
做了一個
sudo apt purge mongodb-org *
清除了與 package 管理器相關的問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.