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

Re: Install matching set of software while preserving aptitude auto/manual install info



On Thu, Nov 06, 2008 at 10:57:12PM +0200, Andrei Popescu wrote:
> On Wed,05.Nov.08, 12:58:42, Douglas A. Tutty wrote:
>  
> > aptitude install <followed by the list of packages>
> > 
> > Remember to escape the newlines with \
> > 
> > I forget what the maximum command-line length is; it may be an issue
> > depending on how many packages you manually installed.
> > 
> > You could make the package list with one package per line and use xargs
> > to pipe it through aptitude (may take longer).
> > 
> > Or you can just use the aptitude user interface on the new box and
> > manually mark the packages off the list.  For a one-off, this may be the
> > fastest way.
> > 
> > It all depends on how automated you want the process to be.
> 
> Or you could just feed the list to 'dpkg --get-selections' ;)


Do you mean dpkg --set-selections?

I suppose that would work because aptitude should then install those,
with the dependancies and mark things appropriately.

Doug.


Reply to: