Shell script to call apt-get install --reinstall

2001-09-21 Thread Josh McKinney
I am trying to call a shell script to reinstall all packages. I have a file that lists all installed packages called file. The problem is when I call the script it just goes by saying it couldn't find the package. Here is the script. #!/bin/bash cat file | (IFS= ; while read prog; do apt-get

Re: Shell script to call apt-get install --reinstall

2001-09-21 Thread Colin Watson
(Your Mail-Followup-To: is broken, by the way, as it doesn't give your domain: Mail-Followup-To: josh, debian-user@lists.debian.org.) On Fri, Sep 21, 2001 at 01:10:23AM -0500, Josh McKinney wrote: I am trying to call a shell script to reinstall all packages. I have a file that lists all