1
0
mirror of https://git.dpkg.org/git/dpkg/dlocate.git synced 2025-04-03 19:05:33 +00:00
Files
dlocate/dpkg-hold.pod
Guillem Jover 0dd5903726 Deprecate dpkg-hold, dpkg-purge, dpkg-remove and dpkg-unhold commands
These are stomping on the dpkg namespace, are extremely simple wrappers
around either «dpkg --set-selections» or «apt-mark». Mark them as
deprecated to be able to eventually remove them to avoid ownership
confusion.

These will be removed after the next Debian release (trixie), in forky.
2024-11-22 12:53:43 +01:00

33 lines
744 B
Plaintext

=head1 NAME
dpkg-hold - mark packages as held to prevent installation
=head1 SYNOPSIS
B<dpkg-hold> [I<package>...]
=head1 WARNING
This command is B<deprecated>,
and will be removed during in Debian forky,
use C<dpkg --set-selections> or C<apt-mark> instead.
=head1 DESCRIPTION
B<dpkg-hold> marks package(s) to be held.
It achieves this by running C<dpkg --set-selections> and piping in the
package name(s) followed by B<hold>.
NOTE: This program does not install, remove, purge any package. It ONLY
sets the status of the package. Any actual removal or purging is done
the next time B<dselect>, B<apt-get>, B<aptitude>, etc are run.
=head1 SEE ALSO
L<dpkg(1)>,
L<apt-mark(8)>,
L<dpkg-unhold(1)>,
L<dpkg-remove(1)>,
L<dpkg-purge(1)>.