Re: how to put packages on hold -- permanently
Hi,
On Tue, Dec 29, 2009 at 11:21 PM, Lukas Ruf <ruf@rawip.org> wrote:
> Dear all
>
> Some packges, for example nano, tasksel, aptitude or
> texlive-pstricks-doc, I do not want to have installed.
>
> However, when I set them on hold by
>
> echo nano hold | dpkg --set-selections
> echo tasksel hold | dpkg --set-selections
> echo aptitude hold | dpkg --set-selections
> echo texlive-pstricks-doc hold | dpkg --set-selections
>
> the hold-settings are ignored by dselect or by apt-get.
>
> Is there anywhere a setting that I can make dselect and apt-get obey
> to my hold-settings permanently?
Try instruction from Debian FAQ (use = in dselect or complete set selections):
http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-puttingonhold
But maybe necessary use pinning, I don't known if you can hold a
package which is not installed. May be giving it a "1" value in its
pinning do the trick.
Regards,
Reply to: