Reliable way to determine native packaging system

Reindl Harald h.reindl at
Thu Mar 14 18:48:29 UTC 2013

Am 14.03.2013 19:25, schrieb Theodore Papadopoulo:
> Yes I imagined that detecting /var/lib/rpm was one way to deal with
> the problem (but not /etc/*-release as this is exactly what I want to
> avoid: having to map distributions to packaging system).
> I was hoping that there was some magic command a la lsb_release which
> could have helped for this). Well I guess I'll have to rely on some
> heuristic like those for now.
> Would there be a possibility (for the long term) to add such a
> facility. I understand that this is quite difficult as it requires
> some synchronisation between distributions

i fear this is unlikely, there are way too much distributions

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the users mailing list