diff --git a/mmdebstrap b/mmdebstrap index b4d2fd6..9894a9e 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -4452,7 +4452,7 @@ sub main() { ); close $fh; if ( $? == 0 - and $content =~ /^apt ([0-9]+\.[0-9]+\.[0-9]+)[a-z0-9]* \([a-z0-9-]+\)$/m) { + and $content =~ /^apt (\d+\.\d+\.\d+)\w* \(\S+\)$/am) { $aptversion = version->new($1); } if ($aptversion < "2.3.14") {