Bug#956587: texlive-binaries: needs Breaks/Replaces on older texlive-extra-utils
Package: texlive-binaries
Version: 2020.20200327.54578-2
Severity: serious
Justification: Policy §7.6.1
The upgrade transaction for the texlive family, version 2020.20200329-2
failed for me with a file overwrite (transcript below). This is
non-deterministic based on the order in which apt chooses to upgrade
packages, so it won't happen to everyone.
Workaround: as with most bugs involving files moving between packages,
"apt-get -f install" or "g, g" in aptitude will often sort it out
(although, again, not deterministically). In my case it succeeded on the
second attempt in aptitude.
To solve this for other testing/unstable users and for future buster ->
bullseye upgrades, I think texlive-binaries needs to gain:
Breaks: texlive-extra-utils (<< 2020.20200329-2~)
Replaces: texlive-extra-utils (<< 2020.20200329-2~)
as documented in
<https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-in-other-packages>
and <https://wiki.debian.org/PackageTransition>.
In practice you can probably relax the version constraint to
(<< 2020.20200329) or even (<< 2020) if you know when the file involved
moved between packages, but using the full version as suggested above
is the safe/conservative option.
Thanks for maintaining this family of huge packages!
smcv
Preparing to unpack .../04-texlive_2020.20200329-2_all.deb ...
Unpacking texlive (2020.20200329-2) over (2019.20200302-1) ...
dpkg: considering removing texlive-bibtex-extra in favour of texlive-base ...
dpkg: yes, will remove texlive-bibtex-extra in favour of texlive-base
dpkg: considering removing texlive-binaries in favour of texlive-base ...
dpkg: may have trouble removing texlive-binaries, as it provides texlive-base-bin ...
dpkg: may have trouble removing texlive-binaries, as it provides texlive-base-bin ...
dpkg: yes, will remove texlive-binaries in favour of texlive-base
Preparing to unpack .../05-texlive-base_2020.20200329-2_all.deb ...
De-configuring dvipng (1.15-1.1+b1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring tipa (2:1.3-20), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-base (2019.20200302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-extra-utils (2019.202000302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-formats-extra (2019.202000302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-lang-greek (2019.20200302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-latex-base (2019.20200302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-latex-extra (2019.202000302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-latex-recommended (2019.20200302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-pictures (2019.20200302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-plain-generic (2019.202000302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-science (2019.202000302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring texlive-xetex (2019.20200302-1), to allow removal of texlive-binaries (2019.20190605.51237-3) ...
De-configuring dblatex (0.3.11py3-1), to allow removal of texlive-bibtex-extra (2019.202000302-1) ...
Unpacking texlive-base (2020.20200329-2) over (2019.20200302-1) ...
Selecting previously unselected package texlive-binaries.
Preparing to unpack .../06-texlive-binaries_2020.20200327.54578-2_amd64.deb ...
Unpacking texlive-binaries (2020.20200327.54578-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-gHyUfq/06-texlive-binaries_2020.20200327.54578-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/luajittex.1.gz', which is also in package texlive-extra-utils 2019.202000302-1
Selecting previously unselected package texlive-extra-utils.
Preparing to unpack .../07-texlive-extra-utils_2020.20200329-2_all.deb ...
Unpacking texlive-extra-utils (2020.20200329-2) over (2019.202000302-1) ...
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.5.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages texlive-binaries depends on:
ii dpkg 1.19.7
ii install-info 6.7.0.dfsg.2-5
ii libc6 2.30-4
ii libcairo2 1.16.0-4
ii libfontconfig1 2.13.1-3
ii libfreetype6 2.10.1-2
ii libgcc-s1 10-20200411-1
ii libgraphite2-3 1.3.14-1
ii libharfbuzz0b 2.6.4-1
ii libicu63 63.2-3
ii libkpathsea6 2020.20200327.54578-2
ii libmpfr6 4.0.2-1
ii libpaper1 1.1.28+b1
ii libpixman-1-0 0.36.0-1
ii libpng16-16 1.6.37-2
ii libptexenc1 2020.20200327.54578-2
ii libstdc++6 10-20200411-1
ii libsynctex2 2020.20200327.54578-2
ii libteckit0 2.5.8+ds2-5
ii libtexlua53 2020.20200327.54578-2
ii libtexluajit2 2020.20200327.54578-2
ii libx11-6 2:1.6.9-2
ii libxaw7 2:1.0.13-1+b2
ii libxi6 2:1.7.9-1
ii libxmu6 2:1.1.2-2+b3
ii libxpm4 1:3.5.12-1
ii libxt6 1:1.1.5-1+b3
ii libzzip-0-13 0.13.62-3.2
ii perl 5.30.0-9
ii t1utils 1.41-3
ii tex-common 6.13
ii zlib1g 1:1.2.11.dfsg-2
Versions of packages texlive-binaries recommends:
ii dvisvgm 2.9.1-1
ii texlive-base 2020.20200329-2
texlive-binaries suggests no packages.
-- no debconf information
Reply to: