diff --git a/debian11to12/upgrader.py b/debian11to12/upgrader.py index b0ab3fc..5b28693 100644 --- a/debian11to12/upgrader.py +++ b/debian11to12/upgrader.py @@ -92,6 +92,14 @@ def construct_actions( ], "Switch repositories": [ actions.SetupDebianRepositories("bullseye", "bookworm"), + actions.ReplaceAptReposRegexp( + r'(http|https)://([^/]+)/(.*\b)11\.11(\b.*)', + '\g<1>://\g<2>/\g<3>12.7\g<4>', + ), + actions.ReplaceAptReposRegexp( + r'(http|https)://([^/]+)/(.*\b)11\(\b.*)', + '\g<1>://\g<2>/\g<3>12\g<4>', + ), actions.SwitchPleskRepositories(to_os_version="12"), ], "Pre-install packages": [