linux - 尝试安装时未满足的依赖项

标签 linux dependencies apt

abhijith@abhijith-Lenovo-G580:`~$ sudo apt install john`:

Reading package lists... Done. 
Building dependency tree         
Reading state information... Done   
You might want to run 'apt --fix-broken install' to correct these.  
The following packages have unmet dependencies:  
john : Depends: john-data (= 1.8.0-2build1) but it is not going to be 
installed    
mongodb-org : Depends: mongodb-org-server but it is not going to be installed  
Depends: mongodb-org-mongos but it is not going to be installed  
 E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

最佳答案

尝试执行以下命令。

sudo apt-get install mongodb
sudo apt update
sudo apt --fix-broken install

希望这可能有所帮助。

关于linux - 尝试安装时未满足的依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61710939/

相关文章:

linux - bash 和其他智能 shell 如何找到可执行文件?

linux - 我如何在Linux中为root设置假脱机电子邮件的读取权限

linux - Linux/ncurses 自动化测试工具

python - 如何为本地补丁包添加依赖项?

r - 无法在 RStudio 中安装 devtools -- 找不到依赖项 (xml2/rversions)

linux - Docker Machine 默认 VM 上的包管理器?

debian - 如何获取 debian 软件包的 *.changes 文件?

c++ - 如何为在 x86 主机上为arm目标交叉编译的项目安装依赖项

linux - 在 telnet session 中使用变量

javascript - 如何将我的 javascript 代码拆分成单独的文件?