[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

Jonas Smedegaard jonas at jones.dk
Sun Jun 10 22:26:03 BST 2018


Quoting Jérémy Lal (2018-06-10 22:04:43)
> 2018-06-10 20:14 GMT+02:00 Jonas Smedegaard <jonas at jones.dk>:
> > 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 !

Good.  Please do ping me if there are any other issues you want me to 
investigate!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20180610/4b87e4eb/attachment.sig>


More information about the Pkg-javascript-devel mailing list