[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: app-default file for xdvi?



Hi all, recently we got the same kind of reports
which said

> packages, but I always always get the following error
> (on a blue screen, no less!):
> 
> could not find app default file for xdvi

I am not sure but I guess that this was caused by the change
of the location of XDvi.

In potato it was as follows;

$ ls -l /usr/X11R6/lib/X11/app-defaults/XDvi 
-rw-r--r--    1 root     root          126 Feb 14  1999 /usr/X11R6/lib/X11/app-defaults/XDvi

$ ls -l /usr/share/texmf/xdvi/XDvi /etc/X11/Xresources/tetex-base
lrwxrwxrwx    1 root     root           30 Sep 12 11:21 /usr/share/texmf/xdvi/XDvi -> /etc/X11/Xresources/tetex-base
-rw-r--r--    1 root     root          126 Feb 14  1999 /etc/X11/Xresources/tetex-base

(BTW, which is essential, app-defaults/XDvi or Xresources/tetex-base?)

but in sid (and woody too?)

$ ls -l /usr/share/texmf/xdvi/XDvi /etc/X11/app-defaults/XDvi
-rw-r--r--    1 root     root          126 Feb 14  1999 /etc/X11/app-defaults/XDvi
lrwxrwxrwx    1 root     root           26 Jul 25 10:04 /usr/share/texmf/xdvi/XDvi -> /etc/X11/app-defaults/XDvi

Isn't there any possibility that dpkg failed to install new
XDvi because there was an old XDvi or tetex-base?

I wondered it might be better to do the followings in preinst;

1) check if there exists /etc/X11/Xresources/tetex-base

2)  if it exists, copy it to /etc/X11/app-defaults/XDvi
2') if not then do nothing

The above is,of course, only rough idea.

Best regards,		     2001.10.23

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Tokushima Univ.



Reply to: