Missing fonts package

Issues related to applications and software problems and general support
Post Reply
lattimro
Posts: 28
Joined: 2021/06/14 13:38:19

Missing fonts package

Post by lattimro » 2021/07/06 18:37:48

Hello Gents,

Can anybody give me a clue what is missing in fresh installed CentOS 8 (Workstation)? I wanted to install Virtualbox guest-additions and I guess some fonts packages are missing. Screenshot attached for clarity.

Thanks a lot!
Attachments
Screenshot_2021-07-06_12-26-26.png
Screenshot_2021-07-06_12-26-26.png (61.27 KiB) Viewed 1606 times

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Missing fonts package

Post by Mike_Rochefort » 2021/07/06 19:01:09

Those errors are coming up because you seem to not have fontconfig installed.

dnf install fontconfig

Performing a query can help you figure out what you're missing (depending on the package):

Code: Select all

dnf rq --whatprovides /etc/fonts/conf.d/10-hinting-slight.conf
dnf rq --list fontconfig
Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

lattimro
Posts: 28
Joined: 2021/06/14 13:38:19

Re: Missing fonts package

Post by lattimro » 2021/07/06 20:55:55

It is already installed:

[root@centos8 brad]# dnf install fontconfig
Last metadata expiration check: 0:36:29 ago on Tue 06 Jul 2021 04:17:12 PM EDT.
Package fontconfig-2.13.1-3.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@centos8 brad]# dnf rq --whatprovides /etc/fonts/conf.d/10-hinting-slight.conf
Last metadata expiration check: 0:46:29 ago on Tue 06 Jul 2021 04:17:12 PM EDT.
fontconfig-0:2.13.1-3.el8.i686
fontconfig-0:2.13.1-3.el8.x86_64
[root@centos8 brad]# dnf rq --list fontconfig
Last metadata expiration check: 0:41:48 ago on Tue 06 Jul 2021 04:17:12 PM EDT.
/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/20-unhint-small-vera.conf
/etc/fonts/conf.d/25-unhint-nonlatin.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/40-nonlatin.conf
/etc/fonts/conf.d/45-generic.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/69-unifont.conf
/etc/fonts/conf.d/80-delicious.conf
/etc/fonts/conf.d/90-synthetic.conf
/etc/fonts/conf.d/README
/etc/fonts/fonts.conf
/usr/bin/fc-cache
/usr/bin/fc-cache-32
/usr/bin/fc-cat
/usr/bin/fc-conflist
/usr/bin/fc-list
/usr/bin/fc-match
/usr/bin/fc-pattern
/usr/bin/fc-query
/usr/bin/fc-scan
/usr/bin/fc-validate
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/5ed11338a8bbd15bf29f575fbe40bd4e0eb167
/usr/lib/.build-id/33
/usr/lib/.build-id/33/d65e5e7ecc941bb74987890495ae22daccaf9b
/usr/lib/.build-id/55
/usr/lib/.build-id/55/5c6701b48bd7b872ee23b2cd4c24eeacb1e614
/usr/lib/.build-id/56
/usr/lib/.build-id/56/e7664c54da4f6558227d3db2a4d5ff1adf78c4
/usr/lib/.build-id/74
/usr/lib/.build-id/74/8ada38b5268ad8900dd64fedc76f29672d9e68
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/3f6d4a7c1c97f5a81e451be2ad98d9f80ef620
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/7d631f6c0560d4bd6d406547c4c3f490b7dd15
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/131db91d6fb2a32e24a4c74d9a1b387e68e872
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/4ca172cbf6d578b9d77e3d0a1b36b513308e8c
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/eb5b1bc7121eea5b26c713935195efbdce1158
/usr/lib/fontconfig/cache
/usr/lib/libfontconfig.so.1
/usr/lib/libfontconfig.so.1.12.0
/usr/share/doc/fontconfig
/usr/share/doc/fontconfig/AUTHORS
/usr/share/doc/fontconfig/README
/usr/share/doc/fontconfig/fontconfig-user.html
/usr/share/doc/fontconfig/fontconfig-user.txt
/usr/share/fontconfig/conf.avail/10-autohint.conf
/usr/share/fontconfig/conf.avail/10-hinting-full.conf
/usr/share/fontconfig/conf.avail/10-hinting-medium.conf
/usr/share/fontconfig/conf.avail/10-hinting-none.conf
/usr/share/fontconfig/conf.avail/10-hinting-slight.conf
/usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf
/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
/usr/share/fontconfig/conf.avail/10-unhinted.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf
/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf
/usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf
/usr/share/fontconfig/conf.avail/30-metric-aliases.conf
/usr/share/fontconfig/conf.avail/40-nonlatin.conf
/usr/share/fontconfig/conf.avail/45-generic.conf
/usr/share/fontconfig/conf.avail/45-latin.conf
/usr/share/fontconfig/conf.avail/49-sansserif.conf
/usr/share/fontconfig/conf.avail/50-user.conf
/usr/share/fontconfig/conf.avail/51-local.conf
/usr/share/fontconfig/conf.avail/60-generic.conf
/usr/share/fontconfig/conf.avail/60-latin.conf
/usr/share/fontconfig/conf.avail/65-fonts-persian.conf
/usr/share/fontconfig/conf.avail/65-khmer.conf
/usr/share/fontconfig/conf.avail/65-nonlatin.conf
/usr/share/fontconfig/conf.avail/69-unifont.conf
/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf
/usr/share/fontconfig/conf.avail/80-delicious.conf
/usr/share/fontconfig/conf.avail/90-synthetic.conf
/usr/share/licenses/fontconfig
/usr/share/licenses/fontconfig/COPYING
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig.mo
/usr/share/man/man1/fc-cache.1.gz
/usr/share/man/man1/fc-cat.1.gz
/usr/share/man/man1/fc-conflist.1.gz
/usr/share/man/man1/fc-list.1.gz
/usr/share/man/man1/fc-match.1.gz
/usr/share/man/man1/fc-pattern.1.gz
/usr/share/man/man1/fc-query.1.gz
/usr/share/man/man1/fc-scan.1.gz
/usr/share/man/man1/fc-validate.1.gz
/usr/share/man/man5/fonts-conf.5.gz
/usr/share/xml/fontconfig
/usr/share/xml/fontconfig/fonts.dtd
/etc/fonts/conf.d/10-hinting-slight.conf
/etc/fonts/conf.d/10-scale-bitmap-fonts.conf
/etc/fonts/conf.d/20-unhint-small-vera.conf
/etc/fonts/conf.d/25-unhint-nonlatin.conf
/etc/fonts/conf.d/30-metric-aliases.conf
/etc/fonts/conf.d/40-nonlatin.conf
/etc/fonts/conf.d/45-generic.conf
/etc/fonts/conf.d/45-latin.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/50-user.conf
/etc/fonts/conf.d/51-local.conf
/etc/fonts/conf.d/60-generic.conf
/etc/fonts/conf.d/60-latin.conf
/etc/fonts/conf.d/65-fonts-persian.conf
/etc/fonts/conf.d/65-nonlatin.conf
/etc/fonts/conf.d/69-unifont.conf
/etc/fonts/conf.d/80-delicious.conf
/etc/fonts/conf.d/90-synthetic.conf
/etc/fonts/conf.d/README
/etc/fonts/fonts.conf
/usr/bin/fc-cache
/usr/bin/fc-cache-64
/usr/bin/fc-cat
/usr/bin/fc-conflist
/usr/bin/fc-list
/usr/bin/fc-match
/usr/bin/fc-pattern
/usr/bin/fc-query
/usr/bin/fc-scan
/usr/bin/fc-validate
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/88667fde54212cf03e579ff6d83850079c2ded
/usr/lib/.build-id/29
/usr/lib/.build-id/29/ddad40159eeea3c3e9ef3106a2fb637f758865
/usr/lib/.build-id/40
/usr/lib/.build-id/40/b532f29abd5c819d77424d24b6398efad6138c
/usr/lib/.build-id/46
/usr/lib/.build-id/46/42caa3c880cdc90d0f81bbbdb556e9fbfb289f
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/544d59bd3b0b70671876940ad687021b6f4a38
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/916ce5b45326393e7ece137490237944640000
/usr/lib/.build-id/81
/usr/lib/.build-id/81/f2fca57ab6cefa87d69bae27cb0ac99ec8307b
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/4955d358bbe97523877d2b2f594ba1fe6473c8
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/b2e42a2457e867c69dc2041aaa23ccd163633e
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/bfd6c259b54daa3ef7d0bebafbcd02c5aee815
/usr/lib/fontconfig/cache
/usr/lib64/libfontconfig.so.1
/usr/lib64/libfontconfig.so.1.12.0
/usr/share/doc/fontconfig
/usr/share/doc/fontconfig/AUTHORS
/usr/share/doc/fontconfig/README
/usr/share/doc/fontconfig/fontconfig-user.html
/usr/share/doc/fontconfig/fontconfig-user.txt
/usr/share/fontconfig/conf.avail/10-autohint.conf
/usr/share/fontconfig/conf.avail/10-hinting-full.conf
/usr/share/fontconfig/conf.avail/10-hinting-medium.conf
/usr/share/fontconfig/conf.avail/10-hinting-none.conf
/usr/share/fontconfig/conf.avail/10-hinting-slight.conf
/usr/share/fontconfig/conf.avail/10-no-sub-pixel.conf
/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf
/usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf
/usr/share/fontconfig/conf.avail/10-unhinted.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf
/usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf
/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf
/usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf
/usr/share/fontconfig/conf.avail/30-metric-aliases.conf
/usr/share/fontconfig/conf.avail/40-nonlatin.conf
/usr/share/fontconfig/conf.avail/45-generic.conf
/usr/share/fontconfig/conf.avail/45-latin.conf
/usr/share/fontconfig/conf.avail/49-sansserif.conf
/usr/share/fontconfig/conf.avail/50-user.conf
/usr/share/fontconfig/conf.avail/51-local.conf
/usr/share/fontconfig/conf.avail/60-generic.conf
/usr/share/fontconfig/conf.avail/60-latin.conf
/usr/share/fontconfig/conf.avail/65-fonts-persian.conf
/usr/share/fontconfig/conf.avail/65-khmer.conf
/usr/share/fontconfig/conf.avail/65-nonlatin.conf
/usr/share/fontconfig/conf.avail/69-unifont.conf
/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf
/usr/share/fontconfig/conf.avail/80-delicious.conf
/usr/share/fontconfig/conf.avail/90-synthetic.conf
/usr/share/licenses/fontconfig
/usr/share/licenses/fontconfig/COPYING
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig-conf.mo
/usr/share/locale/zh_CN/LC_MESSAGES/fontconfig.mo
/usr/share/man/man1/fc-cache.1.gz
/usr/share/man/man1/fc-cat.1.gz
/usr/share/man/man1/fc-conflist.1.gz
/usr/share/man/man1/fc-list.1.gz
/usr/share/man/man1/fc-match.1.gz
/usr/share/man/man1/fc-pattern.1.gz
/usr/share/man/man1/fc-query.1.gz
/usr/share/man/man1/fc-scan.1.gz
/usr/share/man/man1/fc-validate.1.gz
/usr/share/man/man5/fonts-conf.5.gz
/usr/share/xml/fontconfig
/usr/share/xml/fontconfig/fonts.dtd

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Missing fonts package

Post by Mike_Rochefort » 2021/07/06 21:15:43

Ah, that's my bad. I was in the middle of something while I responded earlier and missed the "syntax error" at the end of the lines. Is VirtualBox failing to install/configure completely, or are you just checking that these errors are harmless? My apologies, I don't have a lot of VBox experience, I nearly exclusively use KVM.

I'll try spinning this up on an 8.4 Workstation image to see if I can replicate.

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: Missing fonts package

Post by Mike_Rochefort » 2021/07/06 22:22:07

I just did a test run with the following:

- CentOS 8.4.2105, selected just the Workstation group (no supplementary groups) in Anaconda (installer)
- Immediately updated the system and rebooted
- Performed the following package commands:

Code: Select all

# As root or with sudo
$ dnf -y install @development
$ dnf -y install epel-release
$ dnf -y install dkms
$ dnf config-manager --add-repo https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
$ rpm --import https://www.virtualbox.org/download/oracle_vbox.asc
$ dnf -y install VirtualBox-6.1
lsmod was reporting the handful of vbox related kmods as running and I didn't run into any issues running VirtualBox itself. Does this process look any different in comparison to what you're doing?

Edit: Caught my mistake, running a guest additions install now (I am not having a good day with this smh).

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

sml
Posts: 305
Joined: 2020/01/17 09:01:44

Re: Missing fonts package

Post by sml » 2021/07/07 06:43:59

dnf rq stands for dnf repoquery. It shows info about packages in the repository. For querying locally installed packages, use rpm -q. That said, I'd like to see the output of

Code: Select all

rpm -V fontconfig
and

Code: Select all

rpm -qcs fontconfig

lattimro
Posts: 28
Joined: 2021/06/14 13:38:19

Re: Missing fonts package

Post by lattimro » 2021/07/08 00:32:33

momentarily I have no access to GUI to post the entire output of rpm -V fontconfig
Attachments
Screenshot_2021-07-07_20-31-39.png
Screenshot_2021-07-07_20-31-39.png (240.17 KiB) Viewed 1534 times
Screenshot_2021-07-07_20-25-40.png
Screenshot_2021-07-07_20-25-40.png (145.74 KiB) Viewed 1534 times

sml
Posts: 305
Joined: 2020/01/17 09:01:44

Re: Missing fonts package

Post by sml » 2021/07/08 06:29:49

So, files from fontconfig have wrong checksums. Try

Code: Select all

dnf reinstall fontconfig

lattimro
Posts: 28
Joined: 2021/06/14 13:38:19

Re: Missing fonts package

Post by lattimro » 2021/07/13 19:11:58

@ smi: I think reinstall fix it. Thanks!

Post Reply