From ad6883992a2a7832d0df60db2446a0d6eef1eef5 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sat, 5 Oct 2019 07:49:15 +0200 Subject: [PATCH] fix mirror URIs for ubuntu --- mmdebstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 80a98be..b0a79e3 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2108,7 +2108,7 @@ sub main() { if (any {$_ eq $suite} @ubuntustable) { if (any {$_ eq $options->{nativearch}} ('amd64', 'i386')) { $mirror = 'http://archive.ubuntu.com/ubuntu'; - $secmirror = 'http://archive.ubuntu.com/ubuntu'; + $secmirror = 'http://security.ubuntu.com/ubuntu'; } else { $mirror = 'http://ports.ubuntu.com/ubuntu-ports'; $secmirror = 'http://ports.ubuntu.com/ubuntu-ports'; @@ -2121,7 +2121,7 @@ sub main() { $sourceslist .= "deb $mirror $suite $options->{components}\n"; if (any {$_ eq $suite} @ubuntustable) { $sourceslist .= "deb $mirror $suite-updates $options->{components}\n"; - $sourceslist .= "deb $secmirror $suite-updates $options->{components}\n"; + $sourceslist .= "deb $secmirror $suite-security $options->{components}\n"; } elsif (any {$_ eq $suite} @tanglustable) { $sourceslist .= "deb $secmirror $suite-updates $options->{components}\n"; } elsif (any {$_ eq $suite} @debstable) {