[nflug] apt ineptitude

Cyber Source peter at thecybersource.com
Wed Dec 6 08:30:31 EST 2006


Stephen Burke wrote:
> Cyber Source wrote:
>> Stephen Burke wrote:
>>
>>> Hi all,
>>>
>>> It seems I am unable to do an apt-get upgrade ... dist-upgrade without
>>> screwing things up royally. Not quite sure what I'm doing wrong, but
>>> recently I did apt-get update, upgrade, dist-upgrade (one at a time)
>>> on an elive (debian) system and apparently lost some crucial fonts.
>>> Most things still work ok, but the popup automount type windows are
>>> all showing little squares instead of letters. I get the same in the
>>> mplayer menu, and gftp is entirely composed of squares. It probably
>>> happens elsewhere, but that's all I've noticed so far.
>>>
>>> I'm assuming that some very basic font has gone missing, but I have no
>>> idea which or where to begin looking for it. Any ideas?
>>>
>>> Thanks,
>>> S.
>>> _______________________________________________
>>> nflug mailing list
>>> nflug at nflug.org
>>> http://www.nflug.org/mailman/listinfo/nflug
>>>
>>
>> Sounds like something got boned all right. I would start by having a
>> look at /var/log/dpkg.log, /var/log/aptitude.log and your
>> /var/log/Xorg logs
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>
> Indeed. Thanks for the tip. Nothing in the first two, but I found this
> in Xorg.0.log:
>
> (WW) The directory "/usr/X11R6/lib/X11/fonts/Speedo" does not exist.
> Entry deleted from font path.
> (WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
> Entry deleted from font path.
> (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
> Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/ttf/western" does not exist.
> Entry deleted from font path.
> (WW) The directory "/usr/share/fonts/ttf/decoratives" does not exist.
> Entry deleted from font path.
> (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/truetype".
> Entry deleted from font path.
> (Run 'mkfontdir' on "/usr/share/fonts/truetype").
> (WW) `fonts.dir' not found (or not valid) in
> "/usr/share/fonts/truetype/openoffice".
> Entry deleted from font path.
> (Run 'mkfontdir' on "/usr/share/fonts/truetype/openoffice").
> (WW) `fonts.dir' not found (or not valid) in
> "/usr/share/fonts/truetype/ttf-bitstream-vera".
> Entry deleted from font path.
> (Run 'mkfontdir' on "/usr/share/fonts/truetype/ttf-bitstream-vera").
> (WW) The directory "/usr/share/fonts/latex-ttf-fonts" does not exist.
> Entry deleted from font path.
> (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> does not exist.
> Entry deleted from font path.
> (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID" does
> not exist.
> Entry deleted from font path.
> (**) FontPath set to
> "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/Type1"
>
> (**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (**) ModulePath set to "/usr/X11R6/lib/modules"
>>
>
> Definitely looks ugly.
>
> I follwed the advice there like so:
>
> root at yasuo[/home/qfwfq]# mkfontdir /usr/share/fonts/truetype
> root at yasuo[/home/qfwfq]# mkfontdir /usr/share/fonts/truetype/openoffice
> root at yasuo[/home/qfwfq]# mkfontdir
> /usr/share/fonts/truetype/ttf-bitstream-vera
>
> but I still have squares instead of letters.
>
> I was going to poke around in synaptic for fonts, but I now see that
> it is entirely little squares. Is there a particular font package that
> I can just apt-get?
>
> Thanks again,
> S.
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
Your logs say the directory is not there. Do an "updatedb" then do a
search for the font directory or fonts it says are missing. You also may
have some packages that didn't get installed all the way or configured
all the way and they are hanging in limbo, run "apt-get -f install" to
see if any packages arent installed/configured all the way. I love to
use "apt-cache search --names-only package" when searching for available
packages. Replace "package" in the above line to "font" and look at the
myriad of choices for fonts. You should also verify your repos for apt.
I suspect though running "apt-get -f install" will show your culprit of
the problems. Or search on your system and find where all your fonts went.
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list