apt: automatcally upgrade dependend on package while installing new version off package
<p>The situation is next:</p>

<p>We have package B and A(depends B). In repository we have next picture:</p>

<pre>
A
  version table
    0.0.1 (depends B=0.1.1) 
    0.0.2 (depends B=0.1.2)
    0.0.3 (depends B=0.1.3)
B 
  version table
    0.1.1
    0.1.2
    0.1.3
    0.1.4
</pre>

<p>On server we have installed A=0.0.1.
Next time when we want to upgrade package A on the server, we don't want to upgrade package B manually (just run apt-get install A=0.0.2). With current configuration it doesn't seem like possible.</p>

<p>We tried next configuration:
instead of creation next version of B, we started to create new packages for each version, like B-1, B-2</p>

<pre>
A
  version table
    0.0.1 (depends B-1) 
    0.0.2 (depends B-2)
    0.0.3 (depends B-3)
B-1 
B-2 (provides B-1)
B-3 (provides B-2)
</pre>

<p>This configuration didn't work.</p>

<p>Is there any configuration which will work for our us?</p>

<p>Thanks</p>