The requested FontFamily could not be found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keepass2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I upgraded to "impish" recently, and my KeePass2 installation stopped working. When launched in the Terminal, the following error is shown, indicating that a font is missing, but I can't tell which font it wants and how to install it. It should be a dependency, if possible.
System.
at System.
at System.
at System.
at System.
at (wrapper remoting-
at System.
at System.
at System.
at System.
at KeePass.
at (wrapper remoting-
at KeePass.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: keepass2 2.47+dfsg-2
ProcVersionSign
Uname: Linux 5.13.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Dec 27 09:26:13 2021
PackageArchitec
SourcePackage: keepass2
UpgradeStatus: Upgraded to impish on 2021-12-19 (8 days ago)
I found out the cause digging through strace, and while the bug doesn't appear to be in the keepass2 package itself, it's a weird one:
My "/usr/share/ fonts/msfonts" had mode 700, preventing mono from accessing the Microsoft fonts. I had to "chmod +rx /usr/share/ fonts/msfonts" , and then KeePass2 started.
"dpkg -S" says no package is claiming that directory, and grepping for "msfonts" in /var/lib/dpkg/info returns no reference to this directory. I've deleted that entire directory and it doesn't seem to be needed. The reason for the crash was just that during the scan access to it was denied.