> libdb4.1-dev wants to remove libdb4.2-dev and apache-dev > > I believe the bug here is that php4's build-dep(s) are in conflict with > each other and cannot be satisfied. > > apt-get build-dep php4 tries to install conflicting packages. php4 4:4.3.4-4 build-depends on libdb4.2-dev apache-dev 1.3.29.0.2-4 depends on libdb4.2-dev There's no conflict there.