You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also whilst checking over the code (whilst doing a manual dist-upgrade to bullseye I noticed that this attempts to deal with the move of the security repo for bullseye - but appears to do this when the new version is buster rather than bullseye which is when I had to make this change (buster was fine with the old line) - am I reading this right?
if! grep -qai "^ *deb.* ${new_distro}[ /-]" /etc/apt/sources.list;thenecho"deb http://http.us.debian.org/debian/ ${new_distro} main non-free contrib">> /etc/apt/sources.list
#Err:3 http://security.debian.org bullseye/updates Release#404 Not Found [IP: 199.232.10.132 80]if is_distro_name_newer "${new_distro}""buster";thenecho"deb http://security.debian.org/debian-security ${new_distro}-security main">> /etc/apt/sources.list
elseecho"deb http://security.debian.org/ ${new_distro}/updates main">> /etc/apt/sources.list
fiecho"$old_distro:$new_distro: apt sources now has $(cat /etc/apt/sources.list | egrep -v '^$|^#')"| awk '{print "dss:sources:dist_upgrade_x_to_y:" $0}'fi
If so I'm guessing:
if is_distro_name_newer "${new_distro}""buster";then
should be:
if is_distro_name_newer "${new_distro}""bullseye";then
?
All the best,
Chris
The text was updated successfully, but these errors were encountered:
Hi there again,
Also whilst checking over the code (whilst doing a manual
dist-upgrade
to bullseye I noticed that this attempts to deal with the move of the security repo forbullseye
- but appears to do this when the new version isbuster
rather thanbullseye
which is when I had to make this change (buster
was fine with the old line) - am I reading this right?If so I'm guessing:
should be:
?
All the best,
Chris
The text was updated successfully, but these errors were encountered: