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

Bug#772167: marked as done (Interrupted upgrade breaks system)



Your message dated Sat, 6 Dec 2014 08:57:42 +0900
with message-id <20141205235742.GG9124@auth.logic.tuwien.ac.at>
and subject line Re: Bug#772167: Interrupted upgrade breaks system
has caused the Debian Bug report #772167,
regarding Interrupted upgrade breaks system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
772167: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772167
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- 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 ---

Reply to: