python - 如何修复/修复包依赖项以安装 Atom

标签 python ubuntu atom-editor

我正在运行 Ubuntu 19.04,通过终端下载并安装 Atom 后,我的通知栏上有一个红色的减号,它告诉我从右键菜单或终端运行包管理器。
紧随其后的是

The error message was 'Error: BrokenCount>0

这通常意味着已安装的软件包具有未满足的依赖关系。

我尝试运行的命令之一是
sudo dpkg --configure -a

这导致了以下消息:
dpkg: dependency problems prevent configuration of atom:
 atom depends on git; however:
  Package git is not installed.
 atom depends on libgconf-2-4 (>= 3.2.5) | libgconf2-4; however:
  Package libgconf-2-4 is not installed.
  Package libgconf2-4 is not installed.

dpkg: error processing package atom (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 atom

我的下一步应该是什么?

最佳答案

尝试这个:

    sudo apt-get update
    sudo apt-get clean
    sudo apt-get autoremove
    sudo apt-get -f install

关于python - 如何修复/修复包依赖项以安装 Atom,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61392971/

相关文章:

coffeescript - 在 Atom 编辑器初始化脚本中使用 TreeView

python - 在生成器中嵌套生成器是 Pythonic 吗?

linux - 无法在 Ubuntu 上将 gfortran 与 Abaqus 2016 一起使用

python - 检查数组或 Dataframe 的所有可能标签 (y)

laravel - 如何删除网址中的端口号

Ruby:gem 安装在错误的目录中

typescript - 如何让 atom-typescript 识别没有相对路径的模块?

node.js - 安装 Atom 编辑器时出错

Python xml ElementTree : find values of only first 3 elements with same name

python - 如何在 python Popen 中将 args 传递给 args?