Bug#753286: v4l-utils and media-ctl: error when trying to install together

2014-09-12 Thread Gregor Jasny
Hello Andreas,

On 03/07/14 01:57, Andreas Bombe wrote:
 On Mon, Jun 30, 2014 at 02:38:33PM +0200, Gregor Jasny wrote:
 Is it reasonable if I add a conflict against media-ctl and you remove the
 package completely?
 
 Yes, I will take care of removing my package then.

Should I file a removal request?

Thanks,
Gregor


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



Bug#753286: v4l-utils and media-ctl: error when trying to install together

2014-07-02 Thread Andreas Bombe
On Mon, Jun 30, 2014 at 02:38:33PM +0200, Gregor Jasny wrote:
 Hi,
 
 I did not notice that there is already an existing media-ctl package.
 Otherwise I'd have done an more coordinated upload.
 
 How do we want to go from here? It seems that upstream decided to add the
 code to v4l-utils.

Yes, when I was packaging it he mentioned to me that he might eventually
put it there. I didn't know this has happened now.

 Is it reasonable if I add a conflict against media-ctl and you remove the
 package completely?

Yes, I will take care of removing my package then.


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



Bug#753286: v4l-utils and media-ctl: error when trying to install together

2014-06-30 Thread Ralf Treinen
Package: media-ctl,v4l-utils
Version: media-ctl/0.0.1~git20130926-1
Version: v4l-utils/1.2.1-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2014-06-30
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:


Selecting previously unselected package libjpeg8:amd64.
(Reading database ... 10931 files and directories currently installed.)
Preparing to unpack .../libjpeg8_8d-2_amd64.deb ...
Unpacking libjpeg8:amd64 (8d-2) ...
Selecting previously unselected package libv4lconvert0:amd64.
Preparing to unpack .../libv4lconvert0_1.2.1-1_amd64.deb ...
Unpacking libv4lconvert0:amd64 (1.2.1-1) ...
Selecting previously unselected package libv4l-0:amd64.
Preparing to unpack .../libv4l-0_1.2.1-1_amd64.deb ...
Unpacking libv4l-0:amd64 (1.2.1-1) ...
Selecting previously unselected package libv4l2rds0:amd64.
Preparing to unpack .../libv4l2rds0_1.2.1-1_amd64.deb ...
Unpacking libv4l2rds0:amd64 (1.2.1-1) ...
Selecting previously unselected package v4l-utils.
Preparing to unpack .../v4l-utils_1.2.1-1_amd64.deb ...
Unpacking v4l-utils (1.2.1-1) ...
Selecting previously unselected package media-ctl.
Preparing to unpack .../media-ctl_0.0.1~git20130926-1_amd64.deb ...
Unpacking media-ctl (0.0.1~git20130926-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/media-ctl_0.0.1~git20130926-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/media-ctl', which is also in package v4l-utils 
1.2.1-1
Errors were encountered while processing:
 /var/cache/apt/archives/media-ctl_0.0.1~git20130926-1_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/bin/media-ctl

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.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.


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



Bug#753286: v4l-utils and media-ctl: error when trying to install together

2014-06-30 Thread Gregor Jasny

Hi,

I did not notice that there is already an existing media-ctl package. 
Otherwise I'd have done an more coordinated upload.


How do we want to go from here? It seems that upstream decided to add 
the code to v4l-utils.


Is it reasonable if I add a conflict against media-ctl and you remove 
the package completely?


Thanks,
Gregor


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