Re: [Sugar-devel] no rpm command in my sugar trisquel image

2011-05-17 Thread James Cameron
On Tue, May 17, 2011 at 10:41:07AM -0400, Rodolfo D. Arce S. wrote:
> For Debian:
> 
> sudo dpkg --get-selections | grep pygtk

Good guess, but no.

dpkg --get-selections only provides package names and installation
status.  Besides, the package name prefix is python-gtk usually.

Better way on a Debian or Debian derived system is either:

sudo dpkg --list python-gtk\*

or

sudo dpkg-query -W --showformat='${Package} ${Version}\n' python-gtk\*

I don't know if this applies to Trisquel.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] no rpm command in my sugar trisquel image

2011-05-17 Thread James Cameron
On Tue, May 17, 2011 at 03:06:48PM +0200, laurent bernabe wrote:
> Hello, i couldn't test the command "rpm -qa | grep pygtk" because
> there is no rpm command in my sugar image

I don't know which image you are using, but if your first mail of 9th
May is a guide, you are using OLPC-649.zip from
http://dev.laptop.org/pub/virtualbox/

If you are still using this image, make sure you *log in* as root
somehow so that the PATH will be sufficiently wide to include the
directory that contains the rpm binary.

But if your later mail of 9th May applies, you are using Trisquel.  I
have no advice on that, I don't know about it.  Others here have
responded though.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] no rpm command in my sugar trisquel image

2011-05-17 Thread Rodolfo D. Arce S.
For Debian:

sudo dpkg --get-selections | grep pygtk

This might work

cheers.. R

2011/5/17 Peter Robinson 

> I believe trisquel is based on debian or ubuntu so you'll have to use
> what ever package manager they use.
>
> Peter
>
> On Tue, May 17, 2011 at 2:06 PM, laurent bernabe
>  wrote:
> > Hello, i couldn't test the command "rpm -qa | grep pygtk" because there
> is
> > no rpm command in my sugar image
> >
> > 2011/5/17 James Cameron 
> >>
> >> On Mon, May 16, 2011 at 07:11:59PM +0200, laurent bernabe wrote:
> >> > the reference i read is http://www.pygtk.org/docs/pygtk/index.html
> >>
> >> That is for the current version, 2.24.0.
> >>
> >> > but i don't know yet how to check my sugar-olpc image pygtk version.
> >> > What must i do in order to get it ?
> >>
> >> Use this compound command:
> >>
> >> % rpm -qa | grep pygtk
> >>
> >> For me, this shows:
> >>
> >> pygtk2-2.17.0-9.fc14.i686
> >> pygtksourceview-2.10.1-2.fc14.i686
> >>
> >> Which means I have 2.17.0 installed.
> >>
> >> In future please reply CC mailing list.  Why?  See
> >> http://pptpclient.sourceforge.net/why.phtml
> >> (different project, but same communication techniques)
> >>
> >> --
> >> James Cameron
> >> http://quozl.linux.org.au/
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
*Rodolfo D. Arce S.*
web: rodolfoarce.com
twitter: @rodolfoarces 
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] no rpm command in my sugar trisquel image

2011-05-17 Thread Peter Robinson
I believe trisquel is based on debian or ubuntu so you'll have to use
what ever package manager they use.

Peter

On Tue, May 17, 2011 at 2:06 PM, laurent bernabe
 wrote:
> Hello, i couldn't test the command "rpm -qa | grep pygtk" because there is
> no rpm command in my sugar image
>
> 2011/5/17 James Cameron 
>>
>> On Mon, May 16, 2011 at 07:11:59PM +0200, laurent bernabe wrote:
>> > the reference i read is http://www.pygtk.org/docs/pygtk/index.html
>>
>> That is for the current version, 2.24.0.
>>
>> > but i don't know yet how to check my sugar-olpc image pygtk version.
>> > What must i do in order to get it ?
>>
>> Use this compound command:
>>
>> % rpm -qa | grep pygtk
>>
>> For me, this shows:
>>
>> pygtk2-2.17.0-9.fc14.i686
>> pygtksourceview-2.10.1-2.fc14.i686
>>
>> Which means I have 2.17.0 installed.
>>
>> In future please reply CC mailing list.  Why?  See
>> http://pptpclient.sourceforge.net/why.phtml
>> (different project, but same communication techniques)
>>
>> --
>> James Cameron
>> http://quozl.linux.org.au/
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] no rpm command in my sugar trisquel image

2011-05-17 Thread laurent bernabe
Hello, i couldn't test the command "rpm -qa | grep pygtk" because there is
no rpm command in my sugar image

2011/5/17 James Cameron 

> On Mon, May 16, 2011 at 07:11:59PM +0200, laurent bernabe wrote:
> > the reference i read is http://www.pygtk.org/docs/pygtk/index.html
>
> That is for the current version, 2.24.0.
>
> > but i don't know yet how to check my sugar-olpc image pygtk version.
> > What must i do in order to get it ?
>
> Use this compound command:
>
> % rpm -qa | grep pygtk
>
> For me, this shows:
>
> pygtk2-2.17.0-9.fc14.i686
> pygtksourceview-2.10.1-2.fc14.i686
>
> Which means I have 2.17.0 installed.
>
> In future please reply CC mailing list.  Why?  See
> http://pptpclient.sourceforge.net/why.phtml
> (different project, but same communication techniques)
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel