Bug#912140: libreoffice-base,libreoffice-common: trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-{base,common} 1:5.2.7-1+deb9u3
Package: libreoffice-base,libreoffice-common
Version: 1:5.2.7-1+deb9u4
Severity: serious
Justification: file conflict, fails to upgrade
Dear Rene and Chris,
When upgrading Debian Stretch on a friends Gemini PDA (arm64), parts of libreoffice failed to
upgrade from deb8u3 to deb8u4 due a file conflict between two of its binary packages.
It looks as if dialog.xlc moved between packages between deb8u3 and deb8u4 on at least arm64.
root@localhost:~# apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libreoffice-base libreoffice-common
Suggested packages:
libreoffice-gcj libreoffice-report-builder unixodbc libreoffice-style-breeze
libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
Recommended packages:
default-jre | openjdk-8-jre | openjdk-7-jre | openjdk-6-jre | gcj-jre | java5-runtime | jre
The following packages will be upgraded:
libreoffice-base libreoffice-common
2 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
4 not fully installed or removed.
Need to get 0 B/24.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 67608 files and directories currently installed.)
Preparing to unpack .../libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb ...
Unpacking libreoffice-base (1:5.2.7-1+deb9u4) over (1:5.2.7-1+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-common 1:5.2.7-1+deb9u3
Preparing to unpack .../libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb ...
Unpacking libreoffice-common (1:5.2.7-1+deb9u4) over (1:5.2.7-1+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-base 1:5.2.7-1+deb9u3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb
/var/cache/apt/archives/libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
While there are 3rd-party packages ("Gemian") installed, the two affected packages seem to come
from Debian proper.
root@localhost:~# apt-cache policy libreoffice-base libreoffice-common
libreoffice-base:
Installed: 1:5.2.7-1+deb9u3
Candidate: 1:5.2.7-1+deb9u4
Version table:
1:5.2.7-1+deb9u4 500
500 http://http.debian.net/debian stretch/main arm64 Packages
*** 1:5.2.7-1+deb9u3 100
100 /var/lib/dpkg/status
libreoffice-common:
Installed: 1:5.2.7-1+deb9u3
Candidate: 1:5.2.7-1+deb9u4
Version table:
1:5.2.7-1+deb9u4 500
500 http://http.debian.net/debian stretch/main arm64 Packages
*** 1:5.2.7-1+deb9u3 100
100 /var/lib/dpkg/status
-- System Information:
Debian Release: 9.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: arm64 (aarch64)
Kernel: Linux 3.18.41+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libreoffice-base depends on:
ii dpkg 1.18.25
ii libc6 2.24-11+deb9u3
ii libgcc1 1:6.3.0-18+deb9u1
ii libreoffice-base-core 1:5.2.7-1+deb9u4
ii libreoffice-base-drivers 1:5.2.7-1+deb9u4
ii libreoffice-core 1:5.2.7-1+deb9u4
ii libstdc++6 6.3.0-18+deb9u1
ii uno-libs3 5.2.7-1+deb9u4
ii ure 5.2.7-1+deb9u4
Versions of packages libreoffice-base recommends:
pn default-jre | openjdk-8-jre | openjdk-7-jre | openjdk-6-j <none>
iu libreoffice-java-common 1:5.2.7-1+deb9u4
ii libreoffice-writer 1:5.2.7-1+deb9u4
Versions of packages libreoffice-base suggests:
pn libreoffice-gcj <none>
pn libreoffice-report-builder <none>
pn unixodbc <none>
Versions of packages libreoffice-core depends on:
ii fontconfig 2.11.0-6.7+b1
ii fonts-opensymbol 2:102.7+LibO5.2.7-1+deb9u4
ii libboost-date-time1.62.0 1.62.0+dfsg-4
ii libc6 2.24-11+deb9u3
ii libcairo2 1.14.8-1
ii libclucene-contribs1v5 2.3.3.4+dfsg-1
ii libclucene-core1v5 2.3.3.4+dfsg-1
ii libcmis-0.5-5v5 0.5.1+git20160603-3+b1
ii libcups2 2.2.1-8+deb9u1
ii libcurl3-gnutls 7.52.1-5+deb9u6
ii libdbus-1-3 1.10.26-0+deb9u1
ii libdbus-glib-1-2 0.108-2
ii libdconf1 0.26.0-2+b1
ii libeot0 0.01-4+b1
ii libexpat1 2.2.0-2+deb9u1
ii libexttextcat-2.0-0 3.4.4-2+b1
ii libfontconfig1 2.11.0-6.7+b1
ii libfreetype6 2.6.3-3.2
ii libgcc1 1:6.3.0-18+deb9u1
ii libgl1-mesa-glx [libgl1] 13.0.6-1+b2
ii libglew2.0 2.0.0-3+b1
ii libglib2.0-0 2.50.3-2
ii libgltf-0.0-0v5 0.0.2-5
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii libgraphite2-3 1.3.10-1
ii libharfbuzz-icu0 1.4.2-1
ii libharfbuzz0b 1.4.2-1
ii libhunspell-1.4-0 1.4.1-2+b2
ii libhyphen0 2.8.8-5
ii libice6 2:1.0.9-2
ii libicu57 57.1-6+deb9u2
ii libjpeg62-turbo 1:1.5.1-2
ii liblangtag1 0.6.2-1
ii liblcms2-2 2.8-4
ii libldap-2.4-2 2.4.44+dfsg-5+deb9u2
ii libmythes-1.2-0 2:1.2.4-3
ii libneon27-gnutls 0.30.2-2
ii libnspr4 2:4.12-6
ii libnss3 2:3.26.2-1.1+deb9u1
ii libodfgen-0.1-1 0.1.6-2
ii libpng16-16 1.6.28-1
ii librdf0 1.0.17-1.1
ii libreoffice-common 1:5.2.7-1+deb9u3
ii librevenge-0.0-0 0.0.4-6
ii libsm6 2:1.2.2-1+b3
ii libstdc++6 6.3.0-18+deb9u1
ii libx11-6 2:1.6.4-3
ii libxext6 2:1.3.3-1+b2
ii libxinerama1 2:1.1.3-1+b3
ii libxml2 2.9.4+dfsg1-2.2+deb9u2
ii libxrandr2 2:1.5.1-1
ii libxrender1 1:0.9.10-1
ii libxslt1.1 1.1.29-2.1
ii uno-libs3 5.2.7-1+deb9u4
ii ure 5.2.7-1+deb9u4
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages libreoffice-core recommends:
pn libpaper-utils <none>
Versions of packages libreoffice-base is related to:
pn libmyodbc <none>
pn libmysql-java <none>
pn libpg-java <none>
pn libsapdbc-java <none>
pn libsqliteodbc <none>
pn mdbtools <none>
pn odbc-postgresql <none>
pn tdsodbc <none>
pn unixodbc <none>
-- no debconf information
Reply to: