Just found the solution after asking, sorry for the noise.
For the record the solution was to ping my repository with high priority
vagrant@debian-testing:~$ apt-cache policy zeroc-ice-all-runtime
zeroc-ice-all-runtime:
Installed: (none)
Candidate: 3.6.3-4
Version table:
3.7a3-1 500
500 http://dev.zeroc.com/apt/ice/debian9/master stable/main amd64
Packages
500 http://dev.zeroc.com/apt/ice/debian9/master stable/main all
Packages
3.6.3-4 990
990 http://httpredir.debian.org/debian stretch/main amd64 Packages
500 http://httpredir.debian.org/debian unstable/main amd64 Packages
vagrant@debian-testing:~$ apt-cache policy zeroc-ice-all-runtime
zeroc-ice-all-runtime:
Installed: (none)
Candidate: 3.7a3-1
Version table:
3.7a3-1 999
999 http://dev.zeroc.com/apt/ice/debian9/master stable/main amd64
Packages
999 http://dev.zeroc.com/apt/ice/debian9/master stable/main all
Packages
3.6.3-4 990
990 http://httpredir.debian.org/debian stretch/main amd64 Packages
500 http://httpredir.debian.org/debian unstable/main amd64 Packages
vagrant@debian-testing:~$ cat /etc/apt/sources.list
On Tue, Dec 20, 2016 at 9:08 PM, Jose Gutierrez de la Concha <[email protected]
> wrote:
> Hi,
>
> I'm trying to test a new version of one package I maintain zeroc-ice.
>
> The current version in sid/testing is 3.6.3-4 and I want to test a new
> major
> release currently in alpha (3.7a3-1). I have build that version and upload
> it
> to a repository and configure the repository in my machine.
>
> But apt-get install insist in install version 3.6.3-4 even when I add a
> version
> number to the install command.
>
> vagrant@debian-testing:~$ sudo apt-get install zeroc-ice-all-dev=3.7a3-1
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 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:
> zeroc-ice-all-dev : Depends: libzeroc-ice-dev (>= 3.7a3-1) but 3.6.3-4 is
> to be installed
> Depends: zeroc-ice-compilers (>= 3.7a3-1) but 3.6.3-4
> is to be installed
> Depends: zeroc-ice-slice (= 3.7a3-1) but 3.6.3-4 is to
> be installed
> E: Unable to correct problems, you have held broken packages.
>
> Can some body give a clue on what is going on here with the dependencies.
>
>
--
José Gutiérrez de la Concha
ZeroC, Inc.