[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 02:37:30PM +0100, Paul Csanyi <csanyipal@gmail.com> was heard to say:
> Hello!
> 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
stdin.  Try
    # aptitude reinstall $(cat installed_packages)


Reply to: