Bug#944126: ocaml-nox: Files overwrite /usr/lib/ocaml/bigarray.cmi in ocaml-base-nox package
Package: ocaml-nox
Followup-For: Bug #944126
Same here when updating from 4.05.0-12 to 4.08.1-2 :
root@debian:~# apt dist-upgrade -V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libdevel-globaldestruction-perl (0.14-1)
libfindlib-ocaml (1.8.1-1+b1)
libfindlib-ocaml-dev (1.8.1-1+b1)
ocaml-findlib (1.8.1-1+b1)
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
coq (8.9.1-1)
coq-theories (8.9.1-1)
libcoq-ocaml (8.9.1-1)
The following NEW packages will be installed:
ocaml-man (4.08.1-2)
The following packages will be upgraded:
bamfdaemon (0.5.4-1 => 0.5.4-2)
bittwist (2.0-11 => 2.0-12)
bruteforce-salted-openssl (1.4.2-1 => 1.4.2-2)
cewl (5.4.4.2-1 => 5.4.4.2-2)
chromium (76.0.3809.100-1 => 78.0.3904.87-1)
chromium-common (76.0.3809.100-1 => 78.0.3904.87-1)
chromium-l10n (76.0.3809.100-1 => 78.0.3904.87-1)
chromium-sandbox (76.0.3809.100-1 => 78.0.3904.87-1)
gir1.2-bamf-3 (0.5.4-1 => 0.5.4-2)
ledit (2.04-3 => 2.04-4)
libbamf3-2 (0.5.4-1 => 0.5.4-2)
libfindlib-ocaml (1.8.1-1 => 1.8.1-1+b1)
libfindlib-ocaml-dev (1.8.1-1 => 1.8.1-1+b1)
libhivex0 (1.3.18-1+b2 => 1.3.18-1+b3)
libhpmud0 (3.19.8+dfsg0-7+b1 => 3.19.11+dfsg0-1)
libwin-hivex-perl (1.3.18-1+b2 => 1.3.18-1+b3)
libz3-4 (4.8.6-2 => 4.8.6-2+b1)
libz3-4:i386 (4.8.6-2 => 4.8.6-2+b1)
libz3-4-dbgsym (4.8.6-2 => 4.8.6-2+b1)
libz3-dev (4.8.6-2 => 4.8.6-2+b1)
ocaml (4.05.0-12 => 4.08.1-2)
ocaml-base (4.05.0-12 => 4.08.1-2)
ocaml-base-nox (4.05.0-12 => 4.08.1-2)
ocaml-compiler-libs (4.05.0-12 => 4.08.1-2)
ocaml-interp (4.05.0-12 => 4.08.1-2)
ocaml-nox (4.05.0-12 => 4.08.1-2)
printer-driver-hpcups (3.19.8+dfsg0-7+b1 => 3.19.11+dfsg0-1)
printer-driver-hpijs (3.19.8+dfsg0-7+b1 => 3.19.11+dfsg0-1)
printer-driver-postscript-hp (3.19.8+dfsg0-7+b1 => 3.19.11+dfsg0-1)
29 upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/270 MB of archives.
After this operation, 335 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 637762 files and directories currently installed.)
Removing coq (8.9.1-1) ...
Removing coq-theories (8.9.1-1) ...
Removing libcoq-ocaml (8.9.1-1) ...
(Reading database ... 633168 files and directories currently installed.)
Preparing to unpack .../00-bamfdaemon_0.5.4-2_amd64.deb ...
Unpacking bamfdaemon (0.5.4-2) over (0.5.4-1) ...
Preparing to unpack .../01-libbamf3-2_0.5.4-2_amd64.deb ...
Unpacking libbamf3-2:amd64 (0.5.4-2) over (0.5.4-1) ...
Preparing to unpack .../02-bittwist_2.0-12_amd64.deb ...
Unpacking bittwist (2.0-12) over (2.0-11) ...
Preparing to unpack .../03-bruteforce-salted-openssl_1.4.2-2_amd64.deb ...
Unpacking bruteforce-salted-openssl (1.4.2-2) over (1.4.2-1) ...
Preparing to unpack .../04-cewl_5.4.4.2-2_all.deb ...
Unpacking cewl (5.4.4.2-2) over (5.4.4.2-1) ...
Preparing to unpack .../05-chromium-l10n_78.0.3904.87-1_all.deb ...
Unpacking chromium-l10n (78.0.3904.87-1) over (76.0.3809.100-1) ...
Preparing to unpack .../06-chromium_78.0.3904.87-1_amd64.deb ...
Unpacking chromium (78.0.3904.87-1) over (76.0.3809.100-1) ...
Preparing to unpack .../07-chromium-common_78.0.3904.87-1_amd64.deb ...
Unpacking chromium-common (78.0.3904.87-1) over (76.0.3809.100-1) ...
Preparing to unpack .../08-chromium-sandbox_78.0.3904.87-1_amd64.deb ...
Unpacking chromium-sandbox (78.0.3904.87-1) over (76.0.3809.100-1) ...
Preparing to unpack .../09-gir1.2-bamf-3_0.5.4-2_amd64.deb ...
Unpacking gir1.2-bamf-3 (0.5.4-2) over (0.5.4-1) ...
Preparing to unpack .../10-ocaml-compiler-libs_4.08.1-2_amd64.deb ...
Unpacking ocaml-compiler-libs (4.08.1-2) over (4.05.0-12) ...
Preparing to unpack .../11-ocaml_4.08.1-2_amd64.deb ...
Unpacking ocaml (4.08.1-2) over (4.05.0-12) ...
Preparing to unpack .../12-libfindlib-ocaml-dev_1.8.1-1+b1_amd64.deb ...
Unpacking libfindlib-ocaml-dev (1.8.1-1+b1) over (1.8.1-1) ...
Preparing to unpack .../13-ocaml-nox_4.08.1-2_amd64.deb ...
Unpacking ocaml-nox (4.08.1-2) over (4.05.0-12) ...
dpkg: error processing archive /tmp/apt-dpkg-install-wDlzux/13-ocaml-nox_4.08.1-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/ocaml/bigarray.cmi', which is also in package ocaml-base-nox 4.05.0-12
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../14-ocaml-base_4.08.1-2_amd64.deb ...
Unpacking ocaml-base (4.08.1-2) over (4.05.0-12) ...
Preparing to unpack .../15-libfindlib-ocaml_1.8.1-1+b1_amd64.deb ...
Unpacking libfindlib-ocaml (1.8.1-1+b1) over (1.8.1-1) ...
Preparing to unpack .../16-ledit_2.04-4_all.deb ...
Unpacking ledit (2.04-4) over (2.04-3) ...
Preparing to unpack .../17-ocaml-base-nox_4.08.1-2_amd64.deb ...
Unpacking ocaml-base-nox (4.08.1-2) over (4.05.0-12) ...
dpkg: error processing archive /tmp/apt-dpkg-install-wDlzux/17-ocaml-base-nox_4.08.1-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/ocaml/libasmrun_shared.so', which is also in package ocaml-nox 4.05.0-12
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../18-ocaml-interp_4.08.1-2_amd64.deb ...
Unpacking ocaml-interp (4.08.1-2) over (4.05.0-12) ...
Preparing to unpack .../19-libhivex0_1.3.18-1+b3_amd64.deb ...
Unpacking libhivex0:amd64 (1.3.18-1+b3) over (1.3.18-1+b2) ...
Preparing to unpack .../20-printer-driver-hpijs_3.19.11+dfsg0-1_amd64.deb ...
Unpacking printer-driver-hpijs (3.19.11+dfsg0-1) over (3.19.8+dfsg0-7+b1) ...
Preparing to unpack .../21-libhpmud0_3.19.11+dfsg0-1_amd64.deb ...
Unpacking libhpmud0:amd64 (3.19.11+dfsg0-1) over (3.19.8+dfsg0-7+b1) ...
Preparing to unpack .../22-libwin-hivex-perl_1.3.18-1+b3_amd64.deb ...
Unpacking libwin-hivex-perl (1.3.18-1+b3) over (1.3.18-1+b2) ...
Preparing to unpack .../23-libz3-4-dbgsym_4.8.6-2+b1_amd64.deb ...
Unpacking libz3-4-dbgsym:amd64 (4.8.6-2+b1) over (4.8.6-2) ...
Preparing to unpack .../24-libz3-4_4.8.6-2+b1_amd64.deb ...
De-configuring libz3-4:i386 (4.8.6-2) ...
Unpacking libz3-4:amd64 (4.8.6-2+b1) over (4.8.6-2) ...
Preparing to unpack .../25-libz3-4_4.8.6-2+b1_i386.deb ...
Unpacking libz3-4:i386 (4.8.6-2+b1) over (4.8.6-2) ...
Preparing to unpack .../26-libz3-dev_4.8.6-2+b1_amd64.deb ...
Unpacking libz3-dev:amd64 (4.8.6-2+b1) over (4.8.6-2) ...
Selecting previously unselected package ocaml-man.
dpkg: considering deconfiguration of ocaml-nox, which would be broken by installation of ocaml-man ...
dpkg: yes, will deconfigure ocaml-nox (broken by ocaml-man)
Preparing to unpack .../27-ocaml-man_4.08.1-2_all.deb ...
De-configuring ocaml-nox (4.05.0-12) ...
Unpacking ocaml-man (4.08.1-2) ...
Preparing to unpack .../28-printer-driver-hpcups_3.19.11+dfsg0-1_amd64.deb ...
Unpacking printer-driver-hpcups (3.19.11+dfsg0-1) over (3.19.8+dfsg0-7+b1) ...
Preparing to unpack .../29-printer-driver-postscript-hp_3.19.11+dfsg0-1_amd64.deb ...
Unpacking printer-driver-postscript-hp (3.19.11+dfsg0-1) over (3.19.8+dfsg0-7+b1) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-wDlzux/13-ocaml-nox_4.08.1-2_amd64.deb
/tmp/apt-dpkg-install-wDlzux/17-ocaml-base-nox_4.08.1-2_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~#
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ocaml-nox depends on:
ii binutils 2.33.1-2
ii gcc 4:9.2.1-3.1
ii libc6 2.29-3
ii libncurses-dev [libncurses5-dev] 6.1+20191019-1
ii libncurses5-dev 6.1+20191019-1
ii libncurses6 6.1+20191019-1
ii libtinfo6 6.1+20191019-1
ii ocaml-base-nox [ocaml-base-nox-4.05.0] 4.05.0-12
iu ocaml-interp 4.08.1-2
ii zlib1g 1:1.2.11.dfsg-1+b1
Versions of packages ocaml-nox recommends:
ii file 1:5.37-6
Versions of packages ocaml-nox suggests:
pn ocaml-doc <none>
pn tuareg-mode | ocaml-mode <none>
-- no debconf information
Reply to: