在终端安装它会输出以下内容:
alexeya@RC530:~$ sudo dpkg -i gitkraken-amd64.deb
Selecting previously unselected package gitkraken.
(Reading database ... 239444 files and directories currently installed.)
Preparing to unpack gitkraken-amd64.deb ...
Unpacking gitkraken (4.0.5) ...
dpkg: dependency problems prevent configuration of gitkraken:
gitkraken depends on gconf2; however:
Package gconf2 is not installed.
dpkg: error processing package gitkraken (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
gitkraken
我无法运行应用程序 Gitkraken
有类似问题,但我的问题不一样,错误消息也不同。我已尝试了针对其他问题的建议修复方法。
答案1
您不应该使用 安装单独的软件包dpkg -i
。如果您这样做,则必须sudo apt-get install -f
在之后运行。
更好的方法是使用apt-get install
deb-package,如下所示:
cd ~/Downloads
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo apt-get install ./gitkraken-amd64.deb