you can just change the urls to https, apt-transport-https isn't needed anymore, it's builtin to apt now.