On 01/05/2011 02:29 PM, Michael Schroeder wrote:
On Wed, Jan 05, 2011 at 10:13:07AM +0300, Ilya Chernykh wrote:
As I recall, on Ubuntu you could not install two packages which include overlapping files.
I know that dpkg comlpains about it, but I'm not sure if apt/aptitude deal with overlapping files when solving package dependencies.
Here on OpenSUSE it is possible, and there is even no warning: the files just go overwritten. When one package is removed the files are removed as well even if used by the other package.
No, that's not true. Rpm knows if a file is shared between multiple package, it will only be deleted if the last package that owns it gets removed.
behavior is good or not but is there a possibility to check the overlapping files in the build time so to know that your package does not have common files with other ones?
It's not possible to check this at build time as you don't know the other packages of the repo. It's possible to check this at repository creation time (i.e. "publish" time), but then you only know that no other package in the repo overwrites the files, but you don't know if there's a conflict with packages from other repos.
Cheers, Michael.
Surely the package that contains the same files as an installed package should conflict or provide the files or at least depend on the package for the files? Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org