Andreas, please tell us which problems you see with the following solution.
(For simplity and without loss of generality, I'm just describing the solution for kdebase and kdegraphics. Furthermore, the "Depends:" lines have been simplified.) The Debian packages: Package: kdelibs0g Package: kdebase Depends: kdelibs0g, ... Package: kdegraphics Depends: kdelibg0g, kdebase, ... KDE's KDE packages: ----cut here------- Package: kde-kdelibs0g Conflicts: kdelibs0g Provides: kdelibs0g Package: kde-kdebase Depends: kde-kdelibs0g, ... Conflicts: kdebase Provides: kdebase Package: kde-kdegrahics Depends: kde-kdelibg0g, kde-kdebase, ... Conflicts: kdegrahics Provides: kdegraphics ----cut here------- So the procedure is fairly simple: Our packages stay as there are. KDE calls its packages kde-*, conflicts and provides our correspending packages, and depend on theirs. With this solution, we can be sure that noone install foo and kde-foo at the same time. Furthermore, it's not possible to mix any packages (without forcing dpkg to do so, of course) since our current package use "versioned dependencies" (that is, they have "Depends: kdexxxx (=version)") and "Provides:" does not use version numbers. BTW, I actually tested this setup! I wrote a simple perl script which uses an input file like the above (between the --cut here-- lines) and creates the corresponding (empty) .debs. With this, it's very easy to play with dpkg' dependencies, etc. I've attached the script to this mail. Thanks, Chris -- Christian Schwarz [EMAIL PROTECTED], [EMAIL PROTECTED], Debian is looking [EMAIL PROTECTED], [EMAIL PROTECTED] for a logo! Have a look at our drafts PGP-fp: 8F 61 EB 6D CF 23 CA D7 34 05 14 5C C8 DC 22 BA at http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-logo/
gen.pl
Description: Perl program