Re: Latest potato killed X: could not open default font 'fixed'
>>>"Dwayne C . Litzenberger" wrote:
> On Mon, Nov 22, 1999 at 07:56:26PM +0100, peter karlsson wrote:
> > Dwayne C . Litzenberger:
> >
> > > I'm getting that idiot fatal server error, "could not open default font
> > > 'fixed'", again. My FontPath is /usr/X11R6/lib/X11/fonts/misc and I di=
> d a
> > > fresh mkfontdir in that directory. Still no go. I have both xfs and
> > > xfstt running, and nothing. What just happened?
> >
> > Are your fonts still there? Is you xfonts-base package correctly installe=
> d?
> >
> > > I assume this has happened to others who upgraded to potato 1999-Nov-21.
> > > Anyone got it fixed?
> >
> > I just did an apt update a few minutes ago, and X works fine here.
>
>
> Okay, I fixed it, but I don't know why it works. I copied
> /etc/X11/fonts/misc/xfonts-base.alias to
> /usr/X11R6/lib/X11/fonts/misc/fonts.alias (which didn't exist for some
> reason).
>
> It's a quick fix, but I would appreciate knowing what's actually going on.
Interesting. I was not aware of this /etc/X11/fonts/*/*.alias stuff
but a quick look shows that it is the typical debian solution:
There is one config file (fonts.alias) and several packages want to add
to it. So each package has it's own file (/etc/X11/fonts/*/<package>.alias)
and there is a program that that merges them together
(/usr/sbin/update-fonts-alias). This script is run in postinst and
postrm scripts (see /var/lib/dpkg/info/<package>.{postrm,postinst}
during package installation/removal.
Try: grep update-fonts- /var/lib/dpkg/info/xfonts*
and browse /usr/sbin/update-fonts-*
for the details :)
Looks like for whatever reason one of the post{inst,rm} script of a xfonts
package you installed had problems to run update-fonts-aliases.
Achim
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy@lion.austin.ibm.com
Reply to: