Your message dated Sat, 02 Dec 2006 21:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399790: fixed in amanda 1:2.5.1p1-2.1
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: amanda-common
Version: 1:2.5.1p1-2
Severity: serious
postrm fails when deluser fails:
| [EMAIL PROTECTED]:~$ id backup
| uid=34(backup) gid=34(backup) groups=34(backup)
| [EMAIL PROTECTED]:~$ sudo aptitude install amanda-client
| Reading package lists... Done
| Building dependency tree... Done
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| Building tag database... Done
| The following NEW packages will be automatically installed:
| amanda-common
| The following NEW packages will be installed:
| amanda-client amanda-common
| 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| Need to get 0B/1303kB of archives. After unpacking 3420kB will be used.
| Do you want to continue? [Y/n/?]
| Writing extended state information... Done
| Preconfiguring packages ...
| Selecting previously deselected package amanda-common.
| (Reading database ... 124056 files and directories currently installed.)
| Unpacking amanda-common (from .../amanda-common_1%3a2.5.1p1-2_i386.deb) ...
| Selecting previously deselected package amanda-client.
| Unpacking amanda-client (from .../amanda-client_1%3a2.5.1p1-2_i386.deb) ...
| Setting up amanda-common (2.5.1p1-2) ...
| Adding user `backup' to group `disk' ...
| Done.
| Adding user `backup' to group `tape' ...
| Done.
|
| Setting up amanda-client (2.5.1p1-2) ...
|
| [EMAIL PROTECTED]:~$ id backup
| uid=34(backup) gid=34(backup) groups=34(backup),6(disk),26(tape)
| [EMAIL PROTECTED]:~$ sudo aptitude purge amanda-client amanda-common
| Reading package lists... Done
| Building dependency tree... Done
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| Building tag database... Done
| The following packages will be REMOVED:
| amanda-client{p} amanda-common{p}
| 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
| Need to get 0B of archives. After unpacking 3420kB will be freed.
| Do you want to continue? [Y/n/?]
| Writing extended state information... Done
| (Reading database ... 124328 files and directories currently installed.)
| Removing amanda-client ...
| Purging configuration files for amanda-client ...
| dpkg - warning: while removing amanda-client, directory `/var/lib/amanda' not
empty so not removed.
| Removing amanda-common ...
| Purging configuration files for amanda-common ...
| Removing user `backup' from group `disk' ...
| Done.
| Removing user `backup' from group `tape' ...
| Done.
| /usr/sbin/deluser: The user `backup' is not a member of group `disk'.
| dpkg: error processing amanda-common (--purge):
| subprocess post-removal script returned error exit status 6
| Errors were encountered while processing:
| amanda-common
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| A package failed to install. Trying to recover:
| [EMAIL PROTECTED]:~$
|
Adding some debug output shows that postrm is called with purge twice:
} [EMAIL PROTECTED]:~$ sudo dpkg --purge amanda-common
} (Reading database ... 124309 files and directories currently installed.)
} Removing amanda-common ...
} CALLING POSTRM WITH remove
} Purging configuration files for amanda-common ...
} CALLING POSTRM WITH purge
} Removing user `backup' from group `disk' ...
} Done.
} Removing user `backup' from group `tape' ...
} Done.
} CALLING POSTRM WITH purge
} /usr/sbin/deluser: The user `backup' is not a member of group `disk'.
} dpkg: error processing amanda-common (--purge):
} subprocess post-removal script returned error exit status 6
} Errors were encountered while processing:
} amanda-common
}
Cheers,
Peter
--- End Message ---
--- Begin Message ---
Source: amanda
Source-Version: 1:2.5.1p1-2.1
We believe that the bug you reported is fixed in the latest version of
amanda, which is due to be installed in the Debian FTP archive:
amanda-client_2.5.1p1-2.1_i386.deb
to pool/main/a/amanda/amanda-client_2.5.1p1-2.1_i386.deb
amanda-common_2.5.1p1-2.1_i386.deb
to pool/main/a/amanda/amanda-common_2.5.1p1-2.1_i386.deb
amanda-server_2.5.1p1-2.1_i386.deb
to pool/main/a/amanda/amanda-server_2.5.1p1-2.1_i386.deb
amanda_2.5.1p1-2.1.diff.gz
to pool/main/a/amanda/amanda_2.5.1p1-2.1.diff.gz
amanda_2.5.1p1-2.1.dsc
to pool/main/a/amanda/amanda_2.5.1p1-2.1.dsc
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.
Peter Palfrader <[EMAIL PROTECTED]> (supplier of updated amanda 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: Wed, 29 Nov 2006 01:57:01 +0100
Source: amanda
Binary: amanda-client amanda-server amanda-common
Architecture: source i386
Version: 1:2.5.1p1-2.1
Distribution: unstable
Urgency: medium
Maintainer: Bdale Garbee <[EMAIL PROTECTED]>
Changed-By: Peter Palfrader <[EMAIL PROTECTED]>
Description:
amanda-client - Advanced Maryland Automatic Network Disk Archiver (Client)
amanda-common - Advanced Maryland Automatic Network Disk Archiver (Libs)
amanda-server - Advanced Maryland Automatic Network Disk Archiver (Server)
Closes: 399790
Changes:
amanda (1:2.5.1p1-2.1) unstable; urgency=medium
.
* Non maintainer upload.
* Do not fail postrm when removing the backup user from either
group disk or tape does not succeed. Also, try this only
when the backup user is in those groups to begin with. Also
handles the case of deluser not existing anymore.
Based in parts on the patch provided by Andreas Henriksson and
the cupsys postinst script (closes: #399790).
Files:
92f6be9baa5d22cd48aac6067b7d8d04 737 utils optional amanda_2.5.1p1-2.1.dsc
f860ae76d13ba7ecba756f6ea072a612 46214 utils optional
amanda_2.5.1p1-2.1.diff.gz
7a0a38ff19ee8fc9883667519600bb87 1180078 utils optional
amanda-common_2.5.1p1-2.1_i386.deb
2a24a737fec1b693734f142b06d2f0b9 376600 utils optional
amanda-server_2.5.1p1-2.1_i386.deb
da00d895d8965a04075a071f9da7e76c 116218 utils optional
amanda-client_2.5.1p1-2.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFbOFtz/ccs6+kS90RAg9CAJ44VRqmz9NA0X4ooKTGWQEYUl/QZQCgjpfq
041KWCy6NaIRSVRthwzvLe0=
=4taV
-----END PGP SIGNATURE-----
--- End Message ---