Your message dated Fri, 23 Jun 2006 07:32:07 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#372599: fixed in adduser 3.90 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: snmpd Version: 5.2.2-3 Severity: serious Tags: patch hi, When i try to purge snmpd, i get this error : The following packages will be REMOVED: snmpd{p} 0 packages upgraded, 0 newly installed, 1 to remove and 2 not upgraded. Need to get 0B of archives. After unpacking 979kB will be freed. Do you want to continue? [Y/n/?] Writing extended state information... Done (Reading database ... 229562 files and directories currently installed.) Removing snmpd ... Stopping network management services: snmpd snmptrapd. Purging configuration files for snmpd ... dpkg: error processing snmpd (--purge): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: snmpd E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: After some investigations, it seems this error is caused by the first block if [ $1 = purge ] ... fi which seems to be run twice: Purge des fichiers de configuration de snmpd ... + set -e + '[' purge = purge ']' + rm -f /var/lib/snmp/snmpd.conf + rm -f '/var/lib/snmp/snmptrapd.conf*' + rm -f /var/run/agentx + rm -f /var/run/snmpd.pid + rm -f /var/run/snmptrapd.pid + deluser --quiet --system snmp + '[' purge = purge ']' + '[' -e /usr/share/debconf/confmodule ']' + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/snmpd.postrm purge + set -e + '[' purge = purge ']' + rm -f '/var/lib/snmp/snmpd.conf*' + rm -f '/var/lib/snmp/snmptrapd.conf*' + rm -f /var/run/agentx + rm -f /var/run/snmpd.pid + rm -f /var/run/snmptrapd.pid + deluser --quiet --system snmp I would suggest that you should move the first if ... fi block under the #DEBHELPER# reference. After a quick test, it seems to work well with this change. Cheers. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-k7 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages snmpd depends on: ii adduser 3.87 Add and remove users and groups ii debconf 1.5.1 Debian configuration management sy ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libsensors3 1:2.10.0-7 library to read temperature/voltag ii libsnmp9 5.2.2-3 NET SNMP (Simple Network Managemen ii libwrap0 7.6.dbs-9 Wietse Venema's TCP wrappers libra snmpd recommends no packages. -- Si Dieu avait voulu que l'homme comprenne la femme, il n'aurait pas créé l'aspirine.pgpEV0erfe9kT.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: adduser Source-Version: 3.90 We believe that the bug you reported is fixed in the latest version of adduser, which is due to be installed in the Debian FTP archive: adduser_3.90.dsc to pool/main/a/adduser/adduser_3.90.dsc adduser_3.90.tar.gz to pool/main/a/adduser/adduser_3.90.tar.gz adduser_3.90_all.deb to pool/main/a/adduser/adduser_3.90_all.deb 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. Marc Haber <[EMAIL PROTECTED]> (supplier of updated adduser 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: SHA1 Format: 1.7 Date: Fri, 23 Jun 2006 14:23:00 +0000 Source: adduser Binary: adduser Architecture: source all Version: 3.90 Distribution: unstable Urgency: low Maintainer: Debian Adduser Developers <[EMAIL PROTECTED]> Changed-By: Marc Haber <[EMAIL PROTECTED]> Description: adduser - Add and remove users and groups Closes: 147518 166718 212452 233894 239006 240707 240855 351968 357978 366885 367213 367380 370030 372599 374316 Changes: adduser (3.90) unstable; urgency=low . * 3.89 is not an NMU, I botched up the changelog. Fixing. . adduser (3.89) unstable; urgency=low . * Add additional check to testsuite/test8.pl to make sure system users are not added to extra groups. (sg) * New translations: - lt (Gintautas Miliauskas <[EMAIL PROTECTED]>) (sg) Closes: #374316 * 3.88 was in experimental for a week without any bug reports. * now upload to unstable to let potential breakage begin. . adduser (3.88) experimental; urgency=low . [ Marc Haber ] * experimental version * Update French (fr) program translation. Thanks to Thomas Huriaux. Closes: #366885 * Update French (fr) manpage translation. Thanks to Nicolas François. Closes: #367380 * Apply two small patches to deluser man page. Thanks to Florentin Duneau. Closes: #367213 * Update Italian (it) program and manpage translations. Thanks to Luca Monducci. Closes: #370030 * Standards-Version: 3.7.2, no changed necessary. . [ Stephen Gran ] * allow additional groups to be used for a new user. Closes: #147518, #166718, #212452, #233894, #239006, #240707, #240855 * test 8 now adds a group, and adds the new user to that group - this should ensure that the new additional groups feature does not get invoked for 'adduser to group' code paths * Fix "adduser: adduser:" output of error messages. * Fix error messages like "foo ", gtx( ..., whch does not produce output at all. Closes: #351968 * Honor system PATH, do not hard-code paths to sub-programs. Closes: #357978 * deluser should match its documentation, and exit 0 when asked to remove a system user that doesn't exist. Closes: #372599 Files: 472952b16a34235730954de422ba3b45 645 admin important adduser_3.90.dsc c1c1bd8dc8700c6457a30145e8f6e18f 217270 admin important adduser_3.90.tar.gz 5d2f069404c3cf0ba41e9c8d0b444545 161918 admin important adduser_3.90_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEm/nmgZalRGu6PIQRAtouAJ41L1parmxhDT0qKMDs+pRnyhsBRQCgsOPW I34N2H/1wcqSyCosvgA6lDU= =nXiV -----END PGP SIGNATURE-----
--- End Message ---