[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to put package on hold using command line tools?



> > >   is there any way to put package on hold using command line tools?
> > 
> > echo packagename hold | dpkg --set-selections
> 
>   thank you,
> 
>   isn't this a bug in man dpkg though? all it says about
> --set-selections is:
> 
>        dpkg --set-selections
>               Set package selections using file read from  stdin.
> 
>   that's not enough to actually use it like you suggested above..

Regard --set-selections as the inverse of --get-selection --- quite
intuitive.

Nevertheless you can file a bug against dpkg.
(See 'apt-cache show bug'.)

Stony



Reply to: