Open IPKG packages from command line

Risto H. Kurppa risto at kurppa.fi
Mon Mar 9 08:08:47 CET 2009


On Mon, Mar 9, 2009 at 3:12 AM, Stefan Monnier <monnier at 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 file you're
> looking at.  `ipkg' packages have used various formats over time, the
> ones I remember are .tar.gz and ar.  In bith cases, the content is a few
> meta files plus a .tar.gz (so you stupidly get double compression if the
> outer wrapper is .tar.gz).

AFAIK file should return you a 'debian binary' file format for ipk packages now.

r


-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi




More information about the community mailing list