Re: aptitude reinstall from file contained package names?
On Wed, Jan 09, 2008 at 02:37:30PM +0100, Paul Csanyi <email@example.com> was heard to say:
> 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 tried:
> # aptitude reinstall <installed_packages
> but nothing happen.
> Any advice will be appreciated!
You need to pass the packages as command-line arguments, not on
# aptitude reinstall $(cat installed_packages)