+testfailure test -e apt_1.0_all.deb
+cd - >/dev/null
+
+# revert to all methods
+ln -s "$OLDMETHODS/https" "$NEWMETHODS"
+
+# check that downgrades from https to http are not allowed
+webserverconfig 'aptwebserver::support::http' 'true'
+sed -i -e 's#:8080/redirectme#:4433/downgrademe#' -e 's# http:# https:#' rootdir/etc/apt/sources.list.d/*
+testfailure aptget update --allow-insecure-repositories