That fix breaks the upgrade (in my case from xenial to bionic) for users that use a local mirror over HTTPS as the _sourcesListEntryDownloadable->url_downloadable doesn't support HTTPS.
The "Release file" is there but "url_downloadable" failed to download it because of the "https" scheme (note: the apt-transport-https package is installed).
That fix breaks the upgrade (in my case from xenial to bionic) for users that use a local mirror over HTTPS as the _sourcesListEnt ryDownloadable- >url_downloadab le doesn't support HTTPS.
It comments out the entries and adds:
2019-02-19 15:13:51,808 DEBUG entry '# deb https:/ /localmirror. example. com/example/ security. ubuntu. com/ubuntu xenial-security multiverse' was disabled (no Release file)
The "Release file" is there but "url_downloadable" failed to download it because of the "https" scheme (note: the apt-transport-https package is installed).