There seem to be a problem with the extra repo :
from extra.db.tar.gz we can expect to have fast-user-switch-applet-2.16.0-1.pkg.tar.gz, but only fast-user-switch-applet-2.16.3-1.pkg.tar.gz can be found.

I wrote a little script (attached) that runs after my rsync script, maybe it can be useful for this kind of problem :-)
#!/bin/sh

ARCH="i686"
TMP="/tmp/sync-$ARCH.check"
LOCAL="/usr/local/ftp.archlinux.org"

# make working directory
mkdir -p $TMP

# extract repos bases
find $LOCAL/$ARCH -iname '*.db.tar.gz' -exec tar xzf {} -C $TMP \;

# parse repos and check MD5
ls -1 $TMP | while read f
do
  # this " | sort | uniq" thing is for packages present in more than one repo, 
like testing/current or testing/extra
  MD5=`find $LOCAL/$ARCH -iname $f.pkg.tar.gz -exec md5sum {} \; | awk '{ print 
$1 }' | sort | uniq`
  # search the MD5 in desc file
  if grep -iq $MD5 $TMP/$f/desc
  then
    echo "$f: OK"
  else
    echo "$f: FAIL"
        break;
  fi
done

# clean working directory
rm -rf $TMP
_______________________________________________
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to