Your message dated Sun, 18 Jan 2015 11:04:30 +0000
with message-id <e1ycneg-0001cn...@franck.debian.org>
and subject line Bug#775350: fixed in util-linux 2.25.2-4.1
has caused the Debian Bug report #775350,
regarding libblkid-dev: 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 ow...@bugs.debian.org
immediately.)


-- 
775350: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775350
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libblkid-dev
Version: 2.25.2-4
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:

  lenny -> squeeze -> wheezy -> jessie

The bug dates back to the lenny->squeeze upgrade cycle. The lenny version
of the package shipped
  /usr/share/doc/libblkid-dev -> libblkid1
while in squeeze this was replaced by a directory, but the symlink
got never transitioned, so the problem persists in long grown
installations until today.

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#s-copyrightfile

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#s-unpackphase

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.mainstscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

5m26.4s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libblkid-dev/changelog.Debian.gz (libblkid-dev:amd64) != 
/usr/share/doc/libblkid1/changelog.Debian.gz (libblkid1:amd64)
    /usr/share/doc/libblkid-dev -> libblkid1
  /usr/share/doc/libblkid-dev/changelog.gz (libblkid-dev:amd64) != 
/usr/share/doc/libblkid1/changelog.gz (libblkid1:amd64)
    /usr/share/doc/libblkid-dev -> libblkid1
  /usr/share/doc/libblkid-dev/copyright (libblkid-dev:amd64) != 
/usr/share/doc/libblkid1/copyright (libblkid1:amd64)
    /usr/share/doc/libblkid-dev -> libblkid1

5m33.5s ERROR: FAIL: After purging files have disappeared:
  /usr/share/doc/libblkid1/changelog.Debian.gz   owned by: libblkid1:amd64
  /usr/share/doc/libblkid1/changelog.gz  owned by: libblkid1:amd64
  /usr/share/doc/libblkid1/copyright     owned by: libblkid1:amd64

It's sufficient to fix this in jessie, no need to backport the fix
to wheezy (which does not have dpkg-maintscript-helper symlink_to_dir).


cheers,

Andreas

Attachment: libblkid-dev_2.25.2-4.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: util-linux
Source-Version: 2.25.2-4.1

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

Debian distribution maintenance software
pp.
Jonathan Wiltshire <j...@debian.org> (supplier of updated util-linux 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: SHA1

Format: 1.8
Date: Sat, 17 Jan 2015 16:17:40 +0000
Source: util-linux
Binary: util-linux util-linux-locales mount bsdutils fdisk-udeb cfdisk-udeb 
libblkid1 libblkid1-udeb libblkid-dev libmount1 libmount-dev libsmartcols1 
libsmartcols1-udeb libsmartcols-dev libuuid1 uuid-runtime libuuid1-udeb 
uuid-dev util-linux-udeb
Architecture: source amd64 all
Version: 2.25.2-4.1
Distribution: unstable
Urgency: medium
Maintainer: Debian util-linux Maintainers <ah-util-li...@debian.org>
Changed-By: Jonathan Wiltshire <j...@debian.org>
Description:
 bsdutils   - basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Manually partition a hard drive (cfdisk) (udeb)
 fdisk-udeb - Manually partition a hard drive (fdisk) (udeb)
 libblkid-dev - block device id library - headers and static libraries
 libblkid1  - block device id library
 libblkid1-udeb - stripped down block device id library, for debian-installer 
(udeb)
 libmount-dev - device mounting library - headers and static libraries
 libmount1  - device mounting library
 libsmartcols-dev - smart column output alignment library - headers and static 
librar
 libsmartcols1 - smart column output alignment library
 libsmartcols1-udeb - stripped down smart column output aligment library, for 
debian-in (udeb)
 libuuid1   - Universally Unique ID library
 libuuid1-udeb - stripped down universally unique id library, for 
debian-installer (udeb)
 mount      - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
 util-linux-udeb - stripped down miscellaneous system utilities, for 
debian-installe (udeb)
 uuid-dev   - universally unique id library - headers and static libraries
 uuid-runtime - runtime components for the Universally Unique ID library
Closes: 775350
Changes:
 util-linux (2.25.2-4.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix unhandled symlink_to_dir conversion for
     /usr/share/doc/libblkid-dev (Closes: #775350)
Checksums-Sha1:
 9db66be40a579a9bf9ff2ab4e9622bb6566c36ce 3449 util-linux_2.25.2-4.1.dsc
 99c0598dab969e3c9dd80348f289bf1c5fe2d567 302420 
util-linux_2.25.2-4.1.debian.tar.xz
 a9a0319fde87df86651e9ed40a3fb07fab077970 93694 bsdutils_2.25.2-4.1_amd64.deb
 a29572e26dd3a500e6a423ffc5fe44d691347ea4 844758 util-linux_2.25.2-4.1_amd64.deb
 dddfb81549e12e9c71337e21be615e8ad8d8eaca 866846 
util-linux-locales_2.25.2-4.1_all.deb
 e665ad2cd082068d08c73702a76a8f09ee5b4ef6 168286 mount_2.25.2-4.1_amd64.deb
 fd2fd3e77af4549c1dda352528d54badbe914d41 122272 
fdisk-udeb_2.25.2-4.1_amd64.udeb
 48eeb52ce4eef4a74c63571a73f0e21ee27c66bd 916168 
cfdisk-udeb_2.25.2-4.1_amd64.udeb
 39bfc024cfebb7116c7219a3ddfad87c28fcd8d6 155956 libblkid1_2.25.2-4.1_amd64.deb
 a0c14cb4e69cef8df5c8948be5504b35e069be99 98906 
libblkid1-udeb_2.25.2-4.1_amd64.udeb
 99bbd23cffb9236039983788d3829883f49b4935 180296 
libblkid-dev_2.25.2-4.1_amd64.deb
 d1bfac14797603d3f9300b3d05c876e33ecff23d 163594 libmount1_2.25.2-4.1_amd64.deb
 8bd9f84bf5c59c3d41e2b4294ea9b42fabafbdd1 180646 
libmount-dev_2.25.2-4.1_amd64.deb
 3825c79c6d9b8727965ce49a43c9f2c7d29e202f 109888 
libsmartcols1_2.25.2-4.1_amd64.deb
 3876dd9a58fbcb87f2d09f736e1253c7c5afa8ba 52784 
libsmartcols1-udeb_2.25.2-4.1_amd64.udeb
 7139c6689d51f335c396e228ed5396c78b6581b3 119610 
libsmartcols-dev_2.25.2-4.1_amd64.deb
 2e99dad88a595e7352091d7beb6ebe4aa4c35ab0 64296 libuuid1_2.25.2-4.1_amd64.deb
 2b7a38e5a764268387fd06e3ba1e211e30d1f44d 73864 
uuid-runtime_2.25.2-4.1_amd64.deb
 088712c8f44c440a5efea3bcab470aa6740c5fba 7158 
libuuid1-udeb_2.25.2-4.1_amd64.udeb
 b733aad34e8533c592dc23f8d03a5d71103f21ff 77902 uuid-dev_2.25.2-4.1_amd64.deb
 5c4b6904198f6f2af46e8e8cc26f1d66c59879a1 27786 
util-linux-udeb_2.25.2-4.1_amd64.udeb
Checksums-Sha256:
 84bd9d81c9799ddf26234ed64432dd30b6c641014483a29c11d004c6f2d61b6f 3449 
util-linux_2.25.2-4.1.dsc
 0585cd15bba15902c6356a74328de5697531f5da3cb49ed3b8f1f654b4f8ed17 302420 
util-linux_2.25.2-4.1.debian.tar.xz
 38629dc6a43996544a2d1b5ca52116747664e1729064cec9c90b639ed1018da6 93694 
bsdutils_2.25.2-4.1_amd64.deb
 76f19b192b418153ffa5a70c6eb290d5ea1bef8367cc4121024173457059a347 844758 
util-linux_2.25.2-4.1_amd64.deb
 7a613b54b071b1cf4af7104f3b474c8de389bb316a2e703dac227ea6dc3d02c7 866846 
util-linux-locales_2.25.2-4.1_all.deb
 83b33b23f476e9fa03965d77472a72ab771e3c20ead518701c91a75c1c493772 168286 
mount_2.25.2-4.1_amd64.deb
 b8585f982f9a1b8ea76eea686a4522c7f357c84f7c3bef34fc5c8711f05056ec 122272 
fdisk-udeb_2.25.2-4.1_amd64.udeb
 28b7b8a9a66b716b88242058e55fa80afb3bc7a3e505b6436b7739659a87eaeb 916168 
cfdisk-udeb_2.25.2-4.1_amd64.udeb
 0d10e4ddff32f4e0931946a5ad1737638c2849cf47aa80c77d6488348f665057 155956 
libblkid1_2.25.2-4.1_amd64.deb
 c77748f3944bb88840a48da9f6520616ffac23639b54067319b965ac64746f05 98906 
libblkid1-udeb_2.25.2-4.1_amd64.udeb
 ad39b6263b3bdda60ccd99e9faf802beaa5558aaddc18d607e1a488be0299e35 180296 
libblkid-dev_2.25.2-4.1_amd64.deb
 83baa1ca674470f36ff107327369bde4bfab4fc002ca1001424a4b5e9dbc36a3 163594 
libmount1_2.25.2-4.1_amd64.deb
 18f7a627ef6234ab4b701948a92af2b8240a5bb72444534d8b5bb793752302de 180646 
libmount-dev_2.25.2-4.1_amd64.deb
 294b1c3bd012b2a0670e57e43beb6af5b64d9bc6a5f2d6adc121157bf87f4bf7 109888 
libsmartcols1_2.25.2-4.1_amd64.deb
 3d2e95cb674f5f9ab04721cf7468a553f73cec9c66b8d47df70c5c7ae104ed52 52784 
libsmartcols1-udeb_2.25.2-4.1_amd64.udeb
 f6ee1dad915be8a14f2ca9a64f1965db640ae04ecefa05b3524b1e03e398ce15 119610 
libsmartcols-dev_2.25.2-4.1_amd64.deb
 906e1337153e7bc0e0a32ebd69959c0931d390853c2799cb1a2b17181155f144 64296 
libuuid1_2.25.2-4.1_amd64.deb
 cfd471ce263e8f289980a71b649bde14b37e0cbf5a1155ae411d93fd683be985 73864 
uuid-runtime_2.25.2-4.1_amd64.deb
 d8032e262433eb5e7441899fa8b86d242f2bc134e757d7dba71f1da14f089ca3 7158 
libuuid1-udeb_2.25.2-4.1_amd64.udeb
 f042b52ceda3321bf085bb421b16c1e0f43795bc765548a9e7e144c2669075c5 77902 
uuid-dev_2.25.2-4.1_amd64.deb
 114b105ed54680431f9abff890b1e1c759c581d5db8dc74042bf80418ad547f6 27786 
util-linux-udeb_2.25.2-4.1_amd64.udeb
Files:
 201b5f7c9682e73f16ffee99b10be5b7 3449 base required util-linux_2.25.2-4.1.dsc
 56cf42af395c33b889ee625e4e979820 302420 base required 
util-linux_2.25.2-4.1.debian.tar.xz
 4e7f2743468f48fd86c4b90b3813cab9 93694 utils required 
bsdutils_2.25.2-4.1_amd64.deb
 5827ff8d1bc2f6138be17421423dd9f2 844758 utils required 
util-linux_2.25.2-4.1_amd64.deb
 3b711097e903151d23d3f303c28f9689 866846 localization optional 
util-linux-locales_2.25.2-4.1_all.deb
 c593b6f44e4eca7e8a52e2798d09d5be 168286 admin required 
mount_2.25.2-4.1_amd64.deb
 dc1ad51d6124f0ab1e8f0943e3d8b41a 122272 debian-installer extra 
fdisk-udeb_2.25.2-4.1_amd64.udeb
 2395f9274d093e66d1108b99847f8d2e 916168 debian-installer extra 
cfdisk-udeb_2.25.2-4.1_amd64.udeb
 00b374074284595c64251f092c47cfee 155956 libs required 
libblkid1_2.25.2-4.1_amd64.deb
 3ec834f92b7d3d6f401e1f35912baccd 98906 debian-installer optional 
libblkid1-udeb_2.25.2-4.1_amd64.udeb
 0d61f58c9ae8d102703402fec28d08ce 180296 libdevel optional 
libblkid-dev_2.25.2-4.1_amd64.deb
 c965c95819688cf16d8ca27f6f7b39a3 163594 libs required 
libmount1_2.25.2-4.1_amd64.deb
 c45b6c651c0511bb86c95d1a2b0d141c 180646 libdevel optional 
libmount-dev_2.25.2-4.1_amd64.deb
 3fd93d74ef1aa3387b419af1d20f0b4d 109888 libs required 
libsmartcols1_2.25.2-4.1_amd64.deb
 960b4bb093adfc596270ee2e77473468 52784 debian-installer optional 
libsmartcols1-udeb_2.25.2-4.1_amd64.udeb
 5aa5f19f175cb4281fb9d64a8c13375f 119610 libdevel optional 
libsmartcols-dev_2.25.2-4.1_amd64.deb
 644f3c6cecfe48efae516b9da684d4d3 64296 libs required 
libuuid1_2.25.2-4.1_amd64.deb
 c2695ed6d0f37e7ee67d50980fd6a47b 73864 utils optional 
uuid-runtime_2.25.2-4.1_amd64.deb
 bd929ca7df63b75551338018533e3126 7158 debian-installer optional 
libuuid1-udeb_2.25.2-4.1_amd64.udeb
 c21bae4b02c8662f4cfb64c15497b912 77902 libdevel optional 
uuid-dev_2.25.2-4.1_amd64.deb
 c54c59ef2096ce8a64fcfd5ed617df65 27786 debian-installer optional 
util-linux-udeb_2.25.2-4.1_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUuo5KAAoJEFC7AtTIpr9hg3gQAIluf610LlegRU8tkRAtozSY
NTWanQm3dMc00uDINozYGHNjDRY12sWsiCT5p/g8HP8qB4XTKoXbFXDW5GlSZJto
NSnWlET5SmkUVOIhpEMBnzse5UDdW2lUlLIoVyAdJQ8PRIwEmBl0il2mKuT7pQx1
w1rqYCMoucUTLfxIUu4B7K22aPQvuIWdNhgAr1h7rCkIEc1GUGxwXp3Q0PYCu2tv
N3pZrIyf0lBuHlNHIlzH2QcA95f922DN5oB12tVKS7c278thB5g0oUBGJfi2OeTY
wry8+WN5Bj041RtjcEPZkLFxxilMXNjWIGDef3mhHXaOPytUMMKIS/RP2UK08hK2
Ghel1NAd+VkDRHyi+LkjZ7enHG2BqiBxas5Frhrvo3G+8oeRXW/OyiL3lINGoWSJ
Gv3MqILKTHsu0eVze/vUuOQY+PcpNyYygWzLUuMnWH+Co7lADJ8rajdmDKv4ylTG
i4578RfhCxRwpKBsZOaTntHzWg0ZYaHH8W+NiaGyUAxlSP0/Lfh9363pKRUsFi90
H6/4EwUz4/Ps2wTnGDWIOCsWurtwTK6RSUnY3ENTt1C2kdMxXJ5OooD0l3WEvcQ4
dy8PA+WzF0bqOrUkmoKaiiaENgNlq8DwfDBvYaoZvy/Op7HF+PgJ4uE1ymX1IPOo
PixvUeHLWhQck2x0VqkA
=i2ku
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to