← Back to team overview

touch-packages team mailing list archive

[Bug 1414229] Re: python apt reporting Mint as generic distro, not as Ubuntu type distro

 

Using Linux Mint 17.1 Rebecca:

$ cat /etc/dpkg/origins/default
Vendor: Ubuntu
Vendor-URL: http://www.ubuntu.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Parent: Debian

$ dpkg-vendor --derives-from Ubuntu && echo $?
0

dpkg-vendor --derives-from Debian && echo $?
0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1414229

Title:
  python apt reporting Mint as generic distro, not as  Ubuntu type
  distro

Status in python-apt package in Ubuntu:
  Confirmed

Bug description:
  Mint Rebecca, reproduce:
  python
  >>import aptsources.distro
  >>distro = aptsources.distro.get_distro()
  >>print distro
  <aptsources.distro.Distribution object at 0x7f4c22051c10>

  vs

  <aptsources.distro.UbuntuDistribution object at 0x7f8fe050ad10>

  on a Trusty.

  This becomes a huge issue when it comes to porting Ansible roles from Ubuntu to Mint, since PPAs do not work. Reference:
  https://github.com/ansible/ansible/issues/4587
  https://github.com/ansible/ansible/issues/9383

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1414229/+subscriptions