Skip to main content
Ubuntu 24.04 - official wallpaper

Keybase vs. Ubuntu 24.04

Trying to install Keybase “the normal way” on Ubuntu leads to errors about missing packages. Trying then to run apt install -f to fix the issues will lead to Keybase being uninstalled again. In older releases this worked. Now it doesn’t.

 1❯ sudo dpkg -i Downloads/keybase_amd64.deb
 2[sudo] password for patrick:
 3Selecting previously unselected package keybase.
 4(Reading database ... 224676 files and directories currently installed.)
 5Preparing to unpack Downloads/keybase_amd64.deb ...
 6Unpacking keybase (6.2.8-20240306193933.e38523abbe) ...
 7dpkg: dependency problems prevent configuration of keybase:
 8 keybase depends on libappindicator1 | libayatana-appindicator1; however:
 9  Package libappindicator1 is not installed.
10  Package libayatana-appindicator1 is not installed.
11 keybase depends on libgconf-2-4; however:
12  Package libgconf-2-4 is not installed.
13
14dpkg: error processing package keybase (--install):
15 dependency problems - leaving unconfigured
16Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
17Processing triggers for desktop-file-utils (0.27-2build1) ...
18Processing triggers for hicolor-icon-theme (0.17-2) ...
19Processing triggers for shared-mime-info (2.4-4) ...
20Errors were encountered while processing:
21 keybase
22
23❯ sudo apt --fix-broken install
24Reading package lists... Done
25Building dependency tree... Done
26Reading state information... Done
27Correcting dependencies... Done
28The following packages will be REMOVED:
29  keybase
300 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
311 not fully installed or removed.
32After this operation, 456 MB disk space will be freed.
33Do you want to continue? [Y/n]

Having Keybase installed, without “fixing” the issue will be leaving you with a working Keybase, but any subsequent installation or update via apt will fail with the note to run --fix-broken, which will then remove Keybase again.

My first attempts were to install those missing packages. On one side they turned out to being installed. On the other side installing for instance libgconf manually did not lead to anything.

After a while I found, that there is a Snap package for Keybase. Trying to install though did not work either:

cannot install “keybase”: experimental feature disabled - test it by setting experimental.user-daemons to true.

Well, I did that.

1snap set system experimental.user-daemons=true

And finally Keybase was installable.

1sudo snap install keybase

And then I read the notice on the snap page:

NOTE: The keybase snap has a number of limitations due to the nature of the snap sandbox. In particular the git integration is not currently working and whilst it is possible to view files within keybase itself it is not possible to download them or upload them directly. Otherwise it should be quite functional.

Well… can’t have everything :( On the other side, encrypted Git repositories are one of the main reasons for me to use Keybase, so this won’t be the last time me and Keybase are squaring up.

Recent Posts

Photo by Roman Synkevych via Unsplash

Cloning All My Repos on a New Ubuntu Installation

One of the first things I do after a new installation of myt OS of choice Ubuntu, is to clone all my repositories from GitHub. This way, I have all my code and configuration files available locally, and I can start working on them right away instead of loading them each time I start working on any project.

Photo by Roman Synkevych via Unsplash

Git push.default setup

Pushing a new branch to a repository’s remote often requires two attempts by the scatterbrained developer, but there is help in push.autoSetupRemote.

Photo by Mohammad Rahmani via Unsplash

Automatically load workspace when starting VSCode

Workspaces are a great feature in VSCode. But they have their issues. For instance starting VSCode in a folder will not automatically load the workspace file. This can be annoying if you have a workspace file in the folder and you want to open it directly.

Photo by Roman Synkevych via Unsplash

How to delete all files ignored by Git

The .gitignore file in a Git repository serves as a configuration file that specifies files and directories that Git should — as the name implies — ignore. When Git encounters a file or directory listed in .gitignore, it automatically excludes them from being tracked, preventing them from showing up in commands like git status and git add.

Setting up highlighted notes in GitHub Markdown

Highlighting blockquotes in GitHub Markdown format

GitHub recently introduced an innovative feature for Markdown documents that allows users to highlight “Note”, “Warning”, and other notification blocks more effectively. An enhancement useful for developers who want to draw attention to important information in their documentation or discussions.

Back to top
Back Forward