Package: ucf
Version: 3.0025+nmu1
Severity: important

Today I tried to update nfs-kernel-server, and the update process
prompted me about overwriting a config file.  But the question as
shown on the screen was completely unreadable.  Here is how it
looks like in text (in a 80x25 terminal window):


Package configuration
──────────────────┤ Изменён файл настройки ├────────────────────────────────────
рсия файла настройки
common, но версия файла,
теме, была изменёна


с изменённым файлом
mon?

           установить версию из пакета
           сохранить установленную локальную версию
           показать различия между версиями
           показать различия между версиями параллельно
           показать 3-x стороннее различие между доступными версиями
           3-x стороннее слияние доступных версий (эксперимен. режим)
           запустить новую оболочку для прояснения ситуации


                                     <Ok>

────────────────────────────────────────────────────────────────────────────────


This is in russian, but it is obvious anyway that only part of the
text is shown, the rest is somewhere on the left.  I'm also attaching
a screenshot of this.

The process list of this looks like:

10443 pts/0    Ss     0:00  |   \_ -bash
15757 pts/0    S+     0:01  |       \_ apt-get install -ttesting 
nfs-kernel-server
16177 pts/2    Ss+    0:00  |           \_ /usr/bin/dpkg --status-fd 18 
--configure libevent-2.0-5 nfs-common nfs-kernel-server
16181 pts/2    S+     0:00  |               \_ /bin/sh 
/var/lib/dpkg/info/nfs-common.postinst configure 1:1.2.2-4
16270 pts/2    S+     0:00  |                   \_ /usr/bin/perl -w 
/usr/share/debconf/frontend /usr/bin/ucf --three-way 
/usr/share/nfs-common/conffiles/nfs-common.default /etc/default/nfs-common
16305 pts/2    S+     0:00  |                       \_ /bin/bash /usr/bin/ucf 
--three-way /usr/share/nfs-common/conffiles/nfs-common.default 
/etc/default/nfs-common
16342 pts/2    S+     0:00  |                       \_ whiptail --backtitle 
Package configuration --title Изменён файл настройки --output-fd 11 --nocancel 
--default-item сохранить установленную локальную версию --menu Доступна новая 
версия файла настройки?/etc/default/nfs-common, но версия файла,?находящаяся в 
системе, была изменёна?локально.??Что нужно сделать с изменённым 
файлом?настройки nfs-common? 21 118 7 -- установить версию из пакета  сохранить 
установленную локальную версию  показать различия между версиями  показать 
различия между версиями параллельно  показать 3-x стороннее различие между 
доступными версиями  3
-x стороннее слияние доступных версий (эксперимен. режим)  запустить новую 
оболочку для прояснения ситуации

As it can be seen, process #16342 (whiptail) is spawned with

 --menu ..choices.. 21 118 7,

which corresponds to width of 118 characters.  But the window
only had 80 columns in width, which is too few to display 118
chars!

The xterm window size is default, I haven't changed it once
I started this xterm.  Resizing xterm makes no difference since
whiptail - apparently - does not handle window resize signals
properly.

The result is that it is impossible to read a question which
was asked during package install/upgrade, and so impossible
to answer it, which makes all the efforts done in order to
ensure good upgrades useless.

For an expirienced user it is possible to recover well from
this situation, but this needs some thinking still, -- at
least seeing a process list to understand which file is in
question.

Thanks,

/mjt

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'testing'), (50, 
'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.1.8-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ucf depends on:
ii  coreutils                     8.5-1      GNU core utilities
ii  debconf                       1.5.36.1   Debian configuration management sy

ucf recommends no packages.

ucf suggests no packages.

-- debconf information:
* ucf/changeprompt: keep_current
  ucf/conflicts_found:
* ucf/show_diff:
* ucf/changeprompt_threeway: keep_current
  ucf/title:

<<attachment: ucf.png>>

Reply via email to