Ubuntu18.04 GitKraken

用户尝试在Ubuntu系统中安装GitKraken6.5.1时遇到了依赖性问题,具体是gconf2和服务包未安装。通过运行sudoaptinstallgconf2和sudoapt--fix-brokeninstall解决了依赖问题,成功安装了gconf2及相关组件,并最终完成了GitKraken的安装。
rxx@rxx:~/Downloads$ sudo dpkg -i GitKraken-v6.5.1.deb 
[sudo] password for rxx: 
(Reading database ... 266124 files and directories currently installed.)
Preparing to unpack GitKraken-v6.5.1.deb ...
Unpacking gitkraken (6.5.1) over (6.5.1) ...
dpkg: dependency problems prevent configuration of gitkraken:
 gitkraken depends on gconf2; however:
  Package gconf2 is not installed.
 gitkraken depends on gconf-service; however:
  Package gconf-service 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.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 gitkraken
rxx@rxx:~/Downloads$ sudo apt install gconf2
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:
 gconf2 : Depends: gconf-service
          Depends: libgconf-2-4 (>= 3.2.6-4ubuntu1) but it is not going to be installed
          Depends: gconf-service-backend (= 3.2.6-4ubuntu1) but it is not going to be installed
 gitkraken : Depends: gconf-service
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
rxx@rxx:~/Downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  linux-hwe-5.4-headers-5.4.0-53
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  gconf-service gconf-service-backend gconf2 gconf2-common libgconf-2-4
Suggested packages:
  gconf-defaults-service
The following NEW packages will be installed:
  gconf-service gconf-service-backend gconf2 gconf2-common libgconf-2-4
0 upgraded, 5 newly installed, 0 to remove and 721 not upgraded.
1 not fully installed or removed.
Need to get 911 kB of archives.
After this operation, 8,654 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 gconf2-common all 3.2.6-4ubuntu1 [700 kB]
Get:2 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 libgconf-2-4 amd64 3.2.6-4ubuntu1 [84.8 kB]
Get:3 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 gconf-service-backend amd64 3.2.6-4ubuntu1 [58.1 kB]
Get:4 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 gconf-service amd64 3.2.6-4ubuntu1 [2,036 B]
Get:5 http://mirrors.aliyun.com/ubuntu bionic/universe amd64 gconf2 amd64 3.2.6-4ubuntu1 [66.9 kB]
Fetched 911 kB in 2s (426 kB/s)
Selecting previously unselected package gconf2-common.
(Reading database ... 266124 files and directories currently installed.)
Preparing to unpack .../gconf2-common_3.2.6-4ubuntu1_all.deb ...
Unpacking gconf2-common (3.2.6-4ubuntu1) ...
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../libgconf-2-4_3.2.6-4ubuntu1_amd64.deb ...
Unpacking libgconf-2-4:amd64 (3.2.6-4ubuntu1) ...
Selecting previously unselected package gconf-service-backend.
Preparing to unpack .../gconf-service-backend_3.2.6-4ubuntu1_amd64.deb ...
Unpacking gconf-service-backend (3.2.6-4ubuntu1) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-service_3.2.6-4ubuntu1_amd64.deb ...
Unpacking gconf-service (3.2.6-4ubuntu1) ...
Selecting previously unselected package gconf2.
Preparing to unpack .../gconf2_3.2.6-4ubuntu1_amd64.deb ...
Unpacking gconf2 (3.2.6-4ubuntu1) ...
Setting up gconf2-common (3.2.6-4ubuntu1) ...

Creating config file /etc/gconf/2/path with new version
Processing triggers for sgml-base (1.29) ...
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libgconf-2-4:amd64 (3.2.6-4ubuntu1) ...
Setting up gconf-service-backend (3.2.6-4ubuntu1) ...
Setting up gconf-service (3.2.6-4ubuntu1) ...
Setting up gconf2 (3.2.6-4ubuntu1) ...
Setting up gitkraken (6.5.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
rxx@rxx:~/Downloads$ sudo dpkg -i GitKraken-v6.5.1.deb 
(Reading database ... 266297 files and directories currently installed.)
Preparing to unpack GitKraken-v6.5.1.deb ...
Unpacking gitkraken (6.5.1) over (6.5.1) ...
Setting up gitkraken (6.5.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
rxx@rxx:~/Downloads$ 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值