Your message dated Thu, 15 Apr 2021 16:50:35 +0000
with message-id <e1lx5cn-000ajk...@fasolo.debian.org>
and subject line Bug#985292: fixed in materia-gtk-theme 20200916-0.2
has caused the Debian Bug report #985292,
regarding materia-gtk-theme: unhandled symlink to directory conversion: 
/usr/share/themes/Materia-compact/gtk-3.0/assets -> ../gtk-assets
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.)


-- 
985292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985292
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: materia-gtk-theme
Version: 20200916-0.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:

  buster -> bullseye

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...):

1m8.4s ERROR: installs objects over existing directory symlinks:
  
/usr/share/themes/Materia-compact/gtk-3.0/assets/scale-horz-marks-after-slider-dark.png
 (materia-gtk-theme) != 
/usr/share/themes/Materia-compact/gtk-assets/scale-horz-marks-after-slider-dark.png
 (?)
    /usr/share/themes/Materia-compact/gtk-3.0/assets -> ../gtk-assets
  
/usr/share/themes/Materia-compact/gtk-3.0/assets/scale-horz-marks-after-slider-d...@2.png
 (materia-gtk-theme) != 
/usr/share/themes/Materia-compact/gtk-assets/scale-horz-marks-after-slider-d...@2.png
 (?)
    /usr/share/themes/Materia-compact/gtk-3.0/assets -> ../gtk-assets
  
/usr/share/themes/Materia-compact/gtk-3.0/assets/scale-horz-marks-after-slider-disabled-dark.png
 (materia-gtk-theme) != 
/usr/share/themes/Materia-compact/gtk-assets/scale-horz-marks-after-slider-disabled-dark.png
 (?)
    /usr/share/themes/Materia-compact/gtk-3.0/assets -> ../gtk-assets
  
/usr/share/themes/Materia-compact/gtk-3.0/assets/scale-horz-marks-after-slider-disabled-d...@2.png
 (materia-gtk-theme) != 
/usr/share/themes/Materia-compact/gtk-assets/scale-horz-marks-after-slider-disabled-d...@2.png
 (?)
    /usr/share/themes/Materia-compact/gtk-3.0/assets -> ../gtk-assets
  
/usr/share/themes/Materia-compact/gtk-3.0/assets/scale-horz-marks-after-slider-disabled.png
 (materia-gtk-theme) != 
/usr/share/themes/Materia-compact/gtk-assets/scale-horz-marks-after-slider-disabled.png
 (?)
    /usr/share/themes/Materia-compact/gtk-3.0/assets -> ../gtk-assets
[...]
  
/usr/share/themes/Materia/gtk-3.0/assets/selectionmode-checkbox-unchecked-d...@2.png
 (materia-gtk-theme) != 
/usr/share/themes/Materia/gtk-assets/selectionmode-checkbox-unchecked-d...@2.png
 (?)
    /usr/share/themes/Materia/gtk-3.0/assets -> ../gtk-assets
  /usr/share/themes/Materia/gtk-3.0/assets/selectionmode-checkbox-unchecked.png 
(materia-gtk-theme) != 
/usr/share/themes/Materia/gtk-assets/selectionmode-checkbox-unchecked.png (?)
    /usr/share/themes/Materia/gtk-3.0/assets -> ../gtk-assets
  
/usr/share/themes/Materia/gtk-3.0/assets/selectionmode-checkbox-unchec...@2.png 
(materia-gtk-theme) != 
/usr/share/themes/Materia/gtk-assets/selectionmode-checkbox-unchec...@2.png (?)
    /usr/share/themes/Materia/gtk-3.0/assets -> ../gtk-assets


cheers,

Andreas

Attachment: materia-gtk-theme_20200916-0.1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: materia-gtk-theme
Source-Version: 20200916-0.2
Done: Leandro Cunha <leandrocunha...@gmail.com>

We believe that the bug you reported is fixed in the latest version of
materia-gtk-theme, 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.
Leandro Cunha <leandrocunha...@gmail.com> (supplier of updated 
materia-gtk-theme 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, 10 Apr 2021 20:25:25 -0300
Source: materia-gtk-theme
Architecture: source
Version: 20200916-0.2
Distribution: unstable
Urgency: medium
Maintainer: Sagar Ippalpalli <i.vikra...@gmail.com>
Changed-By: Leandro Cunha <leandrocunha...@gmail.com>
Closes: 985292
Changes:
 materia-gtk-theme (20200916-0.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Added debian/materia-gtk-theme.maintscript.
   * Fixed unhandled symlink to directory conversion. (Closes: #985292)
Checksums-Sha1:
 770506d647244b2583fe88ce82f6d2ba7930830b 1987 
materia-gtk-theme_20200916-0.2.dsc
 16348d5014e03bda779bcf5bfe2bd23c4d76a280 267560 
materia-gtk-theme_20200916.orig.tar.gz
 f367d8a288b631ad261abc23c66d1109298c9040 2552 
materia-gtk-theme_20200916-0.2.debian.tar.xz
 858cff165d95a195b10a7041f8326e1e81b2687c 6328 
materia-gtk-theme_20200916-0.2_amd64.buildinfo
Checksums-Sha256:
 7709fb324cd8f54e08d993dfa72922409f95ce1539a2440614ead4835435b740 1987 
materia-gtk-theme_20200916-0.2.dsc
 5c524a0a80fc1a7b66ca8dd414b8023d5859bd6657827dceef1c93d2d9ef7dff 267560 
materia-gtk-theme_20200916.orig.tar.gz
 cc7312679d11c828f0154cf8fb9ca00e5203c666607b01ea824f158fae10852a 2552 
materia-gtk-theme_20200916-0.2.debian.tar.xz
 746cd99e8b4659d07748735bf30c123b0b35b031e3bcf073256a9f528f7c763a 6328 
materia-gtk-theme_20200916-0.2_amd64.buildinfo
Files:
 09e2d994d1cbc173a206983e09ede3f1 1987 x11 optional 
materia-gtk-theme_20200916-0.2.dsc
 c9c9f2851c9677879801a7e04b8d3643 267560 x11 optional 
materia-gtk-theme_20200916.orig.tar.gz
 6c3227e32b5226d08b5cce526bdf8164 2552 x11 optional 
materia-gtk-theme_20200916-0.2.debian.tar.xz
 a6d0e8367f254ced5ed9e4ac746805ad 6328 x11 optional 
materia-gtk-theme_20200916-0.2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmB4aXYACgkQwpPntGGC
Ws4b0g//aGnGXTmHJt5/aBNo5lqREMcgAeh53B+mgXXjjODEQqMh6wMLi+9Q/PxC
aeiBGbKgG6p0GUXNcMzJnSUqSGn+uwtZk3RKmpZpRJ7cppIPsoXKx4XFLLJsDr0M
xykl2Z87CIbO1INJBHrW7V7J31stDzv2slEQZZ47tjSffiiBQQgq2pSE2n1PuCYR
sDSrYM1T0jJE1R9NvqX7nM2TSD+2EhKjEOiVIHbDvF5xQrC1XV/5SrJPv9UvQKMq
NuEKz5VJnhgNT6RFKtJb3WSgGK/bx2pqCZ8K+WsEgEw+/K1/bdZ2YkxXkzx79SWe
kc6tkQC5gTVRG3xuDrlIqXxXurnzGtBy514MxFPm37dyeHg/WrQuo1fLrwelFInd
velqNGbSl6lYWHI1opXNQvcvwmWJyQ1MgwllXTF+vci708Yd8IP5QoHYXTTWJFmJ
qw1htdl1EVrcuKS1In07jN4tpl/xdrgUuNTJ/p4aTr5Uesw9pCrWHYt8lfqD0glr
95FxCtg8HG8EsnXPl8tzWz7LKenzuCbK6flKXpViY9JzLaOU3vL1ZD2uUAOXFuxI
cJLOe6i59uEbsNivpzr0Vpk0lOEOl2aTuhaPWVhCNvjGLqTXYVL9WASmGDytV6lk
k53Ox4xH8Z0Ng1N5WjXEOnYzb9TnhqSc6djKn5b5QTeR6//dhlU=
=37Wg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to