diff --git a/scripts/debootstrap.sh b/scripts/debootstrap.sh
index 19364e2fd0e2ca2baf6e39a1ae3c41590f029cc2..d900e8767bd29fbe78c7e808cf6ce3a390cd307c 100755
--- a/scripts/debootstrap.sh
+++ b/scripts/debootstrap.sh
@@ -104,10 +104,10 @@ check_defines () {
 	if [ ! "${deb_mirror}" ] ; then
 		case "${deb_distribution}" in
 		debian)
-			deb_mirror="httpredir.debian.org/debian/"
+			deb_mirror="deb.debian.org/debian"
 			;;
 		ubuntu)
-			deb_mirror="ports.ubuntu.com/ubuntu-ports/"
+			deb_mirror="ports.ubuntu.com/ubuntu-ports"
 			;;
 		esac
 	fi