Works as expected. 16:56:54 /etc/apt/sources.list.d $ sudo add-apt-repository ppa:alexlarsson/flatpak Linux application sandboxing and distribution framework (formerly xdg-app) More info: https://launchpad.net/~alexlarsson/+archive/ubuntu/flatpak Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpcsb45r2b/secring.gpg' created gpg: keyring `/tmp/tmpcsb45r2b/pubring.gpg' created gpg: requesting key FA577F07 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpcsb45r2b/trustdb.gpg: trustdb created gpg: key FA577F07: public key "Launchpad PPA for Alexander Larsson" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK 16:56:58 /etc/apt/sources.list.d $ cat alexlarsson-ubuntu-flatpak-xenial.list deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial main # deb-src http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial main 16:57:21 /etc/apt/sources.list.d $ sudo add-apt-repository -r ppa:alexlarsson/flatpak Linux application sandboxing and distribution framework (formerly xdg-app) More info: https://launchpad.net/~alexlarsson/+archive/ubuntu/flatpak Press [ENTER] to continue or ctrl-c to cancel removing it 16:57:26 /etc/apt/sources.list.d $ file alexlarsson-ubuntu-flatpak-xenial.list alexlarsson-ubuntu-flatpak-xenial.list: empty ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to software-properties in Ubuntu. https://bugs.launchpad.net/bugs/1612669 Title: wrong PPA series used if system name not Ubuntu Status in software-properties package in Ubuntu: Fix Released Status in software-properties source package in Xenial: In Progress Status in software-properties source package in Yakkety: Fix Released Bug description: If the DISTRIB_ID in /etc/lsb-release is not 'ubuntu' add-apt- repositories will use the latest series of the PPA even if the DISTRIB_CODENAME would match with what is available in the PPA. # Test Case - change lsb-release to say DISTRIB_ID=yolo - copy /usr/share/python-apt/templates/Ubuntu.info to /usr/share/python-apt/templates/yolo.info - sudo add-apt-repository ppa:graphics-drivers/ppa - should add xenial to sources.list.d # Regression potential The current behavior of using the latest series is last ditch effort at come up with anything valid. The proposed change simply extends the acceptable deviation from 100 match. # Other info Change has been used in production in KDE neon for months now. No side effects observed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1612669/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp