On Thu, Apr 14, 2005 at 03:10:04PM +1000, Drew Parsons wrote:
> I don't think anyone understands the Debian font system ;)
> 
> Nautilus provides me with a nice graphical view of a010035l.pfb and
> tells me it's "URW Gothic L".  The URW fonts are provided by gsfonts:
> 
> $ dpkg -L gsfonts
> ...
> /usr/share/fonts/type1/gsfonts/a010013l.afm
> /usr/share/fonts/type1/gsfonts/a010015l.afm
> /usr/share/fonts/type1/gsfonts/a010033l.afm
> /usr/share/fonts/type1/gsfonts/a010035l.afm
> /usr/share/fonts/type1/gsfonts/b018012l.afm
> ...
> 
> 
> I assume defoma registers these fonts if it's installed and converts the
> afms to pfbs.  Maybe you didn't have defoma installed when gsfonts got
> installed?  Try the purge-and-reinstall trick on gsfonts and see if it
> helps.
> 
> If that works then a short workaround might be to declare a dependency
> in xprint on gsfonts and maybe defoma.
> 
> Drew
> 
> p.s. I'm CC:ing the bug report, since I think we're starting to get
> somewhere.

Purging and reinstalling gsfonts spewed out a whole bunch of errors.
However, things seem to be ok at this point.  I can open all of the
PostScript files mentioned in this bug in gv without incident now.

Part of the problem may have been my weird upgrade trajectory of
gsfonts.  I had it on hold for about a year because it made all text on
Slashdot appear bold on my system (maybe due to the font I
had chosen in Mozilla Firefox).  I recently upgraded it on April 9th:
[UPGRADE] gsfonts 8.14+urwcyr1.0.7pre35-1 -> 8.14+v8.11+urw-0.2

At that time, I didn't capture the output, but I remember it printing a
message about how the old pre-removal had an error and it was going to run
the new packages pre-removal instead.  I believe it was very similar to
the error from today's purge/reinstall which I have included here.

-Ivan

# dpkg --purge --force-depends gsfonts   
dpkg: gsfonts: dependency problems, but removing anyway as you request:
 libguppi16 depends on gsfonts.
 gs-common depends on gsfonts; however:
  Package gsfonts is to be removed.
 libwmf0.2-7 depends on gsfonts.
 libgnomeprint-data depends on gsfonts; however:
  Package gsfonts is to be removed.
 xpdf-reader depends on gsfonts (>= 6.0-1).
(Reading database ... 101890 files and directories currently installed.)
Removing gsfonts ...
Unregistering PostScript fonts...W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
dpkg: error processing gsfonts (--purge):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 gsfonts

# dpkg -l gsfonts
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
pi  gsfonts        8.14+v8.11+urw Fonts for the Ghostscript interpreter(s)

# apt-get install --reinstall gsfonts
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 14 not upgraded.
Need to get 0B/3722kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Selecting previously deselected package gsfonts.
(Reading database ... 101892 files and directories currently installed.)
Preparing to replace gsfonts 8.14+v8.11+urw-0.2 (using 
.../gsfonts_8.14+v8.11+urw-0.2_all.deb) ...
Unregistering PostScript fonts...W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
W: type1: Category not found.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement gsfonts ...
Setting up gsfonts (8.14+v8.11+urw-0.2) ...
(Re-)registering PostScript fonts...done.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to