Package: ucf
Version: 3.0016 
Severity: critical

-------------------------------------------------------------------------------------------
marilyn:/etc/apt# dpkg --list ucf
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-===============================
iU  ucf            3.0016         Update Configuration File: preserve user cha

--------------------------------------------------------------------------------------------------
marilyn:/etc/apt# dpkg --status ucf
Package: ucf
Status: install ok unpacked
Priority: standard
Section: utils
Installed-Size: 256
Maintainer: Manoj Srivastava <sriva...@debian.org>
Architecture: all
Version: 3.0016
Config-Version: 2.0020
Depends: debconf (>= 1.5.19), coreutils (>= 5.91)
Conffiles:
 /etc/ucf.conf 5565b8b26108c49ba575ba452cd69b3e
Description: Update Configuration File: preserve user changes to config files.
 Debian policy mandates that user changes to configuration files must be
 preserved during package upgrades. The easy way to achieve this behavior
 is to make the configuration file a 'conffile', in which case dpkg
 handles the file specially during upgrades, prompting the user as
 needed.
 .
 This is appropriate only if it is possible to distribute a default
 version that will work for most installations, although some system
 administrators may choose to modify it. This implies that the
 default version will be part of the package distribution, and must
 not be modified by the maintainer scripts during installation (or at
 any other time).
 .
 This script attempts to provide conffile-like handling for files that
 may not be labelled conffiles, and are not shipped in a Debian package,
 but handled by the postinst instead. This script allows one to
 maintain files in /etc, preserving user changes and in general
 offering the same facilities while upgrading that dpkg normally
 provides for 'conffiles'.
 .
 Additionally, this script provides facilities for transitioning a
 file that had not been provided with conffile-like protection to come
 under this schema, and attempts to minimize questions asked at
 installation time. Indeed, the transitioning facility is better than the
 one offered by dpkg while transitioning a file from a non-conffile to
 conffile status.
-------------------------------------------------------------------------------------
Error message:
Preconfiguring packages ...
supported_versions: WARNING: Unknown Debian release: 5.0
(Reading database ... 302313 files and directories currently installed.)
Removing libapache-mod-perl ...
/usr/bin/ucf: line 622: db_x_loadtemplatefile: command not found
dpkg: error processing libapache-mod-perl (--remove):
 subprocess pre-removal script returned error exit status 127
/usr/bin/ucf: line 622: db_x_loadtemplatefile: command not found
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 libapache-mod-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)
---------------------------------------------------------------------------------------------
Circumstances:
Initially I tried to use aptitude to install a new package which appears to have
triggered an upgrade from etch to lenny.  Aptitude repeatedly ended in an error
condition.   I then switched to dselect for more visibility into what was going 
on.

This error happened persistently while running delect while I tried including
and excluding suspect packages and various changes to /etc/apt/sources.list. 
I then switched to
# apt-get update
# apt-get upgrade
and I got the same error which is shown above.

The contents of /etc/apt/sources.list for the last try was:

marilyn:/etc/apt# cat sources.list
# See sources.list(5) for more information, especially
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# proposed additions for a 5.0 point release
deb http://ftp.us.debian.org/debian lenny-proposed-updates main contrib non-free
# Standard Debian binary archives in USA
# deb http://ftp.debian.org/debian/   etch   main contrib non-free
deb http://ftp.debian.org/debian/     stable main contrib non-free
# deb http://http.us.debian.org/debian/ stable main contrib non-free
# deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
# Standard Debian source archives in USA
# Uncomment if you want the apt-get source function to work
deb-src http://ftp.debian.org/debian/ stable main
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib 
non-free

# Security Debian binary archive
# deb http://security.debian.org/     etch/updates main contrib non-free
# deb-src http://security.debian.org/ etch/updates main
deb http://security.debian.org/     stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main

deb http://download.skype.com/linux/repos/debian/ stable non-free

----------------------------------------------------------------------------------------------
-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ucf depends on:
ii  coreutils                    6.10-6      The GNU core utilities
ii  debconf                      1.5.11etch2 Debian configuration management sy

ucf recommends no packages.

-- debconf information:
  ucf/changeprompt_threeway: keep your currently-installed version
  ucf/title:
* ucf/changeprompt: keep your currently-installed version



--
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