← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1612669] [NEW] wrong PPA series used if system name not Ubuntu

 

Public bug reported:

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.

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: software-properties (Ubuntu Xenial)
     Importance: Undecided
         Status: In Progress

** Affects: software-properties (Ubuntu Yakkety)
     Importance: Undecided
         Status: Fix Released

** Also affects: software-properties (Ubuntu Yakkety)
   Importance: Undecided
       Status: In Progress

** Also affects: software-properties (Ubuntu Xenial)
   Importance: Undecided
       Status: New

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

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

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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


Follow ups