Adding ppa does not work properly on downstream distros based on Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When adding a PPA using the "sudo add-apt-repository ppa:ppa-name" command, the distribution codename specified in /etc/lsb-release is used when adding the entry to /etc/apt/
Downstream distros wishing to use their own repos alongside the Ubuntu ones must provide a unique distribution codename in their mirrors file in /usr/share/
A better solution that would solve both needs would be add a check to the add PPA process:
When adding a PPA, check the current distribution codename against a set of known official Ubuntu codenames. If they match, continue as before. If they do not match, default to using the Ubuntu codename current for the installed version of software-properties package.
Status changed to 'Confirmed' because the bug affects multiple users.