Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#38219 - [terminus-font] error on install if no other font has been installed before

Attached to Project: Community Packages
Opened by Robert (dlz) - Saturday, 21 December 2013, 16:59 GMT
Last edited by Alexander F. Rødseth (xyproto) - Saturday, 08 February 2014, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


On a fresh installed Arch I got the follwing error trying to install "terminus-font" (german):
[ALPM-SCRIPTLET] /tmp/alpm_bKCuFb/.INSTALL: Zeile 2: pushd: etc/fonts/conf.d: Datei oder Verzeichnis nicht gefunden
[ALPM-SCRIPTLET] /tmp/alpm_bKCuFb/.INSTALL: Zeile 4: popd: Der Verzeichnisstapel ist leer.
[ALPM-SCRIPTLET] /tmp/alpm_bKCuFb/.INSTALL: Zeile 5: fc-cache: Kommando nicht gefunden.
[ALPM-SCRIPTLET] /tmp/alpm_bKCuFb/.INSTALL: Zeile 6: mkfontscale: Kommando nicht gefunden.
[ALPM-SCRIPTLET] /tmp/alpm_bKCuFb/.INSTALL: Zeile 7: mkfontdir: Kommando nicht gefunden.

Additional info:
If I install "ttf-dejavu" first, no errors occur.
Take a look at "terminus-font.install":
"fc-cache", "mkfontscale", "mkfontscale" are dependencies.
Also "etc/fonts/conf.d" directory is needed.

Steps to reproduce:
Install "terminus-font" on fresh installed (clean) Arch.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Saturday, 08 February 2014, 20:06 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Sunday, 29 December 2013, 22:08 GMT
Hi, thanks for reporting.

I will update the .install files to only perform the problematic steps if fc-cache, mkfontscale and mkfontscale are available.
It's nice to be able to install terminus on headless servers without dragging along X.

It is likely that terminus should really be two packages. One for the ttf fonts and one for the others.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 18 January 2014, 19:06 GMT
Will package this as a split package in the near future.
Comment by Alexander F. Rødseth (xyproto) - Saturday, 08 February 2014, 20:06 GMT
Added dependencies on X back. Postponng creating a split package. The other font-packages install for X and console and requires X.