To check the repo's easily the following bash script does the job:
#!/bin/bash
# debian-origin.slimdevices.com
[ "$1" = -d ] && debug=-d && shift
debug=-d
[ "$1" = -pool ] && showpool=yes && shift
repo=debian.slimdevices.com
[ -n "$1" ] && repo="$1"
for x in stable testing unstable
do
this=no
ip=""
while read line
do
if [ "$this" = yes ]
then
echo -e "$x \t $line \t $ip"
break
elif [ "$line" = 'Package: squeezecenter' -o \
"$line" = 'Package: squeezeboxserver' -o \
"$line" = 'Package: logitechmediaserver' ]
then
this=yes
elif [ "Caching debian.slimdevices.com =>" = "${line:0:33}" ]
then
ip="${line:34}"
ip="${ip%% *}"
fi
done << -end
$(wget "$debug" -q -O - --header="Host: debian.slimdevices.com"
http://$repo/dists/$x/main/binary-i386/Packages 2>&1)
-end
done
------------------------------------------------------------------------
Millwood's Profile: http://forums.slimdevices.com/member.php?userid=3600
View this thread: http://forums.slimdevices.com/showthread.php?t=95186
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta