Your message dated Sat, 01 May 2021 13:50:38 +0000 with message-id <e1lcq10-0002hr...@fasolo.debian.org> and subject line Bug#985297: fixed in libreoffice 1:7.1.3~rc2-1 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.1.3~rc2-1 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:02 +0200 Source: libreoffice Architecture: source Version: 1:7.1.3~rc2-1 Distribution: experimental Urgency: medium Maintainer: Debian LibreOffice Maintainers <debian-openoff...@lists.debian.org> Changed-By: Rene Engelhard <r...@debian.org> Closes: 955271 985297 Changes: libreoffice (1:7.1.3~rc2-1) experimental; urgency=medium . * New upstream snapshot . * debian/patches/apparmor-gnupg-tofu.diff: apply patch to support tofu+pgp in apparmor profile (closes: #955271) * 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: 4920aa4df745300ae4a88c1eacc6b1a2e0a78061 30702 libreoffice_7.1.3~rc2-1.dsc 6ef9600df3448d436485e205e9b628c39a793a12 111105036 libreoffice_7.1.3~rc2.orig-helpcontent2.tar.xz 8f196853770eebc1ca819de453811a8b7614a15a 186011120 libreoffice_7.1.3~rc2.orig-translations.tar.xz 5ed9e664347f8065047437e93fe79ab501e2995d 244104432 libreoffice_7.1.3~rc2.orig.tar.xz 505a59f45f3c0afa54449dab465422bea8fbe34f 833 libreoffice_7.1.3~rc2.orig.tar.xz.asc a4885055e60f18ef60c32243bef85505ec67d0a9 21514812 libreoffice_7.1.3~rc2-1.debian.tar.xz 527f350604743e18d83e655262db379dfc33713e 33350 libreoffice_7.1.3~rc2-1_source.buildinfo Checksums-Sha256: efbab5f446ab5e996bf6ebb0d3eacfeb978a65b4eb8e231ff3e3e1673a478832 30702 libreoffice_7.1.3~rc2-1.dsc c6a2664f0226bc44d0f31fb2ec274c09f47dddf6b6cc4ec3e3e2cdad3e9ffbdd 111105036 libreoffice_7.1.3~rc2.orig-helpcontent2.tar.xz 48f3a5e94573486b75125ac74b004e7becee067271fe8db7caecb005c1584fe6 186011120 libreoffice_7.1.3~rc2.orig-translations.tar.xz 35af7fd104b253704f770a205f835aee0e82ccc889ebf0949a89d9b3276229bf 244104432 libreoffice_7.1.3~rc2.orig.tar.xz 328c1e6059d9a31ab9e0e4f3fc13cc9c5e03f2f791bb2340befa8538baad9ff9 833 libreoffice_7.1.3~rc2.orig.tar.xz.asc 54a4ce7e8111a992d0723ad2a0f483c74db8b6142730280b59305f242e7a7190 21514812 libreoffice_7.1.3~rc2-1.debian.tar.xz 932891069fec369da726c48e9ae1f2db038123b6122ba122eb552c37f4fc0a5e 33350 libreoffice_7.1.3~rc2-1_source.buildinfo Files: f54992369f89c11db7eec20ee824bb80 30702 editors optional libreoffice_7.1.3~rc2-1.dsc b636560b9a277674a46dfb84e1eb59d4 111105036 editors optional libreoffice_7.1.3~rc2.orig-helpcontent2.tar.xz 3c1d86a6b00b46f9fbc89ea5ed558e76 186011120 editors optional libreoffice_7.1.3~rc2.orig-translations.tar.xz a7a47fe3a5f03fecd0616d071eedb75b 244104432 editors optional libreoffice_7.1.3~rc2.orig.tar.xz 03716ce9fef8730ba18071a0eae82aae 833 editors optional libreoffice_7.1.3~rc2.orig.tar.xz.asc bfbd07731dd475925ed26339f13821f0 21514812 editors optional libreoffice_7.1.3~rc2-1.debian.tar.xz c917b79aa91e4c176de0d76bdcccef34 33350 editors optional libreoffice_7.1.3~rc2-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmCNTuoQHHJlbmVAZGVi aWFuLm9yZwAKCRAKoEVx0D4+cJiGD/4rnwwpSMXorxL0KtcsFOvE3tnKkpGaFeTA OwwexDFCEePC5L23oyiDyQnSI3j6I/JJlsiABLy+7T9oaTtrTzZEuPyuzWvsCOBd lsO1fhz51UvK0CeIkRreNewwmiFecSw9xdRE14jHIeRpdUxbjWJQ6oVxQkK9eOoo DE/bsx1owIeUxEoD2YaV7fQ5YyNyEvtFwcb4QFKAXAn4Iyf2g9a2Kq2kACvqKSv0 Q+7zIABwg8cgpQ8rrBCCbOx+Gf7BGwfFTrv4fYtpdAiVp+PaY3IWeooXvyXt7vNC 4orYUQ9J6EbS7muuiIbYMnWpz4xMOacO8UID+MX7GJx4jUsfhqrPRgmcGvJTEdUg 3vQQqHy0U6ksIs9pTZYyl0TwrAA/j1y4nyJJScUBFS8WNs/+H/HpUO7p9JNnXEGQ ueRZ0cQtR81gvh+p7/o35EV2DsXnxgiFMmXrcW/fpdPBuvCINTfJn/4SlRqVXftC sePzYSXhNqH89SL8W39QUZ8ZhHWw1MASNq1Vq89Du2NU8wTf1Bhl6Q0kB3nGarFH bRl5fMwWMNDxmJhlz8Mmye/31VtSG1QgNDAEzauHwWgDZdgRLK3vBzXj2uVozlWv suEOIurm6w7TsPUFkPSuDADYAB2gWmMRAQLQRLqzDffM56uDJ3PPLg+zdyw4IUPK DPxGzfoBtA== =7R2w -----END PGP SIGNATURE-----
--- End Message ---