Frank Küster <fr...@debian.org> wrote:

> ucf -v --debconf-ok $fmgrConfigReplaceCfgFile $fmgrConfigReplaceOrigFile
[...]
> ucf: Replace the old file is true
> The hash file exists
> dpkg: error processing texlive-base (--configure):
>  subprocess installed post-installation script returned error exit status 128

I added a "set -x" right after the first "set -e" in /usr/bin/ucf, and
got the following:

+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ '[' YES = YES ']'
+ db_x_loadtemplatefile /var/lib/dpkg/info/ucf.templates ucf
+ _db_cmd 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates' ucf
+ IFS=' '
+ printf '%s\n' 'X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf'
+ IFS='
'
+ read -r _db_internal_line
+ RET='20 Unsupported command "egrep" (full line was "egrep 
[[:space:]]\/tmp\/tmp\.G1M8EZxyNp\/dvipdfmx\/dvipdfmx\.cfg$ 
/var/lib/ucf/hashfile") received from confmodule.'
+ case ${_db_internal_line%%[   ]*} in
+ return 20
dpkg: error processing texlive-base (--configure):

So it seems that the redirection that I performed for the aptitude run
(2>&1 | tee some.log) caused the stuff that was supposed to be echoed to
stdout to end up as debconf input.

I think redirecting aptitude/dpkg like this should definitely work.  But
I do not know whether this is a problem in ucf or in debconf.

Regards, Frank

-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to