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

Bug#666680: texlive-base: fails to upgrade from 'testing'



On 2012-04-01 05:07, Norbert Preining wrote:
> On So, 01 Apr 2012, Norbert Preining wrote:
>> On Sa, 31 MÀr 2012, Andreas Beckmann wrote:
>>>   Setting up texlive-base (2011.20120322-1) ...
>>>   Installing new version of config file /etc/texmf/texdoctk/texdocrc.defaults ...
>>>   Installing new version of config file /etc/texmf/xdvi/xdvi.cfg ...
>>>   Installing new version of config file /etc/texmf/fmt.d/10texlive-base.cnf ...
>>>   Installing new version of config file /etc/libpaper.d/texlive-base ....
>>>   Replacing config file /etc/texmf/dvips/config/config.ps with new version
>>>   Replacing config file /etc/texmf/tex/generic/config/pdftexconfig.tex with new version
>>>   Replacing config file /etc/texmf/dvipdfmx/dvipdfmx.cfg with new version
>>>   Replacing config file /etc/texmf/xdvi/XDvi with new version
>>>   dpkg: error processing texlive-base (--configure):
>>>    subprocess installed post-installation script returned error exit status 10
>>
>>
>> Very very strange.... no comment, no remark, no error,
>> everything ok, but dpkg believes it is broken ... ????
>>
>> Anyone here on debian-tex-maint having an idea?
> 
> I believe it has something to do with the
> 	ucf 
> calls to files that might not exist any more ... pleae see
> 	/var/lib/dpkg/info/texlive-base.postinst
> ... that is my only guess for now ..

if I add 'set -x' and run dpkg --configure --pending I get

...
+ [ configure = configure ]
+ old_version=2009-15
+ last_version_without_libpaper=2009-11
+ [ -n 2009-15 ]
+ /etc/libpaper.d/texlive-base
dpkg: error processing texlive-base (--configure):
 subprocess installed post-installation script returned error exit status 10

and adding set -x to the /etc/libpaper.d/texlive-base script as well
produces an additional

+ test -x /usr/share/texlive/texmf/texconfig/tcfmgr
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend /etc/libpaper.d/texlive-base
+ test -x /usr/share/texlive/texmf/texconfig/tcfmgr
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ [  ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ db_version 2.0
+ _db_cmd VERSION 2.0
+ _db_internal_IFS=

+ IFS=
+ printf %s\n VERSION 2.0
+ IFS=

+ IFS=
 read -r _db_internal_line
+ RET=2.0
+ return 0
+ paper_prg=tl-paper
+ tl-paper get dvips
+ dvips=a4size
+ tl-paper get xdvi
+ xdvi=a4
+ tl-paper get pdftex
+ pdftex=a4
+ tl-paper get dvipdfmx
+ dvipdfmx=a4
+ paperconf
+ LibpaperPaper=a4
+ FourPapersAllSame=false
+ [ a4size = a4 ]
+ [ false = true ]
+ db_subst texlive-base/binary_chooser libpaperPaper a4
+ _db_cmd SUBST texlive-base/binary_chooser libpaperPaper a4
+ _db_internal_IFS=

+ IFS=
+ printf %s\n SUBST texlive-base/binary_chooser libpaperPaper a4
+ IFS=

+ IFS=
 read -r _db_internal_line
+ RET=10 texlive-base/binary_chooser doesn't exist
+ return 10
dpkg: error processing texlive-base (--configure):
 subprocess installed post-installation script returned error exit status 10


Andreas



Reply to: