po: Update German man pages translation
[dpkg.git] / man / deb-postrm.pod
blobceb7c529fdbb1596ad61601577840db74f8a3c35
1 # dpkg manual page - deb-postrm(5)
3 # Copyright © 2016 Guillem Jover <guillem@debian.org>
5 # This is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
18 =encoding utf8
20 =head1 NAME
22 deb-postrm - package post-removal maintainer script
24 =head1 SYNOPSIS
26 B<DEBIAN/postrm>
28 =head1 DESCRIPTION
30 A package can perform several post-removal actions via maintainer
31 scripts, by including an executable I<postrm> file in its control
32 archive (i.e. I<DEBIAN/postrm> during package creation).
34 The script can be called in the following ways:
36 =over
38 =item I<postrm> B<remove>
40 After the package was removed.
42 =item I<postrm> B<purge>
44 After the package was purged.
46 =item I<old-postrm> B<upgrade> I<new-version>
48 After the package was upgraded.
50 =item I<new-postrm> B<failed-upgrade> I<old-version> I<new-version>
52 If the above B<upgrade> call fails.
54 The I<new-version> is passed only since dpkg 1.18.5.
56 =item I<postrm> B<disappear> I<overwriter-package> I<overwriter-version>
58 After all of the packages files have been replaced.
60 =item I<new-postrm> B<abort-install>
62 If I<preinst> fails during B<install>.
64 =item I<new-postrm> B<abort-install> I<old-version> I<new-version>
66 If I<preinst> fails during B<install> for an upgrade of a removed package.
68 The I<new-version> is passed only since dpkg 1.18.5.
70 =item I<new-postrm> B<abort-upgrade> I<old-version> I<new-version>
72 If I<preinst> fails during B<upgrade>.
74 The I<new-version> is passed only since dpkg 1.18.5.
76 =back
78 =head1 SEE ALSO
80 L<dpkg(1)>.