#1009310 copyright file conflict between two packages node-babel and node-babel-types

Package:
node-babel-types
Source:
node-babel
Submitter:
shirish शिरीष
Date:
2022-04-11 13:54:03 UTC
Severity:
normal
#1009310#5
Date:
2022-04-11 13:21:52 UTC
From:
To:
Dear Maintainer,
Got this while trying to upgrade node-babel -

Unpacking node-babel7 (7.17.8+~cs214.260.191-2) ...
dpkg: error processing archive
/tmp/apt-dpkg-install-cLw40Y/12-node-babel7_7.17.8+~cs214.260.191-2_all.deb
(--unpack):
 trying to overwrite '/usr/share/doc/node-babel-types/copyright',
which is also in package node-babel-types 6.26.0+repack-4

#1009310#10
Date:
2022-04-11 13:50:33 UTC
From:
To:
Hi,

node-babel-types (src:node-babel) has been removed from Debian since
Bullseye and conflict exists only with node-babel7 >= 7.17.7 (testing
only), so conflict exists only for people who want to install a testing
package in Buster or earlier Debian version.

If someone thinks this should be fixed, here is the fix for src:node-babel7:
--- a/debian/control +++ b/debian/control @@ -104,7 +104,78 @@ Depends: ${misc:Depends} , node-to-fast-properties , node-v8flags , nodejs:any -Breaks: node-babel-core (<< 6.26.0+repack-3~) +Breaks: node-babel-cli (<< 7) + , node-babel-code-frame (<< 7) + , node-babel-core (<< 6.26.0+repack-3~) + , node-babel-generator (<< 7) + , node-babel-helper-bindify-decorators (<< 7) + , node-babel-helper-builder-binary-assignment-operator-visitor (<< 7) + , node-babel-helper-builder-react-jsx (<< 7) + , node-babel-helper-call-delegate (<< 7) + , node-babel-helper-define-map (<< 7) + , node-babel-helper-explode-assignable-expression (<< 7) + , node-babel-helper-explode-class (<< 7) + , node-babel-helper-function-name (<< 7) + , node-babel-helper-get-function-arity (<< 7) + , node-babel-helper-hoist-variables (<< 7) + , node-babel-helper-optimise-call-expression (<< 7) + , node-babel-helper-regex (<< 7) + , node-babel-helper-remap-async-to-generator (<< 7) + , node-babel-helper-replace-supers (<< 7) + , node-babel-helpers (<< 7) + , node-babel-messages (<< 7) + , node-babel-plugin-external-helpers (<< 7) + , node-babel-plugin-syntax-async-functions (<< 7) + , node-babel-plugin-syntax-async-generators (<< 7) + , node-babel-plugin-syntax-class-constructor-call (<< 7) + , node-babel-plugin-syntax-class-properties (<< 7) + , node-babel-plugin-syntax-decorators (<< 7) + , node-babel-plugin-syntax-do-expressions (<< 7) + , node-babel-plugin-syntax-dynamic-import (<< 7) + , node-babel-plugin-syntax-exponentiation-operator (<< 7) + , node-babel-plugin-syntax-export-extensions (<< 7) + , node-babel-plugin-syntax-flow (<< 7) + , node-babel-plugin-syntax-function-bind (<< 7) + , node-babel-plugin-syntax-jsx (<< 7) + , node-babel-plugin-syntax-object-rest-spread (<< 7) + , node-babel-plugin-syntax-trailing-function-commas (<< 7) + , node-babel-plugin-transform-async-generator-functions (<< 7) + , node-babel-plugin-transform-async-to-generator (<< 7) + , node-babel-plugin-transform-class-constructor-call (<< 7) + , node-babel-plugin-transform-class-properties (<< 7) + , node-babel-plugin-transform-decorators (<< 7) + , node-babel-plugin-transform-do-expressions (<< 7) + , node-babel-plugin-transform-es3-member-expression-literals (<< 7) + , node-babel-plugin-transform-es3-property-literals (<< 7) + , node-babel-plugin-transform-exponentiation-operator (<< 7) + , node-babel-plugin-transform-export-extensions (<< 7) + , node-babel-plugin-transform-flow-strip-types (<< 7) + , node-babel-plugin-transform-function-bind (<< 7) + , node-babel-plugin-transform-jscript (<< 7) + , node-babel-plugin-transform-object-rest-spread (<< 7) + , node-babel-plugin-transform-proto-to-assign (<< 7) + , node-babel-plugin-transform-react-display-name (<< 7) + , node-babel-plugin-transform-react-jsx (<< 7) + , node-babel-plugin-transform-react-jsx-self (<< 7) + , node-babel-plugin-transform-react-jsx-source (<< 7) + , node-babel-plugin-transform-regenerator (<< 7) + , node-babel-plugin-transform-runtime (<< 7) + , node-babel-plugin-transform-strict-mode (<< 7) + , node-babel-polyfill (<< 7) + , node-babel-preset-es2015 (<< 7) + , node-babel-preset-es2016 (<< 7) + , node-babel-preset-es2017 (<< 7) + , node-babel-preset-flow (<< 7) + , node-babel-preset-latest (<< 7) + , node-babel-preset-react (<< 7) + , node-babel-preset-stage-0 (<< 7) + , node-babel-preset-stage-1 (<< 7) + , node-babel-preset-stage-2 (<< 7) + , node-babel-preset-stage-3 (<< 7) + , node-babel-register (<< 7) + , node-babel-runtime (<< 7) + , node-babel-template (<< 7) + , node-babel-traverse (<< 7) + , node-babel-types (<< 7) Provides: ${nodeBabel7:Provides} , babeljs (= ${binary:Version}) Description: Babel command line