software-properties-gtk does not recognize https mirrors under Ubuntu Software

Bug #1814072 reported by Alex N.
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Invalid
Low
Unassigned

Bug Description

How to reproduce:

1. Change main Ubuntu mirrors to https in /etc/apt/sources.list and do "apt update"
2. Run software-properties-gtk
3. Go to "Ubuntu Software" tab

What happens:

The tab "Ubuntu Software" does not list https mirrors. The corresponding boxes are not checked, the correct "Download from" entry is not selected and falls back to "Main server". The correct sources are just listed under "Other Software".

What should happen:

The tab "Ubuntu Software" should recognize the https mirrors from apt and tick the corresponding boxes and select the correct server in the "Download from" list.

Ubuntu 18.04
software-properties-gtk 0.96.24.32.7

Tags: bionic disco
Revision history for this message
Alex N. (a-nox) wrote :

Ubuntu software tab

description: updated
Revision history for this message
Alex N. (a-nox) wrote :

Other Software tab

summary: - software-properties-gtk does not recognize https mirrors
+ software-properties-gtk does not recognize https mirrors under Ubuntu
+ Software
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

it also does not recognize lines like this:
deb mirror+https://bryanquigley.com/mirrors.txt disco main restricted universe multiverse

Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Main source is https://code.launchpad.net/software-properties (I thought upstream was Debian due to versioning)

tags: added: bionic disco rls-dd-incoming
tags: removed: rls-dd-incoming
Changed in software-properties (Ubuntu):
importance: Undecided → Low
Changed in software-properties (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Julian Andres Klode (juliank) wrote (last edit ):

The mirror list is shipped in python-apt and updated with each python-apt update, and with each Ubuntu point release based on the launchpad mirror feed https://launchpad.net/ubuntu/+archivemirrors-rss.

Additional updates to just the mirror list are not made.

The mirror method is supported using the official mirror://mirrors.ubuntu.com/mirrors.txt url. Additional urls are custom modifications and not recognized by aptsources as Ubuntu mirrors.

It might be possible to make aptsources look at Origin field in the Release file if you have downloaded them, however that's prone to breakage if you switch releases, so it's not optimal. In any case this is not a bug in software-properties. Please open a bug against python-apt if you believe we have reasonable means of supporting unofficial mirrors like official ones.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.