Re: Open IPKG packages from command line

2009-03-09 Thread Risto H. Kurppa
On Mon, Mar 9, 2009 at 3:12 AM, Stefan Monnier monn...@iro.umontreal.ca wrote: I have been able to extract some packages by using tar -zxvf after renaming the extension to tar.gz - though I cant with all packages (and I dont know why). Try it with `file': it will usually tell you what kind of

Re: Open IPKG packages from command line

2009-03-09 Thread Stefan Monnier
AFAIK file should return you a 'debian binary' file format for ipk packages now. Duh, it does now indeed. I can see why it can be useful, but for it would also sometimes be useful to know that it's a subtype of `ar'. Stefan ___ Openmoko

Re: Open IPKG packages from command line

2009-03-08 Thread Rask Ingemann Lambertsen
On Tue, Feb 17, 2009 at 10:10:14AM +0100, Kasper Johansen wrote: Hi list. Is it possible to extract a IPK-package (some_package.ipk)? I do not want to install anything - just inspect the package on my Ubuntu-machine. man dpkg-deb I have been able to extract some packages by using tar

Re: Open IPKG packages from command line

2009-03-08 Thread Risto H. Kurppa
On Sun, Mar 8, 2009 at 9:55 PM, Rask Ingemann Lambertsen r...@sygehus.dk wrote: On Tue, Feb 17, 2009 at 10:10:14AM +0100, Kasper Johansen wrote: Hi list. Is it possible to extract a IPK-package (some_package.ipk)? I do not want to install anything - just inspect the package on my

Re: Open IPKG packages from command line

2009-03-08 Thread Stefan Monnier
I have been able to extract some packages by using tar -zxvf after renaming the extension to tar.gz - though I cant with all packages (and I dont know why). Try it with `file': it will usually tell you what kind of file you're looking at. `ipkg' packages have used various formats over time,

Open IPKG packages from command line

2009-02-17 Thread Kasper Johansen
Hi list. Is it possible to extract a IPK-package (some_package.ipk)? I do not want to install anything - just inspect the package on my Ubuntu-machine. I have been able to extract some packages by using tar -zxvf after renaming the extension to tar.gz - though I cant with all packages (and I

Re: Open IPKG packages from command line

2009-02-17 Thread Gunnar Aastrand Grimnes
.ipk are like debian (or indeed ubuntu) packages, i.e. they are initially packaged with ar, not tar. Unpacking will give you a meta-data file plus control.tar.gz. and data.tar.gz, which you can untar as usual. data.tar.gz is meants to be untarred in /, i.e. it contains all folders up from usr,

Re: Open IPKG packages from command line

2009-02-17 Thread Kasper Johansen
For future reference: ar -x some_package.ipk did the trick. Thank you Gunnar! Gunnar Aastrand Grimnes wrote: .ipk are like debian (or indeed ubuntu) packages, i.e. they are initially packaged with ar, not tar. Unpacking will give you a meta-data file plus control.tar.gz. and data.tar.gz,

Re: Open IPKG packages from command line

2009-02-17 Thread Risto H. Kurppa
On Tue, Feb 17, 2009 at 11:47 AM, Kasper Johansen k...@spernj.org wrote: For future reference: ar -x some_package.ipk did the trick. Thank you Gunnar! Gunnar Aastrand Grimnes wrote: .ipk are like debian (or indeed ubuntu) packages, i.e. they are initially packaged with ar, not tar.

Re: Open IPKG packages from command line

2009-02-17 Thread Kasper Johansen
Risto H. Kurppa wrote: On Tue, Feb 17, 2009 at 11:47 AM, Kasper Johansen k...@spernj.org wrote: For future reference: ar -x some_package.ipk did the trick. Gunnar Aastrand Grimnes wrote: .ipk are like debian (or indeed ubuntu) packages, i.e. they are initially packaged with ar, not