Package: nut
Followup-For: Bug #445000
I've added "set -x" into preinst. Here is output:
[EMAIL PROTECTED]:/tmp# LANG=C dpkg -i nut_2.2.0-2+b1+debug_i386.deb
(Reading database ... 199486 files and directories currently installed.)
Preparing to replace nut 2.2.0-2 (using nut_2.2.0-2+b1+debug_i386.deb)
...
Stopping Network UPS Tools: upsdrvctl upsd upsmon.
+ case "$1" in
+ check_and_create_group
++ getent group nut
+ '[' '!' nut:x:116: ']'
+ check_and_create_user
++ getent passwd nut
+ '[' '!' nut:x:109:116::/var/lib/nut:/bin/false ']'
+ db_get nut/remove_debian_conf
+ _db_cmd 'GET nut/remove_debian_conf'
+ IFS=' '
+ printf '%s\n' 'GET nut/remove_debian_conf'
+ IFS='
'
+ read -r _db_internal_line
+ RET='10 nut/remove_debian_conf doesn'\''t exist'
+ case ${_db_internal_line%%[ ]*} in
+ return 10
dpkg: error processing nut_2.2.0-2+b1+debug_i386.deb (--install):
subprocess pre-installation script returned error exit status 10
-- System Information:
Debian Release: lenny/sid
APT prefers testing-proposed-updates
APT policy: (700, 'testing-proposed-updates'), (700, 'testing'), (670,
'proposed-updates'), (670, 'stable'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash
Versions of packages nut depends on:
ii adduser 3.105 add and remove users and groups
ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy
ii libc6 2.7-4 GNU C Library: Shared libraries
ii libusb-0.1-4 2:0.1.12-8 userspace USB programming library
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii udev 0.114-2 /dev/ and hotplug management daemo
nut recommends no packages.
-- debconf information:
nut/change_system_user:
nut/major_upstream_changes:
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]