keybase / keybase/client

Server operators shouldn't have to install libappindicator1

Open
#3,622 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

On a headless server environment libappindicator1 pull in a bunch of resources that are desktop oriented. I have used keybase in the past on the server and most of these resources are unneeded.

I did find a workaround though. dpkg allows to force package install even if a dependency isn't present and it will proceed to configure and setup (it would fail otherwise). For server operators only that have no desktop environment.

shinji@melchior:~$ sudo dpkg -i --force-depends keybase_amd64.deb
(Reading database ... 42411 files and directories currently installed.)
Preparing to unpack keybase_amd64.deb ...
Unpacking keybase (1.0.16-20160726160034.abf37ce) over (1.0.16-20160726160034.abf37ce) ...
dpkg: keybase: dependency problems, but configuring anyway as you requested:
 keybase depends on libappindicator1; however:
  Package libappindicator1 is not installed.

Setting up keybase (1.0.16-20160726160034.abf37ce) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for mime-support (3.59ubuntu1) ...

EDIT: Just found out that it will continue to try to install the dependency in the future so another route is probably going to be needed. For now I'll just put up with a messy run of useless packages.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the dependency metadata in keybase_amd64.deb and reproducing the dpkg installation on a headless Ubuntu server. Confirm that the package can install without pulling libappindicator1 while preserving the required server functionality and avoiding repeated attempts to install the desktop dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, ubuntu
Domain
operating-systems, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.