Your message dated Sat, 01 May 2021 13:34:23 +0000 with message-id <e1lcplh-0000li...@fasolo.debian.org> and subject line Bug#985297: fixed in libreoffice 1:7.0.4-4 has caused the Debian Bug report #985297, regarding libreoffice-common: do not use dir_to_symlink for /usr/lib/libreoffice/share/registry to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 985297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985297 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: libreoffice-common Version: 1:7.0.4-3 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Control: affects -1 + libreoffice-writer libreoffice-draw libreoffice-calc libreoffice-base libreoffice-math Hi, during a test with piuparts I noticed your package fails to upgrade from 'buster'. It installed fine in 'buster', then the upgrade to 'bullseye' fails. >From the attached log (scroll to the bottom...): Preparing to unpack .../0-ure_1%3a7.0.4-3_amd64.deb ... Unpacking ure (1:7.0.4-3) over (6.1.5-3+deb10u7) ... Preparing to unpack .../1-libreoffice-style-colibre_1%3a7.0.4-3_all.deb ... Unpacking libreoffice-style-colibre (1:7.0.4-3) over (1:6.1.5-3+deb10u7) ... dpkg: considering deconfiguration of libreoffice-writer, which would be broken by installation of libreoffice-core ... dpkg: yes, will deconfigure libreoffice-writer (broken by libreoffice-core) Preparing to unpack .../2-libreoffice-core_1%3a7.0.4-3_amd64.deb ... De-configuring libreoffice-writer (1:6.1.5-3+deb10u7) ... Unpacking libreoffice-core (1:7.0.4-3) over (1:6.1.5-3+deb10u7) ... dpkg: considering removing libreoffice-writer in favour of libreoffice-common ... dpkg: libreoffice-writer is not properly installed; ignoring any dependencies on it dpkg: yes, will remove libreoffice-writer in favour of libreoffice-common Preparing to unpack .../3-libreoffice-common_1%3a7.0.4-3_all.deb ... dpkg-maintscript-helper: error: file '/usr/lib/libreoffice/share/registry/writer.xcd' not owned by package 'libreoffice-common:all' dpkg-maintscript-helper: error: directory '/usr/lib/libreoffice/share/registry' contains files not owned by package libreoffice-common:all, cannot switch to symlink dpkg: error processing archive /tmp/apt-dpkg-install-sERX6l/3-libreoffice-common_1%3a7.0.4-3_all.deb (--unpack): new libreoffice-common package pre-installation script subprocess returned error exit status 1 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 Selecting previously unselected package libreoffice-writer. dpkg: considering deconfiguration of libreoffice-common, which would be broken by installation of libreoffice-writer ... dpkg: yes, will deconfigure libreoffice-common (broken by libreoffice-writer) Preparing to unpack .../4-libreoffice-writer_1%3a7.0.4-3_amd64.deb ... De-configuring libreoffice-common (1:6.1.5-3+deb10u7) ... Unpacking libreoffice-writer (1:7.0.4-3) over (1:6.1.5-3+deb10u7) ... Replacing files in old package libreoffice-common (1:6.1.5-3+deb10u7) ... Preparing to unpack .../5-libxmlsec1_1.2.31-1_amd64.deb ... Unpacking libxmlsec1:amd64 (1.2.31-1) over (1.2.27-2) ... Preparing to unpack .../6-libreoffice-base-core_1%3a7.0.4-3_amd64.deb ... Unpacking libreoffice-base-core (1:7.0.4-3) over (1:6.1.5-3+deb10u7) ... Errors were encountered while processing: /tmp/apt-dpkg-install-sERX6l/3-libreoffice-common_1%3a7.0.4-3_all.deb You already have all the needed Conflicts ... In this complicated upgrade case I don't see a solution to get dpkg-maintscript-helper dir_to_symlink to work properly ... Therefore I'd suggest to not use dir_to_symlink here ... but to fixup the link in postinst configure: if [ ! -L /usr/lib/libreoffice/share/registry ]; then if [ -d /usr/lib/libreoffice/share/registry ]; then # this will fail if the directory is not yet empty rmdir /usr/lib/libreoffice/share/registry fi ln -s /etc/libreoffice/registry /usr/lib/libreoffice/share/registry fi I would actually go for the fail-if-not-empty case and fix up all the upgrade paths triggering this. cheers, Andreas PS: for a log time I thought this was just another bug caused by dpkg bug #983855 but I'm now using a patched dpkg in my piuparts instance ...
libreoffice-writer_1:7.0.4-3.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: libreoffice Source-Version: 1:7.0.4-4 Done: Rene Engelhard <r...@debian.org> We believe that the bug you reported is fixed in the latest version of libreoffice, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 985...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Rene Engelhard <r...@debian.org> (supplier of updated libreoffice package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 01 May 2021 13:50:48 +0200 Source: libreoffice Architecture: source Version: 1:7.0.4-4 Distribution: unstable Urgency: medium Maintainer: Debian LibreOffice Maintainers <debian-openoff...@lists.debian.org> Changed-By: Rene Engelhard <r...@debian.org> Closes: 982274 985297 Changes: libreoffice (1:7.0.4-4) unstable; urgency=medium . * debian/patches/apparmor-updates.diff: allow one more digit in temp files (closes: #982274) * debian/control.in, debian/libreoffice-common.{maintscript,postinst.in}: apply patch from Adreas Beckmann to fix upgrade buster->bullseye - libreoffice-core: Copy some Conflicts from libreoffice-common for smoother upgrades from buster. Dpkg will otherwise ignore Conflicts that are encountered later against a package that is already deconfigured. - libreoffice-common: Do not use dir_to_symlink for /usr/lib/libreoffice/share/registry, the Breaks/Conflicts cascade does not work reliable here to ensure all packages previously shipping files there are either removed or upgraded first, but not just deconfigured. Fix up the symlink in postinst instead. (Closes: #985297) Checksums-Sha1: 701e4d774432971dc4dba771db9f915b457f42dd 31313 libreoffice_7.0.4-4.dsc 8858346d5b45d73a72550bce214bab9e1c1e5781 19483948 libreoffice_7.0.4-4.debian.tar.xz 2946ca5e9b7dac5c77891b4daf8bcbb015d19f6c 33228 libreoffice_7.0.4-4_source.buildinfo Checksums-Sha256: e1bd6fd123ff5d8335360bb1352df1e7e9026ad02a0a38d96b61eb4069254213 31313 libreoffice_7.0.4-4.dsc bdd39c201dc85b5a183d2989c574078717e716bb86b8cad5e3472fcafd98f2dd 19483948 libreoffice_7.0.4-4.debian.tar.xz 10751ce901c0d267408d0ee8b69101c564ac5ff09915d6b696445d5df81e206f 33228 libreoffice_7.0.4-4_source.buildinfo Files: 3ef268bc93da51127c68204bab42844f 31313 editors optional libreoffice_7.0.4-4.dsc 1999c1c4f5da8480d01ee8efccb3430f 19483948 editors optional libreoffice_7.0.4-4.debian.tar.xz 0eab38d9be3175a07a200a702a4d49b5 33228 editors optional libreoffice_7.0.4-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmCNTvYQHHJlbmVAZGVi aWFuLm9yZwAKCRAKoEVx0D4+cDLYD/9KnFRi6TPEQhSKzg4jeux/Q/0XOj8oooj9 7kQ/VSHqiZFZRi8TPcNd2tVHqlifxK0wHqMrs6W23883Si9ATY0sbvOyqCKni+90 xNY1AVbY77Osa7rcFy+dRwvxIfEXsyfMn9jSs7FoO9/43VATJEL4WGTJ60xRiPtA 44DJeQGMq3p0nDtqPE9lD4Bx55D4i7OBip799fb8yMyI44xUXa7RHhgkzEYyPVQ9 GpYrvhmdtVmWPLTTpBHfQ/FXVowflcQ2og5HdL8Rd9EhnEHOWvICTjqkfu92m9Dg UD/T6kD9/VnoI+9Xa0B42KfoO4+kTaHkKi7mtwz9Z8+B3U6AhxAjbvQF8tTqsish zPITbOxENawl08LkgrAOD3QVSB9+zXUooN5M9+d5ErEfvFmlfrEDnvIs5bQ0irTj pkkC18n49wH3HmH0+8lztJXfH3MplHUvGZY0/ISUK4uoh1X+noysXq+Bcv1dcqFw 0FjVWEwJ/tyIDPcvy0dVDPevu1YGSyYcq5vtD3s0QkHBjzB4qYKUkD2EQHgT87qr dyY6XJ2myh3UMsNQV9Q7s2Vm2ThxtlapWYgHDKKlueCfNXbZ6Ib5ZDkZUvtqjGsJ upGFd5UrAj2SwBS9MzxSCZ7Rq95i+f3RxV2BPOm48ZGWGoaIrP8fDPnNoAoKVhgm lITvq6vzbA== =b7Xs -----END PGP SIGNATURE-----
--- End Message ---