I am trying to package freepbx 2.3 into debian packages, and I am having some problems:
Preparing to replace freepbx-module-ringgroups 126.96.36.199-1 (using .../freepbx-module-ringgroups_188.8.131.52-1_all.deb) ...
Unpacking replacement freepbx-module-ringgroups ...
dpkg: error processing /home2/diegolocal/packages/./freepbx-2.3/freepbx-module-ringgroups_184.108.40.206-1_all.deb (--unpack):
trying to overwrite `/usr/share/asterisk/sounds/incoming-call-1-accept-2-decline.sln', which is also in package freepbx-module-findmefollow
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
The problem is that there are sounds which are provided in 2 different modules, and this is not something accepted by dpkg. Same for RPM, if someone decides to package freePBX as RPMs.
I am setting the component to "other module" but it's really a ringgroups and findmefollow problem. IMHO, this should be part of the core sounds provided by freePBX.