Ticket #2391 (closed Feature Requests: fixed)

Opened 6 years ago

Last modified 5 years ago

incoming-call-1-accept-2-decline.sln is in 2 packages

Reported by: diego_iastrubni Assigned to: p_lindheimer
Priority: minor Milestone: 2.5
Component: Core Version: 2.4-branch
Keywords: files package Cc:
Confirmation: Pending Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

I am trying to package freepbx 2.3 into debian packages, and I am having some problems:

Preparing to replace freepbx-module-ringgroups 2.2.16.2-1 (using .../freepbx-module-ringgroups_2.2.16.2-1_all.deb) ...
Unpacking replacement freepbx-module-ringgroups ...
dpkg: error processing /home2/diegolocal/packages/./freepbx-2.3/freepbx-module-ringgroups_2.2.16.2-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:
 /home2/diegolocal/packages/./freepbx-2.3/freepbx-module-ringgroups_2.2.16.2-1_all.deb
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.

Change History

09/20/07 04:49:07 changed by diego_iastrubni

2 files: /usr/share/asterisk/sounds/incoming-call-1-accept-2-decline.sln /usr/share/asterisk/sounds/incoming-call-no-longer-avail.sln

:)

09/20/07 19:15:25 changed by p_lindheimer

  • confirmation changed from Unreviewed to Need Feedback.

well it is there by design in both places since both need it and the auto-linking system works fine if it is already linked. And there are a few more with the same issue. We could consider putting it as part of core since none of the other two modules could run without core. We can discuss the suggested change.

11/03/07 19:20:15 changed by p_lindheimer

  • type changed from Bugs to Feature Requests.

moving to feature request, since FreePBX is designed to handle the sound file in both.

11/14/07 21:07:51 changed by WAudette

  • owner set to p_lindheimer.
  • component changed from Other Module to Core.

Awaiting feedback.

WAudette...

11/28/07 02:12:49 changed by p_lindheimer

  • milestone changed from 2.4 to 3.0.

why not allow retrieve_conf to link the sound files which already handles the conflicts. The original files don't conflict, each module has its own copy.

07/01/08 19:33:57 changed by mbrevda

devs: ping

07/01/08 19:35:33 changed by mbrevda

why dont we just donate the file to asterisk and then it will automatically be included?

07/01/08 20:26:17 changed by p_lindheimer

  • confirmation changed from Need Feedback to Pending.
  • version changed from 2.3.0 to 2.4-branch.

that won't fix the immediate issue. I'll probably move those sound files to core, where they kind of belong anyhow, in the next release and that will resolve the issue.

07/19/08 02:36:22 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.