Code:
#!/bin/bash
# insert it to debug your script
set -xv
while read IP
do
# echo loop variable
echo $IP
/usr/bin/scp /home/farid/Package/sudo_1.8.5p2-1+nmu1_i386.deb check@$IP:/home/check
done < IPvar
you can insert those lines to check what's happening.