tag 657410 + patch
affects 657942 + src:cheese
thanks

On Thu, 26 Jan 2012 04:29:07 +0100, Andreas Beckmann wrote:

> >>From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package libcheese-dev.
>   Unpacking libcheese-dev (from .../libcheese-dev_3.2.2-1+b1_amd64.deb) ...
>   dpkg: error processing 
> /var/cache/apt/archives/libcheese-dev_3.2.2-1+b1_amd64.deb (--unpack):
>    trying to overwrite '/usr/include/cheese/cheese-camera-device-monitor.h', 
> which is also in package libcheese-gtk-dev 2.30.1-2

The attached patch should fix the problem; unfortunately cheese
doesn't build right now:

The following packages have unmet dependencies:
  frei0r-plugins: Depends: libcv2.1 which is a virtual package.
                  Depends: libcvaux2.1 which is a virtual package.
                  Depends: libgavl1 (>= 1.1.0) but it is not going to be 
installed.
                  Depends: libhighgui2.1 which is a virtual package.
Unable to resolve dependencies!  Giving up...

(#657942)

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Neal Casal: Too Much To Ask
diff -Nru cheese-3.2.2/debian/changelog cheese-3.2.2/debian/changelog
--- cheese-3.2.2/debian/changelog	2011-11-15 20:28:15.000000000 +0100
+++ cheese-3.2.2/debian/changelog	2012-02-24 14:43:59.000000000 +0100
@@ -1,3 +1,12 @@
+cheese (3.2.2-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "fails to upgrade from squeeze - trying to overwrite ...":
+    add Breaks/Replaces against old libcheese-gtk-dev to libcheese-dev.
+    (Closes: #657410)
+
+ -- gregor herrmann <gre...@debian.org>  Fri, 24 Feb 2012 14:39:37 +0100
+
 cheese (3.2.2-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru cheese-3.2.2/debian/control cheese-3.2.2/debian/control
--- cheese-3.2.2/debian/control	2011-11-15 20:37:59.000000000 +0100
+++ cheese-3.2.2/debian/control	2012-02-24 14:44:10.000000000 +0100
@@ -142,6 +142,8 @@
          libgstreamer-plugins-base0.10-dev (>= 0.10.32),
          libgdk-pixbuf2.0-dev,
          ${misc:Depends}
+Breaks: libcheese-gtk-dev (<< 3.0.1-1)
+Replaces: libcheese-gtk-dev (<< 3.0.1-1)
 Description: tool to take pictures and videos from your webcam - base dev
  A webcam application that supports image and video capture. Makes
  it easy to take photos and videos of you, your friends, pets or whatever
diff -Nru cheese-3.2.2/debian/control.in cheese-3.2.2/debian/control.in
--- cheese-3.2.2/debian/control.in	2011-11-15 19:30:28.000000000 +0100
+++ cheese-3.2.2/debian/control.in	2012-02-24 14:39:29.000000000 +0100
@@ -137,6 +137,8 @@
          libgstreamer-plugins-base0.10-dev (>= 0.10.32),
          libgdk-pixbuf2.0-dev,
          ${misc:Depends}
+Breaks: libcheese-gtk-dev (<< 3.0.1-1)
+Replaces: libcheese-gtk-dev (<< 3.0.1-1)
 Description: tool to take pictures and videos from your webcam - base dev
  A webcam application that supports image and video capture. Makes
  it easy to take photos and videos of you, your friends, pets or whatever

Attachment: signature.asc
Description: Digital signature

Reply via email to