Hi Sébastian,
I've added the ConfFiles field to the pyx info file exactly with the
idea that it would have been shared between different variants.
Anyway re-reading the packaging manual I've noticed that (citing from
the manual):
When a package is "remove"d, the configuration files will remain on
disk. Only a "purge" also removes the configuration files.
AFAICU this is the reason why dpkg fails when you try to replace -
py24 variant with the -py23 one.
A quick-and-dirty solution is to remove the ConfFiles field from the
info file. In the mid-term I'll try to make a split-off for the
package in order that all the variants can share common files and data.
Andrea
On Nov 9, 2005, at 17:35 , Sébastien Maret wrote:
I've downloaded an update of the pyx-py from the trackers
(#1306090). The package installs a conf file in /sw/etc / that is
listed in the ConfFiles: field of the info file. However, when
trying to two variant (-py23 and -py24), dpkg complains about
overwriting the file:
/sw/bin/dpkg: error processing /sw/fink/dists/local/main/binary-
darwin-powerpc/tracker/pyx-py23_0.8.1-1_darwin-powerpc.deb (--
install):
trying to overwrite `/sw/etc/pyxrc', which is also in package pyx-py24
/sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe)
Isn't dpkg supposed to replace silently the conf file by the new
one (or prompt the user if it has changed) ?
Sébastien
-------------------------------------------------------
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