Type: deb
URL: http://ftp.debian.org/debian
-Dist: stable
+Suite: stable
Section: main
Comment: Some random string
that can be very long"
E: The list of sources could not be read." aptget update --print-uris
echo "Type: deb
-Dist: stable
+Suite: stable
" > $SOURCES
testequalwithmsg "Invalid deb822 sources.list file gives proper error" "E: Malformed stanza 0 in source list $TMPWORKINGDIRECTORY/rootdir/etc/apt/sources.list (URI parse)