On Wed, Mar 15, 2006 at 09:27:00PM +0100, Denis Barbier wrote: > On Wed, Mar 15, 2006 at 12:17:49PM +0100, Frank Küster wrote: > > > dpkg: error processing /var/cache/apt/archives/x11-common_6.9.0.dfsg.1-4_all.deb (--unpack): > > > trying to overwrite `/etc/X11/Xsession', which is also in package xfree86-common > > > dpkg-deb: subprocess paste killed by signal (Broken pipe) > > > > The message also sounds as if the fix were particularly easy. > > Where can we find documentation about moving conffiles between packages? 'Don't.' Basically, you'll have to keep xfree86-common around, not shipping that file, with a postinst that removes the file if modified. Then you have to add a Replaces: xfree86-common, from x11-common. If you don't care about the user always getting a notice that the file has been customised even when it hasn't, don't bother keeping the package around with a postinst to remove the file; just ad the Replaces.
Attachment:
signature.asc
Description: Digital signature