Package: ucf
Version: 1.13
Severity: normal
This may warrant higher severity; the problem has hung up an apt-get
dist-ugprade in midstream. (worked around while filing this report).
Symptoms
========
During an apt-get -q dist-upgrade, run inside an emacs shell, the
installation of lm-sensors resulted in a 3 way merge possibility. The
packaged sensors.conf had changed, and I had edited that file locally.
I was offered a menu of 6 choices for how to handle this. When I
typed any of the offered numbers (at least 2 or 3), I just got the
same prompt again.
I also tried "2 2 " at a guess about parsing problems, but it didn't
work either.
Finally, I just hit enter, and the installation is now proceeding. My
defaults (see below) will do what I want, I hope.
The command that triggered this appears to be
ucf --debconf-ok --three-way /usr/share/lm-sensors/sensors.conf.eg
/etc/sensors.conf
in /var/lib/dpkg/info/lm-sensors.postinst.
Finally, I am running in a virtual terminal (ctl-atl-F2), logged in as
root.
My /etc/ucf.conf has only comments.
set and printenv do not show any LANG or LOCALE variables.
It seems to me this same scenario has worked before....
Speculation and attempted diagnosis
===================================
It is possible, though unlikely, the problem lies with lm-sensors or
something higher up.
It is possible this is really a debconf issue. In particular ucf
invokes confmodule (I think from line 744 of ucf), which has the
following odd looking lines:
read -r _LINE
# Disgusting, but it's the only good way to split the line,
# preserving all other whitespace.
RET="${_LINE#[! ][ ]}"
return ${_LINE%%[ ]*}
Those patterns look a bit odd to me (that's why I tried "2 2 "), but
debconf does not appear to have any recent updates in this area.
Specifically, won't ${_LINE#[! ][ ]} remove my first character,
if it is non-blank?
I also note that early on ucf invoked confmodule, which does this:
exec 3>&1 1>&2
Perhaps that does something unexpected in an emacs shell?
Or maybe a character encoding issue?
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (600, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27adnvcd
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
-- debconf information:
* ucf/changeprompt_threeway: keep your currently-installed version
ucf/title:
* ucf/changeprompt: keep your currently-installed version
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]