-ORPHANS=`mirror-orphans`
-if [ -n "$ORPHANS" ]; then
- echo ----------------------
- echo Orphans:
- /bin/echo -e "$ORPHANS"
- read -p 'ok to remove? [y/N] ' a
- if [ "$a" = y ]; then
- rm -f $ORPHANS
- fi
-fi
+# edgy binaries
+#debmirror --dist edgy,edgy-updates,edgy-security --section main --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host de.archive.ubuntu.com --exclude-deb-section translation --exclude-deb-section kde --exclude 'linux-(tree|source|patch|doc)[^/]*\.deb' --exclude 'linux.*(k8|xeon|server)' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
+
+# feisty binaries
+#debmirror --dist feisty,feisty-proposed,feisty-updates,feisty-security --section main --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host de.archive.ubuntu.com --exclude-deb-section translation --exclude-deb-section kde --exclude 'linux-(tree|source|patch|doc|.*debug)[^/]*\.deb' --exclude 'linux.*(k8|xeon|server)' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
+
+cat <<EOF | python
+import sys
+sys.path.append('/home/martin/ubuntu/ddeb-retriever/')
+import archive_tools
+
+archive_tools.archive_cleanup('/mirror')
+EOF