#!/bin/sh -e
-debmirror --dist hoary,hoary-updates,hoary-security,breezy,breezy-updates,breezy-security,dapper,dapper-updates,dapper-security --section main,restricted --arch none --source --progress --nocleanup --method http --ignore-release-gpg --host archive.ubuntu.com --exclude-deb-section translation --exclude 'openoffice.*amd.*tar.gz' --exclude 'ia32-libs*' --root ubuntu /mirror
-debmirror --dist dapper,dapper-updates,dapper-security --section main,restricted --arch i386 --no-source --progress --nocleanup --method http --ignore-release-gpg --host security.ubuntu.com --exclude-deb-section translation --exclude 'linux-(image|headers|source|patch|doc).*\.deb' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
-debmirror --dist breezy,breezy-updates,dapper,dapper-updates --section main,restricted --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host de.archive.ubuntu.com --exclude-deb-section translation --exclude 'linux-(image|headers|tree|source|patch|doc)[^/]*\.deb' --exclude 'ia32-libs*' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
-debmirror --dist breezy-security,dapper-security --section main,restricted --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host security.ubuntu.com --exclude-deb-section translation --exclude 'linux-(tree|source|patch|doc)[^/]*\.deb' --exclude 'linux.*(k8|xeon|server)' --exclude 'linux.*(9\.23|25\.43|26\.47)' --exclude 'ia32-libs*' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
+# source
+debmirror --dist breezy,breezy-updates,breezy-security,dapper,dapper-updates,dapper-security --section main,restricted --arch none --source --progress --nocleanup --method http --ignore-release-gpg --host archive.ubuntu.com --exclude-deb-section translation --exclude 'openoffice.*amd.*tar.gz' --exclude 'ia32-libs*' --root ubuntu /mirror
+
+# dapper binaries
+debmirror --dist dapper,dapper-updates,dapper-security --section main,restricted --arch i386,amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host security.ubuntu.com --exclude-deb-section translation --exclude 'linux-(tree|source|patch|doc)[^/]*\.deb' --exclude 'linux.*(386|k7|k8|xeon|server)' --exclude 'linux.*(9\.23|23\.39|25\.43|26\.47)' --exclude 'ia32-libs*' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
+
+# edgy binaries
+debmirror --dist edgy --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 'ia32-libs*' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
+
+# do not clean up while we don't have all of edgy
+exit 0
cat <<EOF | python
import sys