tags 386051 + confirmed On Mon, Sep 04, 2006 at 11:16:40PM +0200, Petter Reinholdtsen wrote: > > Package: dhcp3-client > Version 3.0.4-6 > Severity: grave > > When installing dhcp3-client using the Etch installer, by selecting it > as a package to install during the 'select packages to install' step > (pkgsel), the installer locks up. The reason for this is that the > base system includes dhcp-client, and this conflicts with > dhcp3-client, and is thus removed but leave its > /etc/dhcp3/dhclient.conf behind.
Actually, the problem is the preinst script is copying the old /etc/dhclient.conf to /etc/dhcp3/dhclient.conf before dhcp-client is removed, and then dpkg gets all upset about conffiles changing. There is no /etc/dhcp3/dhclient.conf in the dhcp-client package. > This in turn trigger a dpkg conffile question and this question is > never presented to the user and the installer locks up completely. The > question is only listed in the log, and hidden behind the debconf > progress bar showing the progress of tasksel. I'm not sure how to fix > this problem, but believe no conffile question should be triggered > when the sysadmin haven't edited a file yet, and defintely not because > a package left behind a file after it was removed. Yes, this is clearly suboptimal. I think it is safe to move this configuration carry-forward activity to the postinst script, as apt-get (and I presume aptitude, but I'll test it) will only remove and not purge packages to satisfy conflicts, so the old /etc/dhclient.conf should still be available to copy at postinst time. regards Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]