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

Bug#668510: tex-common: Installation of tex-common failed. "update-language-dat: cannot read /etc/texmf/hyphen.d/00tex.cnf"

Thank a lot!

First,  i'm sorry for reporting a bug on that. My fully.

Second, it partially worked:

Deleting files manually was probably my error.

The exact command is
dpkg --force-confmiss -i /var/cache/apt/archives/tex-common_3.7_all.deb

after that, I installed tex-live, purged it, and reinstall, and only then, it's all worked.

Thanks a lot!


On Fri, Apr 13, 2012 at 1:30 AM, Norbert Preining <preining@logic.at> wrote:
Hi Ronen,

severity 668510 normal
tags 668510 + unreproducible moreinfo

On Do, 12 Apr 2012, Ronen Abravanel wrote:
>    * What led up to the situation?
> Installation,
> "apt-get install tex-common "

What was the state of tex-common *before* installation?
removed or purged?

> AFTER I failed over and over again with normal installation, I tried to extract
> the missing file (00tex.cnf) from the .deb file, and copy it to
> /etc/texmf/hyphen.d/00tex.cnf

etc etc.

My wild guess, coming also from what you wrote here:
> Also,  I tried to remove any tex-related package, delete /etc/texmf and install
> again, and the problam is the same.

Did you *PURGE* the package?
Because if you *purge* the package and then remove the remaining files
manually in /etc/texmf, then a reinstallation will NOT reinstatiate
these files, because it was *your* wish to remove these files.
That is Debian policy.

So my theory is that you just simply shot your system by removing
conffiles that are still maintained by dpkg, instead of purging
the packages.

In case you don't udnerstand the difference between remove and purge,
I recommend one of the many Debian handbooks or quick starters.

Now,how to *SOLVE* your problem:

First I would say:
       dpkg -force-confmiss /var/cache/apt/archives/tex-common_3.7_all.deb
after that
       apt-get install texlive
that should work.

If that does NOT work, then you have delete MORE conffiles then only
tex-common. In this case the following procedure might show useful:
Search for all package in removed but NOT purged state:
       COLUMNS=200 dpkg -l | grep ^rc
then search for packages like tex-common etc
       COLUMNS=200 dpkg -l | grep ^rc | grep tex
select the packages that are TeX related (tex-common, any texlive-* etc)
and call
       aptitude purge <those packages>
after that apt-get install texlive

Best wishes

Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
A lurid facial bruise which everyone politely omits to mention because
it's obvious that you had a punch-up with your spouse last night - but
which into a door. It is useless to volunteer the true explanation
because nobody will believe it.
                       --- Douglas Adams, The Meaning of Liff

Reply to: