Package A_0.0_all.deb's control file contains a dependency on Package B 0.0:
Depends: B (= 0.0)
Package B_0.0_all.deb's control file has the version 0.0:
Sitting in the same Debian repository is Package B_1.0_all.deb. When I try to install Package A, I get the following error:
[...] The following packages have unmet dependencies: A : Depends: B (= 0.0) but 1.0 is to be installed. E: Unable to correct problems, you have held broken packages.
An "apt-cache madison B" show both versions in the repo. Why won't apt-get install the version that A depends on? Is the control file wrong? How do you write the Depends: so that apt-get installs the exact version specified in the Package A's control file?
I'm building on, create the repo with, and installing with:
- Ubuntu 13.04
- apt 0.9.7.7ubuntu4 for amd64 compiled on Apr 12 2013 23:49:05