Your message dated Thu, 06 Jun 2013 00:18:37 +0000
with message-id <[email protected]>
and subject line Bug#709087: fixed in net-snmp 5.7.2~dfsg-8
has caused the Debian Bug report #709087,
regarding snmp{,d}: copyright file missing after upgrade (policy 12.5)
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 [email protected]
immediately.)
--
709087: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709087
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snmp,snmpd
Version: 5.7.2~dfsg-4
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
a test with piuparts revealed that your package misses the copyright
file after an upgrade, which is a violation of Policy 12.5:
http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile
After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.
This was observed on the following upgrade paths:
testing -> sid
>From the attached log (scroll to the bottom...):
MISSING COPYRIGHT FILE: /usr/share/doc/snmp/copyright
# ls -lad /usr/share/doc/snmp
drwxr-xr-x 2 root root 40 May 15 18:56 /usr/share/doc/snmp
# ls -la /usr/share/doc/snmp/
total 0
drwxr-xr-x 2 root root 40 May 15 18:56 .
drwxr-xr-x 85 root root 1820 May 15 18:56 ..
MISSING COPYRIGHT FILE: /usr/share/doc/snmpd/copyright
# ls -lad /usr/share/doc/snmpd
drwxr-xr-x 2 root root 40 May 15 19:07 /usr/share/doc/snmpd
# ls -la /usr/share/doc/snmpd/
total 0
drwxr-xr-x 2 root root 40 May 15 19:07 .
drwxr-xr-x 88 root root 1880 May 15 19:07 ..
Additional info may be available here:
http://wiki.debian.org/MissingCopyrightFile
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 directory to a symlink the *postinst* script
should do something like this:
DOCDIR=/usr/share/doc/@@PACKAGE@@
DOCLINK=@@OTHERPACKAGE@@
if [ -d $DOCDIR ] && [ ! -L $DOCDIR ]; then
rmdir $DOCDIR
ln -s $DOCLINK $DOCDIR
fi
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
cheers,
Andreas
snmp_5.7.2~dfsg-4.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hideki Yamane <[email protected]> (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 [email protected])
-----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 <[email protected]>
Changed-By: Hideki Yamane <[email protected]>
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 ---