Your message dated Thu, 06 Jun 2013 00:18:37 +0000
with message-id <e1uknux-0006jp...@franck.debian.org>
and subject line Bug#709761: fixed in net-snmp 5.7.2~dfsg-8
has caused the Debian Bug report #709761,
regarding libsnmp-perl: 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.)


-- 
709761: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709761
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libsnmp-perl
Version: 5.7.2~dfsg-7
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + netdisco-frontend tkmib

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:

  wheezy -> 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:
http://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
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

For switching from a symlink to a directory, the *preinst* script
should do something like this:

        DOCDIR=/usr/share/doc/@@PACKAGE@@

        if [ -L $DOCDIR ]; then
                rm $DOCDIR
        fi


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

0m45.4s INFO: dirname part contains a symlink:
  /usr/share/doc/libsnmp-perl/NEWS.Debian.gz (libsnmp-perl) != 
/usr/share/doc/libsnmp15/NEWS.Debian.gz (?)
  /usr/share/doc/libsnmp-perl/README.gz (libsnmp-perl) != 
/usr/share/doc/libsnmp15/README.gz (?)
  /usr/share/doc/libsnmp-perl/changelog.Debian.gz (libsnmp-perl) != 
/usr/share/doc/libsnmp15/changelog.Debian.gz (?)
  /usr/share/doc/libsnmp-perl/changelog.gz (libsnmp-perl) != 
/usr/share/doc/libsnmp15/changelog.gz (?)
  /usr/share/doc/libsnmp-perl/copyright (libsnmp-perl) != 
/usr/share/doc/libsnmp15/copyright (?)
  /usr/share/doc/libsnmp-perl/examples (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples (?)
  /usr/share/doc/libsnmp-perl/examples/async1.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/async1.pl (?)
  /usr/share/doc/libsnmp-perl/examples/async2.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/async2.pl (?)
  /usr/share/doc/libsnmp-perl/examples/bulkwalk.pl.gz (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/bulkwalk.pl.gz (?)
  /usr/share/doc/libsnmp-perl/examples/ipforward.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/ipforward.pl (?)
  /usr/share/doc/libsnmp-perl/examples/mibtree.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/mibtree.pl (?)
  /usr/share/doc/libsnmp-perl/examples/mibwalk.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/mibwalk.pl (?)
  /usr/share/doc/libsnmp-perl/examples/pingmib.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/pingmib.pl (?)
  /usr/share/doc/libsnmp-perl/examples/tablewalk.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/tablewalk.pl (?)
  /usr/share/doc/libsnmp-perl/examples/testleak.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/testleak.pl (?)
  /usr/share/doc/libsnmp-perl/examples/trap-example.pl (libsnmp-perl) != 
/usr/share/doc/libsnmp15/examples/trap-example.pl (?)

0m47.5s ERROR: FAIL: debsums reports modifications inside the chroot:
  debsums: missing file /usr/share/doc/libsnmp-perl/NEWS.Debian.gz (from 
libsnmp-perl package)
  debsums: missing file /usr/share/doc/libsnmp-perl/README.gz (from 
libsnmp-perl package)
  debsums: missing file /usr/share/doc/libsnmp-perl/changelog.Debian.gz (from 
libsnmp-perl package)
  debsums: missing file /usr/share/doc/libsnmp-perl/changelog.gz (from 
libsnmp-perl package)
  debsums: missing file /usr/share/doc/libsnmp-perl/copyright (from 
libsnmp-perl package)


cheers,

Andreas

Attachment: libsnmp-perl_5.7.2~dfsg-7.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: net-snmp
Source-Version: 5.7.2~dfsg-8

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

Debian distribution maintenance software
pp.
Hideki Yamane <henr...@debian.org> (supplier of updated net-snmp 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: Thu, 06 Jun 2013 08:49:02 +0900
Source: net-snmp
Binary: snmpd snmp libsnmp-base libsnmp30 libsnmp30-dbg libsnmp-dev 
libsnmp-perl python-netsnmp tkmib
Architecture: source amd64 all
Version: 5.7.2~dfsg-8
Distribution: unstable
Urgency: low
Maintainer: Net-SNMP Packaging Team <pkg-net-snmp-de...@lists.alioth.debian.org>
Changed-By: Hideki Yamane <henr...@debian.org>
Description: 
 libsnmp-base - SNMP configuration script, MIBs and documentation
 libsnmp-dev - SNMP (Simple Network Management Protocol) development files
 libsnmp-perl - SNMP (Simple Network Management Protocol) Perl5 support
 libsnmp30  - SNMP (Simple Network Management Protocol) library
 libsnmp30-dbg - SNMP (Simple Network Management Protocol) library debug
 python-netsnmp - SNMP (Simple Network Management Protocol) Python support
 snmp       - SNMP (Simple Network Management Protocol) applications
 snmpd      - SNMP (Simple Network Management Protocol) agents
 tkmib      - SNMP (Simple Network Management Protocol) MIB browser
Closes: 709087 709761
Changes: 
 net-snmp (5.7.2~dfsg-8) unstable; urgency=low
 .
   * add libsnmp-perl.preinst to deal with empty directory by libsnmp15
     package removal (Closes: #709761)
   * {snmp,snmpd}.postinst: deal with "copyright file missing after upgrade
     (policy 12.5)" (Closes: #709087)
Checksums-Sha1: 
 8de081abf99888f763658c77fdd9e99c85eb82a1 2898 net-snmp_5.7.2~dfsg-8.dsc
 1f95cd85f58749a5e797d604883855dcec9159fd 57758 
net-snmp_5.7.2~dfsg-8.debian.tar.gz
 ad2f4a0efc88e33c15ce8ab83a8db542d15e1895 78798 snmpd_5.7.2~dfsg-8_amd64.deb
 e232932787c0faa620e8ec439c8b80526d3fcaa6 182296 snmp_5.7.2~dfsg-8_amd64.deb
 1ad63a3e764115de1ae8021b59617b96dda74e71 249680 
libsnmp-base_5.7.2~dfsg-8_all.deb
 ca9fc0f0b7a2fce2b2fc2c928503469a93f8ceb1 1375874 
libsnmp30_5.7.2~dfsg-8_amd64.deb
 8edd62b7660614b944294ecd50ba6133677f4e42 2874334 
libsnmp30-dbg_5.7.2~dfsg-8_amd64.deb
 fdb23b3ef81847fca6b9acfcf7013f2fa8d9aa75 1966392 
libsnmp-dev_5.7.2~dfsg-8_amd64.deb
 641600c552a14c4bfd8e77f30c9fe117d1e19fe6 173548 
libsnmp-perl_5.7.2~dfsg-8_amd64.deb
 4f4ffd9f7b2b46f01cf3dbc084fa3a202260407a 22902 
python-netsnmp_5.7.2~dfsg-8_amd64.deb
 017b6c0800c4a8c165deb3008ad54afd7ed29409 117064 tkmib_5.7.2~dfsg-8_all.deb
Checksums-Sha256: 
 bd17b085399fedbd09b3c0d98fd9e1287d385bb53ab8006432d7f2435e940c5c 2898 
net-snmp_5.7.2~dfsg-8.dsc
 59cf1b3c54cd892f1a03e2656e819a906e89d70872dcc1c11838e4e18007adba 57758 
net-snmp_5.7.2~dfsg-8.debian.tar.gz
 fcfc5a6e4142bb7b4a027a6c0252e17376fa8753d592f4388196a3b9e7c0dac2 78798 
snmpd_5.7.2~dfsg-8_amd64.deb
 fded073959530203eaecc28603b33a3b416f006a24dbd4088b2c4baed1697abf 182296 
snmp_5.7.2~dfsg-8_amd64.deb
 bd90087e15e7d4f8c17a3c2942c62c04b3f015c6f4bf7789a2ac047b6b286e34 249680 
libsnmp-base_5.7.2~dfsg-8_all.deb
 3abcab8c7dac4828561aea0d406b6c4febba19de22bafd89bcca28112cb50895 1375874 
libsnmp30_5.7.2~dfsg-8_amd64.deb
 1bd3aab7656378a765b820df8cbb4be2d508917759f5c65801c5efdb468bdb6b 2874334 
libsnmp30-dbg_5.7.2~dfsg-8_amd64.deb
 dcb5c1ad243b41476f941e0b01b93aa438dc68ba723aa298fd6cb66e6e67fac8 1966392 
libsnmp-dev_5.7.2~dfsg-8_amd64.deb
 9c2bbc7a2db2796d642e9f6f46766bbc45cd023cb586558f7e8da48ccf62f082 173548 
libsnmp-perl_5.7.2~dfsg-8_amd64.deb
 681f3acefae0876d6d050df71e471323c12a6a792c02873b46b842ead277f9d0 22902 
python-netsnmp_5.7.2~dfsg-8_amd64.deb
 1fc7407b5be36da5292d00649c12b7cf0b15faeb424343a5f798579a23aff5e5 117064 
tkmib_5.7.2~dfsg-8_all.deb
Files: 
 00b76f7543c7075dac47fd8f39407681 2898 net optional net-snmp_5.7.2~dfsg-8.dsc
 a7d8db5974c78c7ac9be5fd8922ec5a9 57758 net optional 
net-snmp_5.7.2~dfsg-8.debian.tar.gz
 70fd5a81b228710bac11c0c10bdd57f8 78798 net optional 
snmpd_5.7.2~dfsg-8_amd64.deb
 bb11382a96a722ffb3b0543a3fb9e00b 182296 net optional 
snmp_5.7.2~dfsg-8_amd64.deb
 0f96a4e7a2ba74c7493df2fd4c7eaed6 249680 libs optional 
libsnmp-base_5.7.2~dfsg-8_all.deb
 19865d6e5d6d3041a73bdc5254cee228 1375874 libs optional 
libsnmp30_5.7.2~dfsg-8_amd64.deb
 4d5e212888cf8525e1f4ea141fbc88bd 2874334 debug extra 
libsnmp30-dbg_5.7.2~dfsg-8_amd64.deb
 d2ef0b9bf50101d70fab53bf3f9c81db 1966392 libdevel optional 
libsnmp-dev_5.7.2~dfsg-8_amd64.deb
 c02df3e4a8294735494f154630b12412 173548 perl optional 
libsnmp-perl_5.7.2~dfsg-8_amd64.deb
 8073d9b9c6023e393ebfd68613e8a15e 22902 python optional 
python-netsnmp_5.7.2~dfsg-8_amd64.deb
 57c4d954c6a0525ea491e2a3163b36a9 117064 net optional tkmib_5.7.2~dfsg-8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJRr9CvAAoJEF0yjQgqqrFAhXEP/iRK4n7+kZg9xzl3/7IvTdup
Lv0hGlcWON00Ga/gSbpq44XqKbThQaXPVp0CHcwz4rvO6qdE8SqUz4nWhb7IguMw
JSzRM1d9V+m0ZTTy7iSPB3DY3fGWaEqcb7gQUcYp3eoJNOoE0dpOeNr7nAp7zeas
hmh3rHhkSVORwlZ76INJkHNFEjPYybr7vaaV6TXa9PGLseOpam8QkFe+YNHjQZNd
cTdAlHdVyAFcs83482pVqp0JOuloFpJi/zCUMnf+BZXZY5BdDcYiPBbR68ojqVSe
OiO1SY+zpm+YkmhjDfq7JT+da95h8GiVIlWrQky7ZgZZICEeYiVaVV/M5MyuzNIP
OxucUiaxGKpPEPmblcmmWjfDtjGG/Fr5TlsUbPYtRGBLXyVjzD9l/QOkF4Qv/tHW
toEpju2dbCxK8++oXi8/+z9KnqG2c2HxSXIwXvz5RFPPjE8rg6OWMx8sS6GWSiru
DmVKrzonfovZRvEbgiQE+vxQx+iYwpy5bBXFWOuEN/OZ/zh7WOmTqrYvzwSg8uVL
rxB+ojJNVM6G2jCgRHC9gbCcAUrhTXc0HBBsV08xuPeMpzkSS86Rifig6fGJdfHw
Ubl1X4DwrWO0NBAQWo+meocFFH0MVbU+NXy9ThqSNO+nzMSvU04TqNiyVmYC7Nob
i4eM/KCAv1YUXhDACuXH
=tXpL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to