Quote Originally Posted by garyng
welcome to the dark side of apt-get.

There isn't very much you can do. you may try to first remove xlibs-dev and try again. You see this error because the package maintainers(of both packages) both include the file in question which dpkg don't like(it wants to be sure that every file in the system belongs to only one package, based on my limited knowledge of it). May be there is a command line option that can tell dpkg to ignore this condition.

I would like to know the answer too.
"If you have nothing to loose" do the following:

Code:
cd /var/cache/apt/archives/
dpkg --force-overwrite -i package_inquestion.deb
Then both packages will be installed, but of course the file will be overwritten.

There are other solutions possible with dpkg-divert, but those should be used more by package-developers like me .

cu

Fabian