** Changed in: software-properties (Ubuntu Xenial)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released
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

Reply via email to