On Wed, Jan 09, 2008 at 02:37:30PM +0100, Paul Csanyi <[EMAIL PROTECTED]> 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)
Daniel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]