Your message dated Tue, 20 Feb 2007 20:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399790: fixed in amanda 1:2.5.1p3-2
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.1p3-2
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.1p3-2_i386.deb
to pool/main/a/amanda/amanda-client_2.5.1p3-2_i386.deb
amanda-common_2.5.1p3-2_i386.deb
to pool/main/a/amanda/amanda-common_2.5.1p3-2_i386.deb
amanda-server_2.5.1p3-2_i386.deb
to pool/main/a/amanda/amanda-server_2.5.1p3-2_i386.deb
amanda_2.5.1p3-2.diff.gz
to pool/main/a/amanda/amanda_2.5.1p3-2.diff.gz
amanda_2.5.1p3-2.dsc
to pool/main/a/amanda/amanda_2.5.1p3-2.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.
Bdale Garbee <[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, 21 Feb 2007 04:22:49 +0900
Source: amanda
Binary: amanda-client amanda-server amanda-common
Architecture: source i386
Version: 1:2.5.1p3-2
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[EMAIL PROTECTED]>
Changed-By: Bdale Garbee <[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 411739
Changes:
amanda (1:2.5.1p3-2) unstable; urgency=low
.
* fold in diff from NMU of 1:2.5.1p1-2.1 by Peter Palfrader, closes: #399790
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.
* remove useless redundant clause in postrm, closes: #411739
Files:
a059ce46d0af79b997c299c1754aa0c6 733 utils optional amanda_2.5.1p3-2.dsc
8aa8c62f89899acc94ad2df55d5fbfa2 46766 utils optional amanda_2.5.1p3-2.diff.gz
78120975da5f015bfc8cffa28eda014d 1211008 utils optional
amanda-common_2.5.1p3-2_i386.deb
8e7ed9db012949d81322b1712d0ad1e9 381498 utils optional
amanda-server_2.5.1p3-2_i386.deb
f4e1f48ba9a096edc3ba2b924f94661f 117194 utils optional
amanda-client_2.5.1p3-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF203bZKfAp/LPAagRAkLdAKCE1PRoex+hxTbKj/+Tsp11fwJebgCeOwYU
mV+xL92rvwoxGbkwxQjExsI=
=Uaoz
-----END PGP SIGNATURE-----
--- End Message ---