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

Re: 2 packages with the same file



On Thu, Aug 12, 2010 at 19:36:32 +0200, spam.spam.spam.spam@free.fr wrote:
> Hello,
> 
> If I create a package with the same file than an other package which is already
> installed on my computer, I can't install it. But when I download a package with
> the same file than an other package which is already installed on my computer, I
> can install it.
> 
> Now I prove it :
> 
> I have 2 packages with the same file :
> -nvidia-glx
> -xserver-xorg-core
> 
> The file is : /usr/lib/xorg/modules/extensions/libglx.so

[...]

> So, I create my own package with this file :

[...]

> Why can I install nvidia-glx package and I can't install mypkg package?

The nvidia-glx package uses a diversion to avoid the file conflict; the
manpage of the dpkg-divert command has more information about this
approach.

-- 
Regards,            |
          Florian   |


Reply to: