[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946470: marked as done (libreoffice-l10n-de: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE)



Your message dated Wed, 29 Jan 2020 16:19:46 +0000
with message-id <E1iwq4A-000Bou-Bg@fasolo.debian.org>
and subject line Bug#946470: fixed in libreoffice 1:6.4.0-1
has caused the Debian Bug report #946470,
regarding libreoffice-l10n-de: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE
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 owner@bugs.debian.org
immediately.)


-- 
946470: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946470
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libreoffice-l10n-de
Version: 1:6.4.0~beta1-0reprotest1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + libreoffice-l10n-ja libreoffice-l10n-he libreoffice-l10n-in libreoffice-l10n-za libreoffice-help-common

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  sid -> experimental

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


This bug is present in several libreoffice-l10n-?? packages
and libreoffice-help-common. Maybe also in more packages
depending on these failing ones since they cannot be tested.

>From the attached log (scroll to the bottom...):

0m25.4s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libreoffice-l10n-de/changelog.Debian.gz (libreoffice-l10n-de) != /usr/share/doc/libreoffice-common/changelog.Debian.gz (libreoffice-common)
    /usr/share/doc/libreoffice-l10n-de -> libreoffice-common
  /usr/share/doc/libreoffice-l10n-de/copyright (libreoffice-l10n-de) != /usr/share/doc/libreoffice-common/copyright (libreoffice-common)
    /usr/share/doc/libreoffice-l10n-de -> libreoffice-common

0m24.7s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libreoffice-help-common/changelog.Debian.gz (libreoffice-help-common) != /usr/share/doc/libreoffice-common/changelog.Debian.gz (libreoffice-common)
    /usr/share/doc/libreoffice-help-common -> libreoffice-common
  /usr/share/doc/libreoffice-help-common/copyright (libreoffice-help-common) != /usr/share/doc/libreoffice-common/copyright (libreoffice-common)
    /usr/share/doc/libreoffice-help-common -> libreoffice-common


cheers,

Andreas

Attachment: libreoffice-l10n-de_1:6.4.0~beta1-0reprotest1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: libreoffice
Source-Version: 1:6.4.0-1

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 946470@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 29 Jan 2020 16:25:26 +0100
Source: libreoffice
Architecture: source
Version: 1:6.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 946470
Changes:
 libreoffice (1:6.4.0-1) unstable; urgency=medium
 .
   * LibreOffice 6.4.0 final release (identical to rc3)
 .
   * debian/patches/disable-sc-ScriptOrganizer-test.diff: disable sc
     ScriptOrganizer test uitest for now - fails on arm64 buildds
     (and only in sc, not in sw) but works on the porterbox...
   * debian/libreoffice-l10n-{in,kmr,za}.maintscript: fix (closes: #946470)
Checksums-Sha1:
 0dc14b1f3314eacd28264b5f27d78db0fc42388e 30421 libreoffice_6.4.0-1.dsc
 8d574d0a7552b18e92d1aeb1192a87f9690b088a 87698472 libreoffice_6.4.0.orig-helpcontent2.tar.xz
 b13a31085c533b1df3ba1d9de26817a1a84b20ce 171377512 libreoffice_6.4.0.orig-translations.tar.xz
 ae20d33176e9cfed41d80816d88afdcdf50b26a8 232585928 libreoffice_6.4.0.orig.tar.xz
 22315f0d7ab99433f2015643c56d5c197440e0ed 833 libreoffice_6.4.0.orig.tar.xz.asc
 307c9605099d67ae11398de0b109b181a15c10e5 10903720 libreoffice_6.4.0-1.debian.tar.xz
 d8b6c85f980e5af2a5a0527f0ba2ebfbed0b0646 39585 libreoffice_6.4.0-1_source.buildinfo
Checksums-Sha256:
 6ad5198445d61bb3e35e3ee96affc79d6bcacfd7164568cfd09f99bcf87486a8 30421 libreoffice_6.4.0-1.dsc
 b269fb288925179006aa22d0fc7bd452101cd1c58458fb2399c2f02c93049614 87698472 libreoffice_6.4.0.orig-helpcontent2.tar.xz
 2909460727943841f278c45715eb07b0c57c1b08d10a38dd76c127a14695b523 171377512 libreoffice_6.4.0.orig-translations.tar.xz
 c531d99d42c830a0f51f36c5a5efa4f32007b41b43788e3cec082cea87422a27 232585928 libreoffice_6.4.0.orig.tar.xz
 def1f080a106be01ac8192faddbbe8781da147f4339676720e5baef96965d5d8 833 libreoffice_6.4.0.orig.tar.xz.asc
 60f7bcf0c989b7c72fa9fbe68a7567be393905de5f14991d346f487823ed0977 10903720 libreoffice_6.4.0-1.debian.tar.xz
 08225318248386733c514f0dbe5c9b643319155da0be30883fe877229506d000 39585 libreoffice_6.4.0-1_source.buildinfo
Files:
 b366b1827c968376d4a1c95cc3e34695 30421 editors optional libreoffice_6.4.0-1.dsc
 4b4b62003aea2c0bc6b86a49aaf9ada0 87698472 editors optional libreoffice_6.4.0.orig-helpcontent2.tar.xz
 a90ed97494d471cf5c3d81aaf961bcdb 171377512 editors optional libreoffice_6.4.0.orig-translations.tar.xz
 93ffa098e65dde29516ffe7212092f29 232585928 editors optional libreoffice_6.4.0.orig.tar.xz
 9664dce5f20c00d3510727cb6c99ab2c 833 editors optional libreoffice_6.4.0.orig.tar.xz.asc
 c707df11859c2985325f382979246534 10903720 editors optional libreoffice_6.4.0-1.debian.tar.xz
 858b2fdc3e913ff536eb16445951327f 39585 editors optional libreoffice_6.4.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAl4xpXAQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cKWaD/9QWOPvsw97J0832qC3z8qZVknrb3zjGwFo
60a2CR8vwcQGYtT7cmpXNTbgBWhFaJVP3FHyvR7LPtBGmd3kjHkCXO9yuxBMOx+k
uHxWA5bEquVFspg73Q9ObQnwsaNmtXdVfr4vVQ9kAxQXoopdCIQp2qnBKKlNbdBy
UjWaIf6rz95dbjni9KdmPdvtE9punXdQswb6aD99k75PdiwouY5ysK4JXObL2aK+
f0Un64zvitEuZnxlGlX/65Ca8X8JF+phGphnr6W37+YF73OgyE3jpffeMMoeKuoO
A+wEVu5ElhERrrzOLj8y9AZCydLU0PFmagTshQ13NZIyKDSBJtL7FmZe5MBl1p8o
hszAKKPMYs9lzvsk7ph51qmHfE4NYRoeidryCIujS+lZi9kpPW/3hP7tEUUpQwS8
MB7ogsX3d77JsAJFxfh3HcgbzAd0ShD2iyiRv83DsLG5nijFZ6OEetKaUkE/1mjN
OGCiK1gMr2qN86YyjZq+mEtxGV3phf+4T5BJpKOX4Vc7w/T7acnTJitQa/J/jWvN
J9TrgnQmvVsynl4SnWY1R6tuJTu2NpH2Ild0Cdlf1v7XaC1V8YjtKhBHbwFeMmtN
zAcH84LYk7LS+MseyDBVy5LuQjvNtJ/33lYEWtDWwKcixRtJLksoPhJlNf20CPb2
awsqIE790w==
=Vx9K
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: