[Pkg-javascript-devel] Bug#898024: Bug#898024: Bug#898024: trying to overwrite '/usr/include/nodejs/common.gypi', which is also in package nodejs-dev 10.0.0~dfsg-2

Jérémy Lal kapouer at melix.org
Sun Jun 10 21:04:43 BST 2018


2018-06-10 20:14 GMT+02:00 Jonas Smedegaard <jonas at jones.dk>:

> Hi Jérémy,
>
> Quoting Jérémy Lal (2018-06-10 16:51:14)
> > 2018-06-10 10:26 GMT+02:00 Andreas Beckmann <anbe at debian.org>:
> > > The 8 -> 10 upgrade path does not work either:
> > >
> > >   Selecting previously unselected package libnode64-dev.
> > >   Preparing to unpack .../libnode64-dev_10.3.0~dfsg-1_amd64.deb ...
> > >   Unpacking libnode64-dev (10.3.0~dfsg-1) ...
> > >   dpkg: error processing archive /var/cache/apt/archives/
> libnode64-dev_10.3.0~dfsg-1_amd64.deb (--unpack):
> > >    trying to overwrite '/usr/include/nodejs/common.gypi', which is
> also in package nodejs-dev 8.11.2~dfsg-1
> > >   dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
> > >   Errors were encountered while processing:
> > >    /var/cache/apt/archives/libnode64-dev_10.3.0~dfsg-1_amd64.deb
> > >
> > > You probably need to add
> > >   Breaks+Replaces: nodejs-dev (<< 10.0.0~dfsg1-3)
> > > to libnode64-dev for properly taking over /usr/include/nodejs/*
> > >
> >
> > Hi Jonas,
> >
> > to do it i'm trying
> > CDBS_BREAKS_libnode$(ABI)-dev = nodejs-dev (<< 10.0.0~dfsg1-3)
> > CDBS_REPLACES_libnode$(ABI)-dev = nodejs-dev (<< 10.0.0~dfsg1-3)
> >
> > but it does not generate the expected fields.
> > Did i make some mistake here ?
>
> Sorry, I don't locate those strings - which branch of which git are you
> trying out the above?
>
> It looks correct - but works only in concert with corresponding hints in
> control{.in.in} file.  See e.g. git commit f31d94a (i.e. _reverse_ of
> that, and adding Replaces: ${cdbs:Replaces}).
>

i did not push it because it's w.i.p.
and yet you're right, i forgot those hints. Thanks !

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20180610/79531d80/attachment.html>


More information about the Pkg-javascript-devel mailing list