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

Re: apt-get update, a wishlist feature as tag in cvs



On Fri, Feb 11, 2000 at 11:46:59AM +1100, Craig Sanders wrote:
> > > remember to mark it Hold again after upgrading. e.g
> > 
> > User may not remember well if they do this for a bunch of packages
> 
> the tools are available. it's not debian's fault if a user doesn't
> bother to use them.

in any case, it's easy to do from the command line:

	apt-get install foo bar baz quux
	(wait for install to finish)
	<UP-ARROW>^A<ESC>f<ESC>f^W^Wdpkg-hold <ENTER>



or write a 2 line shell-script wrapper:

	#!/bin/sh
	apt-get install $@
	dpkg-hold $@

this is unix. you get the most out of it when you think about problems
in the unix way - the "small tools" approach, with scripts to build
complex custom tools out of simpler standard tools.

craig

--
craig sanders


Reply to: