Bug#1030697: libjs-bootstrap5: not co-installable with libjs-bootstrap4
Followup-For: Bug #1030697 Control: reopen -1 Hi, while some co-installability issues have been fixed, the primary one has been left unaddressed: File conflicts between libjs-bootstrap4 and libjs-bootstrap5 on usr/share/nodejs/bootstrap/package.json usr/share/sass/bootstrap/_alert.scss usr/share/sass/bootstrap/_badge.scss usr/share/sass/bootstrap/_breadcrumb.scss usr/share/sass/bootstrap/_button-group.scss usr/share/sass/bootstrap/_buttons.scss usr/share/sass/bootstrap/_card.scss usr/share/sass/bootstrap/_carousel.scss usr/share/sass/bootstrap/_close.scss usr/share/sass/bootstrap/_dropdown.scss usr/share/sass/bootstrap/_forms.scss usr/share/sass/bootstrap/_functions.scss usr/share/sass/bootstrap/_grid.scss usr/share/sass/bootstrap/_images.scss usr/share/sass/bootstrap/_list-group.scss usr/share/sass/bootstrap/_mixins.scss usr/share/sass/bootstrap/_modal.scss usr/share/sass/bootstrap/_nav.scss usr/share/sass/bootstrap/_navbar.scss usr/share/sass/bootstrap/_pagination.scss usr/share/sass/bootstrap/_popover.scss usr/share/sass/bootstrap/_progress.scss usr/share/sass/bootstrap/_reboot.scss usr/share/sass/bootstrap/_root.scss usr/share/sass/bootstrap/_spinners.scss usr/share/sass/bootstrap/_tables.scss usr/share/sass/bootstrap/_toasts.scss usr/share/sass/bootstrap/_tooltip.scss usr/share/sass/bootstrap/_transitions.scss usr/share/sass/bootstrap/_type.scss usr/share/sass/bootstrap/_utilities.scss usr/share/sass/bootstrap/_variables.scss usr/share/sass/bootstrap/bootstrap-grid.scss usr/share/sass/bootstrap/bootstrap-reboot.scss usr/share/sass/bootstrap/bootstrap.scss usr/share/sass/bootstrap/mixins/_alert.scss usr/share/sass/bootstrap/mixins/_border-radius.scss usr/share/sass/bootstrap/mixins/_box-shadow.scss usr/share/sass/bootstrap/mixins/_breakpoints.scss usr/share/sass/bootstrap/mixins/_buttons.scss usr/share/sass/bootstrap/mixins/_caret.scss usr/share/sass/bootstrap/mixins/_clearfix.scss usr/share/sass/bootstrap/mixins/_deprecate.scss usr/share/sass/bootstrap/mixins/_forms.scss usr/share/sass/bootstrap/mixins/_gradients.scss usr/share/sass/bootstrap/mixins/_grid.scss usr/share/sass/bootstrap/mixins/_image.scss usr/share/sass/bootstrap/mixins/_list-group.scss usr/share/sass/bootstrap/mixins/_lists.scss usr/share/sass/bootstrap/mixins/_pagination.scss usr/share/sass/bootstrap/mixins/_reset-text.scss usr/share/sass/bootstrap/mixins/_resize.scss usr/share/sass/bootstrap/mixins/_text-truncate.scss usr/share/sass/bootstrap/mixins/_transition.scss usr/share/sass/bootstrap/vendor/_rfs.scss Perhaps some more directories can be renamed from bootstrap to bootstrap5? Andreas
Bug#1030697: libjs-bootstrap5: not co-installable with libjs-bootstrap4
Package: libjs-bootstrap5 Version: 5.2.3+dfsg-7 Followup-For: Bug #1030697 Control: found -1 5.2.3+dfsg-7 Still can't install the package with libjs-bootstrap4 installed: Preparing to unpack .../libjs-bootstrap5_5.2.3+dfsg-7_all.deb ... Unpacking libjs-bootstrap5 (5.2.3+dfsg-7) ... dpkg: error processing archive /var/cache/apt/archives/libjs-bootstrap5_5.2.3+dfsg-7_all.deb (--unpack): trying to overwrite '/usr/share/nodejs/bootstrap/package.json', which is also in package libjs-bootstrap4 4.6.1+dfsg1-4 Errors were encountered while processing: /var/cache/apt/archives/libjs-bootstrap5_5.2.3+dfsg-7_all.deb -- Damyan -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-4-amd64 (SMP w/24 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages libjs-bootstrap5 depends on: ii libjs-popper.js 1.16.1+ds-6 libjs-bootstrap5 recommends no packages. Versions of packages libjs-bootstrap5 suggests: ii bootstrap-icons 1.10.3+dfsg-1 ii libjs-bootstrap5-doc 5.2.3+dfsg-7
Bug#1030697: libjs-bootstrap5: not co-installable with libjs-bootstrap4
Followup-For: Bug #1030697 There are more file conflicts: between libjs-bootstrap and libjs-bootstrap5: usr/share/javascript/bootstrap/css/bootstrap.css usr/share/javascript/bootstrap/css/bootstrap.css.map usr/share/javascript/bootstrap/css/bootstrap.min.css usr/share/javascript/bootstrap/js/bootstrap.js usr/share/javascript/bootstrap/js/bootstrap.min.js between libjs-bootstrap4 and node-bootstrap: usr/share/nodejs/bootstrap/scss Andreas
Bug#1030697: libjs-bootstrap5: not co-installable with libjs-bootstrap4
Hi Andreas, On 2/6/23 16:43, Andreas Beckmann wrote: > during a test with piuparts I noticed your package failed to install > because it tries to overwrite other packages files without declaring a > Breaks+Replaces relation. thanks. > I'm not sure whether B+R are the right solution here or whether > the package should be co-installable. the node-bootstrap one is the unversioned one, so, I think it's fine/the right thing here. Regards, Daniel
Bug#1030697: libjs-bootstrap5: not co-installable with libjs-bootstrap4
Package: libjs-bootstrap5 Version: 5.2.3+dfsg-3 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package failed to install because it tries to overwrite other packages files without declaring a Breaks+Replaces relation. See policy 7.6 at https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces I'm not sure whether B+R are the right solution here or whether the package should be co-installable. >From the attached log (scroll to the bottom...): Preparing to unpack .../libjs-bootstrap5_5.2.3+dfsg-3_all.deb ... Unpacking libjs-bootstrap5 (5.2.3+dfsg-3) ... dpkg: error processing archive /var/cache/apt/archives/libjs-bootstrap5_5.2.3+dfsg-3_all.deb (--unpack): trying to overwrite '/usr/share/nodejs/bootstrap/package.json', which is also in package libjs-bootstrap4 4.6.1+dfsg1-4 Errors were encountered while processing: /var/cache/apt/archives/libjs-bootstrap5_5.2.3+dfsg-3_all.deb These files are shipped by both packages: usr/share/nodejs/bootstrap/package.json usr/share/sass/bootstrap/_alert.scss usr/share/sass/bootstrap/_badge.scss usr/share/sass/bootstrap/_breadcrumb.scss usr/share/sass/bootstrap/_button-group.scss usr/share/sass/bootstrap/_buttons.scss usr/share/sass/bootstrap/_card.scss usr/share/sass/bootstrap/_carousel.scss usr/share/sass/bootstrap/_close.scss usr/share/sass/bootstrap/_dropdown.scss usr/share/sass/bootstrap/_forms.scss usr/share/sass/bootstrap/_functions.scss usr/share/sass/bootstrap/_grid.scss usr/share/sass/bootstrap/_images.scss usr/share/sass/bootstrap/_list-group.scss usr/share/sass/bootstrap/_mixins.scss usr/share/sass/bootstrap/_modal.scss usr/share/sass/bootstrap/_nav.scss usr/share/sass/bootstrap/_navbar.scss usr/share/sass/bootstrap/_pagination.scss usr/share/sass/bootstrap/_popover.scss usr/share/sass/bootstrap/_progress.scss usr/share/sass/bootstrap/_reboot.scss usr/share/sass/bootstrap/_root.scss usr/share/sass/bootstrap/_spinners.scss usr/share/sass/bootstrap/_tables.scss usr/share/sass/bootstrap/_toasts.scss usr/share/sass/bootstrap/_tooltip.scss usr/share/sass/bootstrap/_transitions.scss usr/share/sass/bootstrap/_type.scss usr/share/sass/bootstrap/_utilities.scss usr/share/sass/bootstrap/_variables.scss usr/share/sass/bootstrap/bootstrap-grid.scss usr/share/sass/bootstrap/bootstrap-reboot.scss usr/share/sass/bootstrap/bootstrap.scss usr/share/sass/bootstrap/mixins/_alert.scss usr/share/sass/bootstrap/mixins/_border-radius.scss usr/share/sass/bootstrap/mixins/_box-shadow.scss usr/share/sass/bootstrap/mixins/_breakpoints.scss usr/share/sass/bootstrap/mixins/_buttons.scss usr/share/sass/bootstrap/mixins/_caret.scss usr/share/sass/bootstrap/mixins/_clearfix.scss usr/share/sass/bootstrap/mixins/_deprecate.scss usr/share/sass/bootstrap/mixins/_forms.scss usr/share/sass/bootstrap/mixins/_gradients.scss usr/share/sass/bootstrap/mixins/_grid.scss usr/share/sass/bootstrap/mixins/_image.scss usr/share/sass/bootstrap/mixins/_list-group.scss usr/share/sass/bootstrap/mixins/_lists.scss usr/share/sass/bootstrap/mixins/_pagination.scss usr/share/sass/bootstrap/mixins/_reset-text.scss usr/share/sass/bootstrap/mixins/_resize.scss usr/share/sass/bootstrap/mixins/_text-truncate.scss usr/share/sass/bootstrap/mixins/_transition.scss usr/share/sass/bootstrap/vendor/_rfs.scss cheers, Andreas libjs-bootstrap4=4.6.1+dfsg1-4_libjs-bootstrap5=5.2.3+dfsg-3.log.gz Description: application/gzip