Package: dpkg Version: 1.4.0.34 Francesco Potorti` writes: > Package: lynx-ssl > Version: 2.8.1-1 > Severity: normal > > I installed lynx-ssl, which removed lynx. I then purged lynx, which > happily removed /etc/lynx.cfg, even if lynx-ssl was installed. >
I investigated a little more here. It is a bug in the postinst of lynx itself. If you install lynx /etc/lynx.cfg is listed as a conffile for lynx. If you then remove it and install lynx-ssl, the same /etc/lynx.cfg is listed as a conffile for lynx-ssl. Normally, if you now purge lynx, dpkg would not remove lynx.cfg because it is no longer registered as a conffile for lynx, but lynx has a special postrm which removes lynx.cfg on purge anyway. This should not be. I think there is also a bug in dpkg, because if different packages register the same conffile, the last one will silently win and dpkg will just overwrite the reference made my the first package. Therefore I file a bug to dpkg Christoph -- System Information Debian Release: 2.1 Kernel Version: Linux harriet 2.2.1 #1 SMP Thu Feb 25 17:48:56 MET 1999 i686 unknown Versions of the packages dpkg depends on: ii libc6 2.0.7.19981211 GNU C Library: shared libraries ii libncurses4 4.2-3 Shared libraries for terminal handling ii libstdc++2.9 2.91.60-5 The GNU stdc++ library (egcs version)

