Install Protonmail Bridge - Fonts and Lib are missing ...arrggggghhhh

lou@lou-zorin:~/Downloads$ sudo dpkg -i *.deb

(Reading database ... 306354 files and directories currently installed.)
Preparing to unpack protonmail-bridge_2.3.0-1_amd64.deb ...
Unpacking protonmail-bridge (2.3.0-1) over (2.3.0-1) ...
dpkg: dependency problems prevent configuration of protonmail-bridge:
protonmail-bridge depends on libqt5qml5; however:
Package libqt5qml5 is not installed.
protonmail-bridge depends on fonts-dejavu; however:
Package fonts-dejavu is not installed.

dpkg: error processing package protonmail-bridge (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
protonmail-bridge

First, I went lookng for fonts.In terminal I issued the #fc-cache command and then #fc-list.

The list commands show several "dejavu" fonts but no "fonts-dejavu"
/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold

/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book

Second, I did a search for the libqt5qml5 library but did not find it.

So...how do I remedy this problem? :grin:

A great resource if you happen to hit a dependency error is pkgs.org

I searched for the libqt5qml5 package at the upper right, then scrolled down to Ubuntu 20.04 for Zorin OS 16...
Which led to the direct package:
http://archive.ubuntu.com/ubuntu/pool/universe/q/qtdeclarative-opensource-src/libqt5qml5_5.12.8-0ubuntu1_amd64.deb

Repeat for fonts-dejavu
http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-dejavu/fonts-dejavu-core_2.37-1_all.deb

2 Likes

I now fully understand why Linux users lifted the "Arrrgggghhhh" phrase from pirates. :laughing:

The bridge finally got installed but not without worrying me first. :slight_smile: It looks like the #apt-get install -f command cleaned it all up.

lou@lou-zorin:~/Downloads$ sudo dpkg -i libqt5qml5_5.12.8-0ubuntu1_amd64.deb
Selecting previously unselected package libqt5qml5:amd64.
(Reading database ... 306354 files and directories currently installed.)
Preparing to unpack libqt5qml5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5qml5:amd64 (5.12.8-0ubuntu1) ...
Setting up libqt5qml5:amd64 (5.12.8-0ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...

lou@lou-zorin:~/Downloads$ sudo dpkg -i fonts-dejavu-core_2.37-1_all.deb
(Reading database ... 306365 files and directories currently installed.)
Preparing to unpack fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) over (2.37-1) ...
Setting up fonts-dejavu-core (2.37-1) ...
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...

lou@lou-zorin:~/Downloads$ sudo dpkg -i protonmail-bridge_2.3.0-1_amd64.deb
(Reading database ... 306365 files and directories currently installed.)
Preparing to unpack protonmail-bridge_2.3.0-1_amd64.deb ...
Unpacking protonmail-bridge (2.3.0-1) over (2.3.0-1) ...
dpkg: dependency problems prevent configuration of protonmail-bridge:
protonmail-bridge depends on fonts-dejavu; however:
Package fonts-dejavu is not installed.

dpkg: error processing package protonmail-bridge (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
protonmail-bridge

This happy little message then popped up from Software Updater.

The package system is broken

Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

protonmail-bridge: Depends: libgcc1 but it is not installed
Depends: fonts-dejavu but it is not installed

Eventually it dawned on me to be root in sudo...later on.

lou@lou-zorin:~/Downloads$ apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

sudo dpkg -i libgcc-s1-amd64-cross_10.3.0-1ubuntu1_20.04cross1_all.deb
Selecting previously unselected package libgcc-s1-amd64-cross.
(Reading database ... 306365 files and directories currently installed.)
Preparing to unpack libgcc-s1-amd64-cross_10.3.0-1ubuntu1_20.04cross1_all.deb ...
Unpacking libgcc-s1-amd64-cross (10.3.0-1ubuntu1~20.04cross1) ...
dpkg: dependency problems prevent configuration of libgcc-s1-amd64-cross:
libgcc-s1-amd64-cross depends on gcc-10-cross-base (>= 10.3.0-1ubuntu1~20.04); however:
Package gcc-10-cross-base is not installed.

dpkg: error processing package libgcc-s1-amd64-cross (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libgcc-s1-amd64-cross

here I wake up after uttering some pirate talk...

lou@lou-zorin:~/Downloads$ sudo -i
root@lou-zorin:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
fonts-dejavu fonts-dejavu-extra gcc-10-cross-base
The following NEW packages will be installed:
fonts-dejavu fonts-dejavu-extra gcc-10-cross-base
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 1,971 kB of archives.
After this operation, 7,694 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /ubuntu focal-updates/main amd64 gcc-10-cross-base all 10.3.0-1ubuntu1~20.04cross1 [15.2 kB]
Get:2 Index of /ubuntu focal/main amd64 fonts-dejavu-extra all 2.37-1 [1,953 kB]
Get:3 Index of /ubuntu focal/universe amd64 fonts-dejavu all 2.37-1 [3,130 B]
Fetched 1,971 kB in 0s (10.1 MB/s)
Selecting previously unselected package gcc-10-cross-base.
(Reading database ... 306370 files and directories currently installed.)
Preparing to unpack .../gcc-10-cross-base_10.3.0-1ubuntu1~20.04cross1_all.deb ...
Unpacking gcc-10-cross-base (10.3.0-1ubuntu1~20.04cross1) ...
Selecting previously unselected package fonts-dejavu-extra.
Preparing to unpack .../fonts-dejavu-extra_2.37-1_all.deb ...
Unpacking fonts-dejavu-extra (2.37-1) ...
Selecting previously unselected package fonts-dejavu.
Preparing to unpack .../fonts-dejavu_2.37-1_all.deb ...
Unpacking fonts-dejavu (2.37-1) ...
Setting up gcc-10-cross-base (10.3.0-1ubuntu1~20.04cross1) ...
Setting up fonts-dejavu-extra (2.37-1) ...
Setting up libgcc-s1-amd64-cross (10.3.0-1ubuntu1~20.04cross1) ...
Setting up fonts-dejavu (2.37-1) ...
Setting up protonmail-bridge (2.3.0-1) ...
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...
root@lou-zorin:~#

root@lou-zorin:~# exit
logout

lou@lou-zorin:~/Downloads$ apt list protonmail-bridge
Listing... Done
protonmail-bridge/now 2.3.0-1 amd64 [installed,local]
lou@lou-zorin:~/Downloads$
lou@lou-zorin:~/Downloads$

Without askUbuntu and askAravisian I would be in trouble. :slight_smile:

1 Like

Just for the future what I do for fonts is I copied the fonts file from Windows and I've combined them with all the fonts on a linux system. I then keep an updated copy of the font folder in my home and a back up.

Whenever I load a new system on, I have all the fonts right there including all Microsoft fonts, not just the ones available as non-free which are limited. I only have to copy the folder to the system so it's systemwide. Takes seconds to complete over trying to reinstall everything all over again.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.