client: ubuntu install doesn't work

on 16.04 LTS, this is what I get when I try to install:

$ sudo dpkg -i keybase_amd64.deb
(Reading database ... 222874 files and directories currently installed.)
Preparing to unpack keybase_amd64.deb ...
Unpacking keybase (1.0.23-20170519175207.d6c5e9e) over (1.0.16) ...
dpkg: dependency problems prevent configuration of keybase:
 keybase depends on libappindicator1; however:
  Package libappindicator1 is not installed.

dpkg: error processing package keybase (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 keybase

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  keybase
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 224 MB disk space will be freed.
Do you want to continue? [Y/n]

… tried adding http://dist.keybase.io/linux/deb/repo to sources list, but that gave me an old version of keybase that breaks as described in issue 5401

also tried:

$ sudo apt install libappindicator1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libappindicator1 : Depends: libindicator7 (>= 0.4.90) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 4
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Thanks for explaining that to me, I should have RTFM 😛 Appreciate it!

Oh, this might be a simple confusion. apt-get -f is totally mandatory (this bug notwithstanding), which is why it’s in our install instructions. Note that -f stands for --fix-broken. You have been reading it as --force instead? (I don’t think apt-get has any --force flag, though it does have --force-yes).