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

Re: aptitude reinstall from file contained package names?



On Wed, Jan 09, 2008 at 06:18:39PM +0100, Paul Csanyi wrote:
> 2008/1/9, Douglas A. Tutty <dtutty@porchlight.ca>:
> > On Wed, Jan 09, 2008 at 02:37:30PM +0100, Paul Csanyi wrote:
> > > I do on my home server
> > > aptitude search ~i >installed_packages
> > >
> > > Now I want to reinstall all these packages listed in
> > > 'installed_packages' file, with aptitude.
> > >
> > > How can I do that?
> 
> > I've never tried that automatically with aptitude and checking the man
> > page suggests that its not possible.
> 
> I checked the man page too and find nothing about installing
> from a file that being containing the list of installed
> packages.
> 
> > If what you asked for really worked, then you would loose the main
> > benefit of aptitude: keeping track of shifting dependancies and cruft
> > controll.  Everything would appear to be automatically installed.
> 
> I just want to reinstall everything installed on that system with one
> command.

If you don't care about manual vs automatic, then use dpkg.  If you do
care, then store only the names of manually installed packages and just
install that.

Doug.


Reply to: