Regnat Nikolaus <[EMAIL PROTECTED]> writes: > I'm trying to create a package which replaces the black cursor from > XFree86 with a white one. Unfortunately it is not possible to > install a packge which overwrites files already installed by another > package. I get the following message if I try to install my package: > > -------------------- > Unpacking cursorsmall (from cursorsmall_1-1_i386.deb) ... > dpkg: error processing cursorsmall_1-1_i386.deb (--install): > trying to overwrite `/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz', which is > also in package xfonts-base > Errors were encountered while processing: > cursorsmall_1-1_i386.deb > -------------------- > > Is there a way to achive this?
Packages must not overwrite other packages' files. You can perhaps use the "alternatives" mechanism. See update-alternatives(8). Falk