Re: holding packages
* Brian May <bam@debian.org> wrote:
You lost me.
> No, it if you run apt, it does the hold, before dpkg even sees the
> package.
What do you mean with "run apt"?
When is a package on "hold", and how do you set a package on hold?
A package is on status "hold" for apt _and_ dpkg, when the "hold"
status is set in /var/lib/dpkg/status.
apt-get *can not* set this status.
The only way to do this is by editing the file or using dpkg.
echo "packagename hold" | dpkg --set-selections
is the current interface to tell dpkg to set the status to "hold" in
/var/lib/dpkg/status.
Ciao,
Martin
Reply to: