Hi Daniel, Could you try ${binary:Version} instead?
Cheers, Roger On Wed, Nov 12, 2014 at 9:30 PM, Daniel Lintott <dan...@serverb.co.uk> wrote: > I have a package which is split into two sources (a server and gui). The > server version should match the gui version (upstream version) at all times. > > Because of this when I'm creating the meta-package that will depend on > both the gui and server, should be versioned to to be the same upstream > version. > > To try and achieve this I've used the following: > >> Depends: ${misc:Depends}, >> gns3-gui (= ${source:Upstream-Version}), >> gns3-server (= ${source:Upstream-Version}) > > as I'm not worried about what the Debian revision is... but this doesn't > seem to work when it comes to aptitude. > >> Some packages could not be installed. This may mean that you have >> requested an impossible situation or if you are using the unstable >> distribution that some required packages have not yet been created >> or been moved out of Incoming. >> The following information may help to resolve the situation: >> >> The following packages have unmet dependencies: >> gns3 : Depends: gns3-gui (= 1.1) but it is not going to be installed >> Depends: gns3-server (= 1.1) but it is not going to be installed >> E: Unable to correct problems, you have held broken packages. > > From apt-cache policy gns3-*: > >> gns3-gui: >> Installed: (none) >> Candidate: 1.1-1~exp1 >> Version table: >> 1.1-1~exp1 0 >> 100 http://echo.internal.serverb.co.uk/debian/ experimental/contrib >> amd64 Packages > >> gns3-server: >> Installed: (none) >> Candidate: 1.1-1~exp1 >> Version table: >> 1.1-1~exp1 0 >> 100 http://echo.internal.serverb.co.uk/debian/ experimental/contrib >> amd64 Packages > > Any idea where I've gone wrong here? > > Regards > > Daniel > -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cah7zdyd8r8gc-vett0iwbbewkd+peu3mvc_zz9cb3wvtqro...@mail.gmail.com