[Pkg-javascript-devel] Bug#1034969: terser: missing Breaks+Replaces for uglifyjs.terser when upgrading from bullseye
Helmut Grohne
helmut at subdivi.de
Thu Apr 27 13:59:55 BST 2023
Package: terser
Version: 5.16.4-1
Severity: serious
Justification: dpkg unpack error
Attempting to unpack terser/5.16.4-1 from Debian bookworm
on a minimal Debian bullseye with uglifyjs.terser/4.1.2-8
installed, causes an unpack error from dpkg due to
/usr/share/nodejs/terser/bin/uglifyjs being contained in both packages.
| Selecting previously unselected package terser.
| dpkg: considering deconfiguration of uglifyjs.terser, which would be broken by installation of terser ...
| dpkg: yes, will deconfigure uglifyjs.terser (broken by terser)
| (Reading database ... 4922 files and directories currently installed.)
| Preparing to unpack ./terser_5.16.4-1_all.deb ...
| De-configuring uglifyjs.terser (4.1.2-8) ...
| Unpacking terser (5.16.4-1) ...
| dpkg: error processing archive ./terser_5.16.4-1_all.deb (--unpack):
| trying to overwrite '/usr/share/nodejs/terser/bin/uglifyjs', which is also in package uglifyjs.terser 4.1.2-8
| Errors were encountered while processing:
| ./terser_5.16.4-1_all.deb
Please ensure that terser has sufficient Breaks and Replaces declarations.
Helmut
More information about the Pkg-javascript-devel
mailing list