<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-06-10 20:14 GMT+02:00 Jonas Smedegaard <span dir="ltr"><<a href="mailto:jonas@jones.dk" target="_blank">jonas@jones.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jérémy,<br>
<br>
Quoting Jérémy Lal (2018-06-10 16:51:14)<br>
<span class="">> 2018-06-10 10:26 GMT+02:00 Andreas Beckmann <<a href="mailto:anbe@debian.org">anbe@debian.org</a>>:<br>
</span><span class="">> > The 8 -> 10 upgrade path does not work either:<br>
> ><br>
> > Selecting previously unselected package libnode64-dev.<br>
> > Preparing to unpack .../libnode64-dev_10.3.0~dfsg-<wbr>1_amd64.deb ...<br>
> > Unpacking libnode64-dev (10.3.0~dfsg-1) ...<br>
> > dpkg: error processing archive /var/cache/apt/archives/<wbr>libnode64-dev_10.3.0~dfsg-1_<wbr>amd64.deb (--unpack):<br>
> > trying to overwrite '/usr/include/nodejs/common.<wbr>gypi', which is also in package nodejs-dev 8.11.2~dfsg-1<br>
> > dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)<br>
> > Errors were encountered while processing:<br>
> > /var/cache/apt/archives/<wbr>libnode64-dev_10.3.0~dfsg-1_<wbr>amd64.deb<br>
> ><br>
> > You probably need to add<br>
> > Breaks+Replaces: nodejs-dev (<< 10.0.0~dfsg1-3)<br>
> > to libnode64-dev for properly taking over /usr/include/nodejs/*<br>
> ><br>
> <br>
> Hi Jonas,<br>
> <br>
> to do it i'm trying<br>
> CDBS_BREAKS_libnode$(ABI)-dev = nodejs-dev (<< 10.0.0~dfsg1-3)<br>
> CDBS_REPLACES_libnode$(ABI)-<wbr>dev = nodejs-dev (<< 10.0.0~dfsg1-3)<br>
> <br>
> but it does not generate the expected fields.<br>
> Did i make some mistake here ?<br>
<br>
</span>Sorry, I don't locate those strings - which branch of which git are you <br>
trying out the above?<br>
<br>
It looks correct - but works only in concert with corresponding hints in <br>
control{.<a href="http://in.in" rel="noreferrer" target="_blank">in.in</a>} file. See e.g. git commit f31d94a (i.e. _reverse_ of <br>
that, and adding Replaces: ${cdbs:Replaces}).<br></blockquote><div><br></div><div>i did not push it because it's w.i.p.</div><div>and yet you're right, i forgot those hints. Thanks !</div><div><br></div><div>Jérémy</div></div></div></div>