unifont-bin is not able to find /usr/lib/X11/fonts/misc directory

Bug #122565 reported by Shirish Agarwal
12
Affects Status Importance Assigned to Milestone
unifont (Ubuntu)
Invalid
Undecided
MOTU

Bug Description

Binary package hint: unifont

 I tried installing unifont and unifont-bin 1:1.0-4ubuntu1 on gutsy

The same error while installing & uninstalling unifont

Setting up unifont (1:1.0-4ubuntu1) ...
warning: /usr/lib/X11/fonts/misc does not exist or is not a directory

This is while installing

The same error while purging or uninstalling unifont

Removing unifont ...
warning: /usr/lib/X11/fonts/misc does not exist or is not a directory
Purging configuration files for unifont ...
warning: /usr/lib/X11/fonts/misc does not exist or is not a directory
Removing unifont-bin ...

Please look into it.

Martin Ahnelöv (gasten)
Changed in unifont:
assignee: nobody → motu
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

An update. I went to /usr/lib/X11 , there is no fonts sub-directory, should there be one by default or its inability of the installer to create the two sub-directories which is giving the issue.

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

A little bit more update I did this :-

shirish@Mugglewille:~$ dpkg -L unifont
/.
/usr
/usr/share
/usr/share/fonts
/usr/share/fonts/X11
/usr/share/fonts/X11/misc
/usr/share/fonts/X11/misc/unifont.pcf.gz
/usr/share/doc
/usr/share/doc/unifont
/usr/share/doc/unifont/Readme.gz
/usr/share/doc/unifont/copyright
/usr/share/doc/unifont/changelog.Debian.gz

Now while there is an archive in /usr/share/fonts/X11/misc/unifont.pcf.gz & there are other font archives files there is still nothing of anything in /usr/lib/X11/

Revision history for this message
Paul Hardy (unifoundry) wrote :

This is not a bug in the unifont-bin package per se. It is a bug in the invoked update-fonts-dir shell script. I ran into this same problem while trying to package unifont for the Etch release of Debian. I'll post a reply from the point of view of Etch. I or someone else can follow up later with Ubuntu versions later.

The update-fonts-dir version in Etch will always print a warning if /usr/lib/X11/fonts doesn't exist.

The update-fonts-dir man page is also out of date. It gives two options for telling update-fonts-dir that you're installing X11R7 fonts, which go in /usr/share/fonts/X11 (and therefore update-fonts-dir shouldn't be looking in /usr/lib/X11/fonts). Those options are null operations. The update-fonts-dir script ignores those command-line options, then always looks in /usr/share/fonts/X11 *and* in /usr/lib/X11/fonts.

I think this bug should probably be closed for unifont-bin, and a new one opened for update-fonts-dir if it doesn't exist already, and if it hasn't been fixed in its latest Ubuntu version.

Paul Hardy
GPG Key ID: E6E6E390

Revision history for this message
Paul Hardy (unifoundry) wrote :

Ubuntu 8.04 (Hardy Heron) contains a version of update-fonts-dir that was modified 2007-11-13. That version no longer exhibits this bug. For example,

     /usr/sbin/update-fonts-dir misc

will only look in /usr/share/fonts/X11/misc now, and no longer in /usr/lib/X11/fonts/misc. Therefore this bug can be closed.

Paul Hardy
GPG Key ID: E6E6E390

Revision history for this message
Hew (hew) wrote :

Closing this bug based on the above comment. Thanks for your info.

Changed in unifont:
status: New → Invalid
Revision history for this message
Steve Beattie (sbeattie) wrote :

Thanks Paul, I've confirmed that the unifont package installs successfully on 8.04. Marking this as a duplicate of bug 185321, as that covers the issue in the update-fonts-dir script in the xfonts-utils package.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.