I've played with it a little bit, and Martin has been right. dpkg fails when I try to install both packages. When I first remove one and then I install the other dpkg works fine.

So it seems I've not understood how ConfFiles works. If I've understood well now, ConfFiles is supposed to cope with configurations files of a single package, not common files from different variants of one package. Have I caught it? Please enlight me here...

If I'm right about what I've stated above, I can see only two solutions: the first, suggested by Sébastian, consists in renaming those files according variants (/etc/pyxrc-py23 and /etc/pyxrc-py24, respectively). In this way users with 2 python flavours installed can customize in a different way their pyx packages (even if I can't sincerely see any reason why someone would have 2 python flavours _and_ 2 pyx packages installed).

On the other hand, since the package already installs few common files in /sw/share/pyx-py2? (depending on the variant), and since the files in there are exactly the same for all the variants, I could do a splitoff (e.g. pyx-data or pyx-conf) that would install the common files in a common directory including the pyxrc configuration file. In this way the two variants wouldn't collide anymore but users can't have different configurations for different pyx flavour.

I hope to have been clear. Have you any comment? Suggestions?

Thanks,
 Andrea

On Nov 10, 2005, at 08:14 , Martin Costabel wrote:

Isn't this happening when you try to install both packages at the same time? Then it would have nothing to do with the ConfFiles mechanism. It would only be a question of both packages conflicting with each other. Or does it happen also when you first remove pyx- py23 and then install pyx-py24?



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to