Re: Reliable way to determine native packaging system

2013-03-17 Thread Tim
Tim: >> In the last few days, I had read a page discussing a more universal >> single /etc/release file, that would use the one filename for all >> distros, and have parameters inside it that were specific to the >> particular release. T.C. Hollingsworth: > That would be /etc/os-release: > http://

Re: Reliable way to determine native packaging system

2013-03-15 Thread Carroll Grigsby
On Thu, 14 Mar 2013 16:07:21 +0100 Theodore Papadopoulo wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm trying to find a standard way of finding the native > packaging system of a linux distribution. I'm not sure at all that > testing the presence of {rpm/yum}|{apt-get} is

Re: Reliable way to determine native packaging system

2013-03-15 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/2013 11:33 PM, Mateusz Marzantowicz wrote: > On 14.03.2013 19:25, Theodore Papadopoulo wrote: >> >> 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 t

Re: Reliable way to determine native packaging system

2013-03-15 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/2013 09:03 PM, Rahul Sundaram wrote: > Hi > > > On Thu, Mar 14, 2013 at 3:05 PM, Theodore Papadopoulo wrote: > > Is there a place where this can be escalated and discussed ? > > > http://lists.freedesktop.org/mailman/listinfo/distribution

Re: Reliable way to determine native packaging system

2013-03-15 Thread Bryn M. Reeves
On 03/14/2013 06:27 PM, Theodore Papadopoulo wrote: Interesting, I'll have a look. But the downside you mention is exactly the one I want to avoid. Having to handle a mapping between distributions and packaging systems. See the other message I just posted... I think that's the crux of this prob

Re: Reliable way to determine native packaging system

2013-03-14 Thread Tim
On Thu, 2013-03-14 at 19:25 +0100, Theodore Papadopoulo wrote: > 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 s

Re: Reliable way to determine native packaging system

2013-03-14 Thread Mateusz Marzantowicz
On 14.03.2013 19:25, Theodore Papadopoulo wrote: > > 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). Maybe you have your reasons that I don't under

Re: Reliable way to determine native packaging system

2013-03-14 Thread Rahul Sundaram
Hi On Thu, Mar 14, 2013 at 3:05 PM, Theodore Papadopoulo wrote: > Is there a place where this can be escalated and discussed ? > http://lists.freedesktop.org/mailman/listinfo/distributions Rahul -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options

Re: Reliable way to determine native packaging system

2013-03-14 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/2013 07:48 PM, Reindl Harald wrote: > > > 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 a

Re: Reliable way to determine native packaging system

2013-03-14 Thread Reindl Harald
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 c

Re: Reliable way to determine native packaging system

2013-03-14 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/2013 06:39 PM, Bryn M. Reeves wrote: > On 03/14/2013 04:43 PM, Michael Schwendt wrote: >> On Thu, 14 Mar 2013 16:09:24 +0100, Reindl Harald wrote: >>> presence of /var/lib/rpm /etc/os-release /etc/redhat-release >> >> And perhaps a run-time c

Re: Reliable way to determine native packaging system

2013-03-14 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/14/2013 05:43 PM, Michael Schwendt wrote: > On Thu, 14 Mar 2013 16:09:24 +0100, Reindl Harald wrote: > >>> I'm trying to find a standard way of finding the native >>> packaging system of a linux distribution. I'm not sure at all >>> that testing

Re: Reliable way to determine native packaging system

2013-03-14 Thread Bryn M. Reeves
On 03/14/2013 04:43 PM, Michael Schwendt wrote: On Thu, 14 Mar 2013 16:09:24 +0100, Reindl Harald wrote: presence of /var/lib/rpm /etc/os-release /etc/redhat-release And perhaps a run-time check, such as an RPM based query, which would only work if the RPM database is filled with details about

Re: Reliable way to determine native packaging system

2013-03-14 Thread Michael Schwendt
On Thu, 14 Mar 2013 16:09:24 +0100, Reindl Harald wrote: > > I'm trying to find a standard way of finding the native packaging > > system of a linux distribution. I'm not sure at all that testing the > > presence of {rpm/yum}|{apt-get} is reliable as for example I can > > install apt-get of my fed

Re: Reliable way to determine native packaging system

2013-03-14 Thread Reindl Harald
Am 14.03.2013 16:07, schrieb Theodore Papadopoulo: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm trying to find a standard way of finding the native packaging > system of a linux distribution. I'm not sure at all that testing the > presence of {rpm/yum}|{apt-get} is reliable as for e

Reliable way to determine native packaging system

2013-03-14 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to find a standard way of finding the native packaging system of a linux distribution. I'm not sure at all that testing the presence of {rpm/yum}|{apt-get} is reliable as for example I can install apt-get of my fedora computer. So t