Bug#722661: dvb-apps and dtv-scan-tables: error when trying to install together

2013-09-13 Thread Ralf Treinen
Package: dtv-scan-tables,dvb-apps
Version: dtv-scan-tables/0+git20130622.edc0bc3-1
Version: dvb-apps/1.1.1+rev1483-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2013-09-13
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


WARNING: The following packages cannot be authenticated!
  libpng12-0 libxau6 libxdmcp6 libxcb1 libx11-data libx11-6 libzvbi-common
  libzvbi0 dtv-scan-tables dvb-apps
Authentication warning overridden.
Selecting previously unselected package libpng12-0:amd64.
(Reading database ... 10882 files and directories currently installed.)
Unpacking libpng12-0:amd64 (from .../libpng12-0_1.2.49-4_amd64.deb) ...
Selecting previously unselected package libxau6:amd64.
Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.8-1_amd64.deb) ...
Selecting previously unselected package libxdmcp6:amd64.
Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ...
Selecting previously unselected package libxcb1:amd64.
Unpacking libxcb1:amd64 (from .../libxcb1_1.9.1-3_amd64.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.6.1-1_all.deb) ...
Selecting previously unselected package libx11-6:amd64.
Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.6.1-1_amd64.deb) ...
Selecting previously unselected package libzvbi-common.
Unpacking libzvbi-common (from .../libzvbi-common_0.2.33-7_all.deb) ...
Selecting previously unselected package libzvbi0:amd64.
Unpacking libzvbi0:amd64 (from .../libzvbi0_0.2.33-7_amd64.deb) ...
Selecting previously unselected package dtv-scan-tables.
Unpacking dtv-scan-tables (from 
.../dtv-scan-tables_0+git20130622.edc0bc3-1_all.deb) ...
Selecting previously unselected package dvb-apps.
Unpacking dvb-apps (from .../dvb-apps_1.1.1+rev1483-2_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/dvb-apps_1.1.1+rev1483-2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/dvb/atsc/us-ID-Boise', which is also in 
package dtv-scan-tables 0+git20130622.edc0bc3-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/dvb-apps_1.1.1+rev1483-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

  /usr/share/dvb/atsc/ca-AB-Calgary
  /usr/share/dvb/atsc/us-ATSC-center-frequencies-8VSB
  /usr/share/dvb/atsc/us-CA-SF-Bay-Area
  /usr/share/dvb/atsc/us-Cable-EIA-542-HRC-center-frequencies-QAM256
  /usr/share/dvb/atsc/us-Cable-EIA-542-IRC-center_frequencies-QAM256
  /usr/share/dvb/atsc/us-Cable-HRC-center-frequencies-QAM256
  /usr/share/dvb/atsc/us-Cable-IRC-center-frequencies-QAM256
  /usr/share/dvb/atsc/us-Cable-Standard-center-frequencies-QAM256
  /usr/share/dvb/atsc/us-ID-Boise
  /usr/share/dvb/atsc/us-MA-Boston
  /usr/share/dvb/atsc/us-MI-Lansing
  /usr/share/dvb/atsc/us-NTSC-center-frequencies-8VSB
  /usr/share/dvb/atsc/us-PA-Philadelphia
  /usr/share/dvb/dvb-c/at-Innsbruck
  /usr/share/dvb/dvb-c/at-Kabel-Braunau
  /usr/share/dvb/dvb-c/at-Kabelsignal
  /usr/share/dvb/dvb-c/at-KarrerNet
  /usr/share/dvb/dvb-c/at-Liwest
  /usr/share/dvb/dvb-c/at-SalzburgAG
  /usr/share/dvb/dvb-c/at-Vienna
  /usr/share/dvb/dvb-c/be-IN.DI-Integan
  /usr/share/dvb/dvb-c/br-Net-Digital
  /usr/share/dvb/dvb-c/ch-Rega-Sense
  /usr/share/dvb/dvb-c/ch-Video2000
  /usr/share/dvb/dvb-c/cz-Moravianet
  /usr/share/dvb/dvb-c/de-Berlin
  /usr/share/dvb/dvb-c/de-Brandenburg-Havel
  /usr/share/dvb/dvb-c/de-Kabel_BW
  /usr/share/dvb/dvb-c/de-Muenchen
  /usr/share/dvb/dvb-c/de-Primacom
  /usr/share/dvb/dvb-c/de-Unitymedia
  /usr/share/dvb/dvb-c/de-iesy
  /usr/share/dvb/dvb-c/de-komro-Rosenheim
  /usr/share/dvb/dvb-c/de-neftv
  /usr/share/dvb/dvb-c/dk-Aarhus-Antenneforening
  /usr/share/dvb/dvb-c/dk-Copenhagen-AFDK
  /usr/share/dvb/dvb-c/dk-Odense
  /usr/share/dvb/dvb-c/es-Euskaltel
  /usr/share/dvb/dvb-c/fi-HTV
  /usr/share/dvb/dvb-c/fi-Joensuu-Tikka
  /usr/share/dvb/dvb-c/fi-TTV
  /usr/share/dvb/dvb-c/fi-Turku
  /usr/share/dvb/dvb-c/fi-dna
  

Bug#722661: dvb-apps and dtv-scan-tables: error when trying to install together

2013-09-13 Thread Jonathan McCrohan
Hi Ralf,

On 13/09/13 07:23, Ralf Treinen wrote:
 automatic installation tests of packages that share a file and at
 the same time do not conflict by their package dependency
 relationships has detected the following problem:
 
 [...]
 
 This bug has been filed against both packages. If you, the
 maintainers of the two packages in question, have agreed on which of
 the packages will resolve the problem please reassign the bug to that
 package. You may then also register in the BTS that the other package
 is affected by the bug.

Thanks for the bug report. This was expected; the scan files are being
split out from dvb-apps into a separate dtv-scan-tables package. I was
reluctant to make changes to dvb-apps because I didn't know how long
dtv-scan-tables would spend in the NEW queue.

dtv-scan-tables is in unstable now, so hope to fix up the dvb-apps
package in a few days when I return from holidays.

Thanks,
Jon


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org