okay thx, I done that now. But now say, if I want all documents installed. Then I haveto reinstall package by package. (I looking forward to do that.. wrote this little script that will do Code: #!/bin/sh # an attempt to reinstall all packages COLUMNS=200 #get all installed packages aa=$( dpkg -l | awk '{ print $2 }' ) for bb in $aa do clear echo "doing something with: $bb" apt-get install --reinstall $bb done exit 0 will take time, and/or who knows. Am I on wrong track? (so I wait)
#!/bin/sh # an attempt to reinstall all packages COLUMNS=200 #get all installed packages aa=$( dpkg -l | awk '{ print $2 }' ) for bb in $aa do clear echo "doing something with: $bb" apt-get install --reinstall $bb done exit 0
#!/bin/env sh # an attempt to reinstall all packages COLUMNS=200 #get all installed packages aa=$( dpkg -l | grep ^ii | awk '{ print $2 }' ) for bb in $aa do clear echo "doing something with: $bb" apt-get -y install --reinstall $bb done exit 0