On Fri, 2 May 2008 09:21:50 +0200
Norbert Preining <[EMAIL PROTECTED]> wrote:

> >     Not replacing deleted config
> > file /etc/texmf/texmf.d/95NonPath.cnf
> 
> You seem to have removed the config files, sorry, there is no way
> around that. If you have done that without knowing you have to install
> tex-common via dpkg and --install-missing (AFAIR) command line to get
> the removed config files back.

I don't recall doing much anything with those config files,
but a run of:
 
        # as root
        % zgrep -h "tex-common" /var/log/dpkg.log* | sort -g | gzip > 
/tmp/tc.log.gz

...(attached) shows this may have been an issue for 6 months; odds are your
informed opinion is better than my fumbling.

On 'dpkg' and '--install-missing', there's no such option, but it's a good clue,
and 'man dpkg' has a '--force-confmiss'; let's try that: 

        % dpkg -i --force-confmiss 
/var/cache/apt/archives/tex-common_1.11_all.deb
        {...}
        update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf 
missing.
        {...}

Hmm, maybe the config files are in a different package.  'dlocate'
reports those are in 'tetex-bin':

        % dlocate /etc/texmf/texmf.d/05TeXMF.cnf /etc/texmf/texmf.d/15Plain.cnf 
/etc/texmf/texmf.d/55Fonts.cnf /etc/texmf/texmf.d/65BibTeX.cnf 
/etc/texmf/texmf.d/75DviPS.cnf /etc/texmf/texmf.d/85Misc.cnf /etc/texmf/ 
texmf.d/95NonPath.cnf /etc/texmf/texmf.d/05TeXMF.cnf    
        tetex-bin: /etc/texmf/texmf.d/95NonPath.cnf
        tetex-bin: /etc/texmf/texmf.d/85Misc.cnf
        tetex-bin: /etc/texmf/texmf.d/75DviPS.cnf
        tetex-bin: /etc/texmf/texmf.d/65BibTeX.cnf
        tetex-bin: /etc/texmf/texmf.d/55Fonts.cnf
        tetex-bin: /etc/texmf/texmf.d/15Plain.cnf
        tetex-bin: /etc/texmf/texmf.d/05TeXMF.cnf

Now here I find there was no 'tetex-bin' in my cache, (a recent space
saving backup), so here I installed the latest with 'apt-get'.

Try again with the latest 'tetex-bin':

        % dpkg -i --force-confmiss 
/var/cache/apt/archives/tetex-bin_2007-14_all.deb ; echo $?
        (Reading database ... 234008 files and directories currently installed.)
        Preparing to replace tetex-bin 2007-14 (using 
.../tetex-bin_2007-14_all.deb) ...
        Unpacking replacement tetex-bin ...
        Setting up tetex-bin (2007-14) ...
        0

Looks OK, did it work?  No:

        % ls -l /etc/texmf/texmf.d/05TeXMF.cnf /etc/texmf/texmf.d/15Plain.cnf 
/etc/texmf/texmf.d/55Fonts.cnf /etc/texmf/texmf.d/65BibTeX.cnf 
/etc/texmf/texmf.d/75DviPS.cnf /etc/texmf/texmf.d/85Misc.cnf 
/etc/texmf/texmf.d/95NonPath.cnf /etc/texmf/texmf.d/05TeXMF.cnf
        ls: cannot access /etc/texmf/texmf.d/05TeXMF.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/15Plain.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/55Fonts.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/65BibTeX.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/75DviPS.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/85Misc.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/95NonPath.cnf: No such file or 
directory
        ls: cannot access /etc/texmf/texmf.d/05TeXMF.cnf: No such file or 
directory

Maybe the new 'tetex-bin' is faulty...

        % dlocate -conf tetex-bin
        Package tetex-bin not installed or has no conffiles.

        # update the 'dlocate' database, in case something has changed.
        % update-dlocatedb 
        % dlocate /etc/texmf/texmf.d/05TeXMF.cnf /etc/texmf/texmf.d/15Plain.cnf 
/etc/texmf/texmf.d/55Fonts.cnf /etc/texmf/texmf.d/65BibTeX.cnf 
/etc/texmf/texmf.d/75DviPS.cnf /etc/texmf/texmf.d/85Misc.cnf 
/etc/texmf/texmf.d/95NonPath.cnf /etc/texmf/texmf.d/05TeXMF.cnf ; echo $?
        1

It looks like 'tetex-bin' is missing some files, or it used to have them
and they're now in some other package.  What package has those config files?

HTH...

Attachment: tc.log.gz
Description: Binary data

Reply via email to