[nzlug] Installing conflicts on Debian/Ubuntu

Jim Cheetham jim at gonzul.net
Fri Sep 1 03:18:10 NZST 2006


I've got a couple of packages from Ubuntu that conflict, although there 
are no common files.
I need libapache2-mod-php5, and I'd like to also have 
libapache2-mod-php4.
Unfortunately, lib*5 lists lib*4 as an explicit conflict.

I can install lib*4 with dpkg --force-conflicts, but every time I 
subsequently run apt-get it tries to relieve me of one or the other 
package.

I guess I could download the source for lib*5, remove the conflict 
stanza, and repackage it, installing locally; but the next update will 
reintroduce the situation.

Does anyone know if apt_preferences can solve this, with Pinning or 
something?

-jim





More information about the NZLUG mailing list