--- Begin Message ---
Package: texlive-base
Version: 2014.20141024-1
Severity: minor
Hi Norbert,
I just did a dist-upgrade on a laptop I hadn't used for a few weeks.
I didn't check that the power cord was plugged in, and the laptop crashed
during the upgrade.
After rebooting, I couldn't get APT to recover because the file
/usr/share/texlive/texmf-dist/ls-R was empty. I needed to manually
reinstall textlive-base to get it fixed.
I don't know if you consider this a bug -- if you don't, please close this
bug report. (And I'll troll the Debian mailing lists complaining about how
DDs routinely close perfectly valid bug reports.)
(Just kidding.)
-- Juliusz
--- End Message ---
--- Begin Message ---
HI Juliusz,
> I just did a dist-upgrade on a laptop I hadn't used for a few weeks.
> I didn't check that the power cord was plugged in, and the laptop crashed
> during the upgrade.
Well done ;-)
> After rebooting, I couldn't get APT to recover because the file
> /usr/share/texlive/texmf-dist/ls-R was empty. I needed to manually
> reinstall textlive-base to get it fixed.
Hmm, I guess you mean that the tex-common triggers didn't run through,
that is bad indeed.
I *could* add a
mktexlsr
call before each and every command, that would fix your problem,
but would bring the wrath of many other onto me, because mktexlsr
takes quite some time.
I have factored out all the calls so tha tonly the necessary
ls-R files are recreated, which reduces the run time (= waiting time)
significantly. See old bug reports "why run mktexlsr on each and every
package" etc.
In your case, reinstallation of texlive-base fixed it, but there was
a much simpler option, run (as root)
mktexlsr /usr/share/texlive/texmf-dist
much quicker ;-)
I am closing it, as I don't consider this one instance a reason to
add more mktexlsr calls sprinkled through the tex-common code
and increasing waiting time on each upgrade.
Hope you agree with me :-)
Enjoy
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
--- End Message ---