Skip to content

error message in local.conf

I can't update any font packages because it shows the same error: Fontconfig error: "/etc/fonts/local.conf", line 1: XML declaration not well-formed.

​

but i haven't changed anything since i installed it yesterday

​

​

<?xml version=1.0?> <!DOCTYPE fontconfig SYSTEM fonts.dtd> <fontconfig> <alias>

<family>sans-serif</family>

<prefer>

<family>Noto Sans</family>

<family>Noto Color Emoji</family>

<family>Noto Emoji</family>

<family>DejaVu Sans</family>

</prefer> </alias>

​

<alias>

<family>serif</family>

<prefer>

<family>Noto Serif</family>

<family>Noto Color Emoji</family>

<family>Noto Emoji</family>

<family>DejaVu Serif</family>

</prefer> </alias>

​

<alias>

<family>monospace</family>

<prefer>

<family>Noto Mono</family>

<family>Noto Color Emoji</family>

<family>Noto Emoji</family>

<family>DejaVu Sans Mono</family>

</prefer> </alias> </fontconfig>
1 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
vlbbme

Author

4
posts
16
comments
8
media
View profile

3 comments

<?xml version=1.0?>

Try with double quotes included:

<?xml version="1.0"?>
3 points

found out, it was missing quotes in '1.0' and fonts.dtd'

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.