[Bug 646795] Re: lsb_release requires >9MB of Python, replace with C/Shell script

Didier Raboud odyx at debian.org
Wed Mar 7 14:12:57 UTC 2012


Wookey: what about using dpkg-vendor instead of lsb-release ? dpkg-
vendor is in dpkg-dev and will read data from /etc/dpkg/origins/default
and will tell you on which Debian-derivative you are building. Agreed,
dpkg-dev is Debian-derivatives-specific, but still...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/646795

Title:
  lsb_release requires >9MB of Python, replace with C/Shell script

Status in “lsb” package in Ubuntu:
  New

Bug description:
  Binary package hint: lsb-release

  Forwarded from IRC:

    <xxxx> how else am I suppose to work out whether it's Debian or
  Ubuntu (without installing 9Mb of python so that I can ask lsb_release
  to parse '/etc/lsb_release' it for me?

  Ideally the lsb-release package should be reduced in its dependencies;
  possibly by replacing the Python script with a simple Shell or C-based
  program with the same external syntax.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/646795/+subscriptions




More information about the foundations-bugs mailing list