severity 543199 serious tags 543199 - moreinfo unreproducible thanks On Sun, Aug 23, 2009 at 10:29:15AM +0200, Daniel Baumann wrote: > first of all, it's a partial upgrade issue 'only', therefore lowering > the severity.
No, this is an issue that will affect all users upgrading from lenny. > second, i cannot reproduce it in the default case, where the user has > not modified default/tftpd-hpa by hand. > ---snip--- > r...@debian:~# ls > tftpd-hpa_5.0-3_i386.deb tftpd-hpa_5.0-5_i386.deb > r...@sdebian:~# dpkg -P tftpd-hpa > dpkg - warning: ignoring request to remove tftpd-hpa which isn't installed. > r...@debian:~# dpkg -i tftpd-hpa_5.0-3_i386.deb > Selecting previously deselected package tftpd-hpa. > (Reading database ... 53712 files and directories currently installed.) > Unpacking tftpd-hpa (from tftpd-hpa_5.0-3_i386.deb) ... > Setting up tftpd-hpa (5.0-3) ... > Starting HPA's tftpd: in.tftpd. > Processing triggers for man-db ... > r...@debian:~# dpkg -i tftpd-hpa_5.0-5_i386.deb > (Reading database ... 53725 files and directories currently installed.) > Preparing to replace tftpd-hpa 5.0-3 (using tftpd-hpa_5.0-5_i386.deb) ... > Stopping HPA's tftpd: in.tftpd. > Unpacking replacement tftpd-hpa ... > Setting up tftpd-hpa (5.0-5) ... > Installing new version of config file /etc/init.d/tftpd-hpa ... > tftpd user (tftp) already exists, doing nothing. > tftpd-hpa directory (/srv/tftp) already exists, doing nothing. > Starting HPA's tftpd: in.tftpd.Processing triggers for man-db ... > r...@debian:~# > ---snap--- You're not using apt here. Apt runs .config scripts /before/ the preinst scripts, using the dpkg-preconfigure hook; so the reason you're not seeing the problem here is that you're not correctly modeling an end-user upgrade. So the config script gets called first, sees the lenny conffile with no debconf token, and throws a prompt. Either this question needs to be deferred until after we know the preinst as run, or, preferrably, it should be dropped entirely, because magic debconf tokens are *not* a policy-compliant way to manage config files. Policy 10.7.3 requires that local changes must be preserved during a package upgrade; there is no exception for debconf-managed config files. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [email protected] [email protected] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

