Your message dated Sat, 08 Dec 2018 04:34:49 +0000
with message-id <e1gvukh-00028y...@fasolo.debian.org>
and subject line Bug#915587: fixed in nixnote2 2.1.1-1
has caused the Debian Bug report #915587,
regarding nixnote2: unhandled symlink to directory conversion: 
/usr/share/nixnote2/help
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.)


-- 
915587: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915587
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nixnote2
Version: 2.1.1~git20181202-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

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:

  testing -> sid

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.


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

1m18.3s ERROR: installs objects over existing directory symlinks:
  /usr/share/nixnote2/help/about.html (nixnote2) != 
/usr/share/doc/nixnote2/help/about.html (?)
    /usr/share/nixnote2/help -> ../doc/nixnote2/help


cheers,

Andreas

Attachment: nixnote2_2.1.1~git20181202-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: nixnote2
Source-Version: 2.1.1-1

We believe that the bug you reported is fixed in the latest version of
nixnote2, 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 915...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <by...@debian.org> (supplier of updated nixnote2 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: Fri, 07 Dec 2018 22:55:04 -0500
Source: nixnote2
Binary: nixnote2
Architecture: source
Version: 2.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Boyuan Yang <by...@debian.org>
Changed-By: Boyuan Yang <by...@debian.org>
Description:
 nixnote2   - Open Source Evernote client
Closes: 915587 915590
Changes:
 nixnote2 (2.1.1-1) unstable; urgency=medium
 .
   * New upstream version 2.1.1
   * debian/patches:
     - Remove merged patches.
     + Backport upstream patch to use correct QMAKE_STRIP.
       (Closes: #915590)
   * debian/maintscript:
     + Add a maintscript file to handle symlink_to_dir.
       (Closes: # 915587)
Checksums-Sha1:
 06ecbdf5853fefef493f0d20aca99a4445a3729a 2088 nixnote2_2.1.1-1.dsc
 f9ee523ff351cee16617a1d61c7ed00aaaeb7d68 2214223 nixnote2_2.1.1.orig.tar.gz
 6d5f0def58c033ea66848ff3744b6d1d8618cdc3 5272 nixnote2_2.1.1-1.debian.tar.xz
 8a2f9184986605bce605f7859dc8667136af80be 13491 nixnote2_2.1.1-1_amd64.buildinfo
Checksums-Sha256:
 090b575a2b64c3a3fa5c54251a9b270519c9dd5fbc2ca3ff3c77189da08cfb35 2088 
nixnote2_2.1.1-1.dsc
 c7bb5f39769fbf0038abd1a3b91961362e1f1342d208062b4374d06ff098c1a4 2214223 
nixnote2_2.1.1.orig.tar.gz
 dcda654626fabbca9c838ea9ee98f92bf23befed4b982c7680eec1e3d19c3064 5272 
nixnote2_2.1.1-1.debian.tar.xz
 81458c6def38d004234d28090a423da9f3a6224747aa512bf6e87537a319b74e 13491 
nixnote2_2.1.1-1_amd64.buildinfo
Files:
 88f496eeed7b036feb993d509fbdd130 2088 utils optional nixnote2_2.1.1-1.dsc
 c004a0d7842328e64490e826b8d2bd79 2214223 utils optional 
nixnote2_2.1.1.orig.tar.gz
 4135055df00cc47c5de775106a5bf438 5272 utils optional 
nixnote2_2.1.1-1.debian.tar.xz
 58f5bcb6789361c514ce0c737f6d4d76 13491 utils optional 
nixnote2_2.1.1-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAlwLQ0MACgkQwpPntGGC
Ws7bgQ//Rpw9Jn8/T11G5zYicaCyH9H9JwWn6ldseJ+U3Ib4cJsLJN0vnC+fnL9Q
6cufnNVUMCiXabvQsMiPLlrbs5VuNRCnHusRZHXvxyL4qonzVSGcM6fbQLiku/uT
V9kuNhFYCcL0cIovfue+oJg4QcwpP8jCqJgtjz8rbaLsAs1qvRIF+uD5kyXiCq0K
FZAx/To8GewZex5gJoGSHPVK8xHkg7tVaGWXCAHWskVFYnjTWdvh9BeSKHi+AvUJ
9C+pPRmR1SGxmJmcTOyuZnLjBQIOKJwwwpykW6c50EoUOtaNb8QpRIRGbn0lw0DG
0Mw5kL6B63Drd2tEERtlwgd9DkZ0qb+g89GDeqUzsOGCvhm4GgK1Bes8R2FKmAtl
C2z0VLc7xN4tz4Qy9G2Ko+B5DmS5jD7uIez/hYr4BVvbxIVDrRJ0ebsTapQdN6TS
H+owKkWZM233Duydz3nS8ZcWs+QJcV0jD/d9Y0eP27/Nh2n0tdNmXFIoLUo1Ipqo
B2+EE+OF0s3EP/RTr6ykV3K8DvOPLKiJeTvUU1Xgt8RPuvUDdURONt7/13LiKcFD
MuwcUHWbqFqh/2lN5DKfB/AhYCcLA1f5Kl/vDxxLN5ujbYOiP+HKJtWyLkPZbWkX
GIJjtWR/pfWhyM2Ud7IDqDWTQUGVEK+3iEYb566CShz8iZAvYjA=
=PCxR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to