[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622222: libgl1-mesa-dri-experimental: trying to overwrite '/usr/lib/dri/nouveau_vieux_dri.so', which is also in package libgl1-mesa-dri 7.10.2-1



On 2011-05-02 08:55 +0200, Cyril Brulebois wrote:

> tag 622222 pending
> thanks
>
> Sven Joachim <svenjoac@gmx.de> (16/04/2011):
>> I have investigated the issue and found a possible solution.  Any
>> objection to the attached patch?
>
> Looks like it indeed fixes the problem, merged locally. Thanks!

You may also want to add some Replaces to debian/control to ensure
smooth upgrades for people who installed the current version with
"--force-overwrite".  Another patch is attached.

Cheers,
       Sven

>From da534408aa50acb79b18e6296d8dee9578234c67 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenjoac@gmx.de>
Date: Sat, 16 Apr 2011 19:57:33 +0200
Subject: [PATCH 2/2] Add Replaces to debian/control to round up the fix for
 #622222

---
 debian/control |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/control b/debian/control
index e0ed63e..868b12c 100644
--- a/debian/control
+++ b/debian/control
@@ -472,6 +472,7 @@ Architecture: linux-any
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
+Replaces: libgl1-mesa-dri (<< 7.10.2-2)
 Description: A free implementation of the OpenGL API -- Extra DRI modules
  This version of Mesa provides GLX and DRI capabilities: it is capable of
  both direct and indirect rendering.  For direct rendering, it can use DRI
@@ -492,6 +493,7 @@ Architecture: linux-any
 Depends:
  libgl1-mesa-dri-experimental (= ${binary:Version}),
  ${misc:Depends},
+Replaces: libgl1-mesa-dri-dbg (<< 7.10.2-2)
 Description: Debugging symbols for the experimental Mesa DRI modules
  This version of Mesa provides GLX and DRI capabilities: it is capable of
  both direct and indirect rendering.  For direct rendering, it can use DRI
-- 
1.7.4.4


Reply to: