Skip to main content

[pkg-discuss] Re: How to extract sol 11 p5p package

  • From: Alan Coopersmith < >
  • To:
  • Cc: Tejas Mulay < >, Shawn Walker < >
  • Subject: [pkg-discuss] Re: How to extract sol 11 p5p package
  • Date: Tue, 13 Aug 2013 07:45:53 -0700

On 08/12/13 10:09 PM, Tejas Mulay wrote:
Ok. Is there no command something like pkgtrans which converts .pkg to 
directory format?

As Shawn already answered, if you mean the repository format in directories,
such as:

sun-dhcp/pkg5.repository

sun-dhcp/publisher:
sun-dhcp/

sun-dhcp/publisher/sun-dhcp:
catalog/  file/     index/    pkg/      tmp/      trans/

sun-dhcp/publisher/sun-dhcp/catalog:
catalog.attrs           catalog.dependency.C    update.20130802T23Z.C
catalog.base.C          catalog.summary.C

sun-dhcp/publisher/sun-dhcp/file:
07/  1a/  21/  2d/  44/  51/  67/  73/  7c/  99/  bc/  ce/  f9/
0c/  1c/  23/  3a/  48/  55/  68/  77/  84/  a7/  c0/  d1/  ff/
0f/  1d/  24/  3e/  49/  5e/  6b/  79/  85/  b8/  c5/  d6/
18/  20/  26/  3f/  4c/  60/  6f/  7b/  97/  bb/  c6/  dc/

sun-dhcp/publisher/sun-dhcp/file/07:
0747e5b88cb853c5dd23c5cf9d4c4c39ee6ee36f

[....]

then pkgrecv to a file-based pkg repo (perhaps a new one you just created with
pkgrepo create, as I did for that single package above).

There's also pkgrecv -raw which uses a flat directory format that's easier for
editing the manifests and then republishing the packages, such as:

sun-dhcp-raw/service%2Fnetwork%2Fdhcp/5.12%2C5.11-5.12.0.0.0.24.0%3A20130617T210255Z:
05da99b3b3b78e45e5cca7dda90208fe10f6804b
0747e5b88cb853c5dd23c5cf9d4c4c39ee6ee36f
0c6a40c0a45d4c6eb9fddc2478d07f775ad79104
0cbdadeda2206d96dba18a5e548382695d328876
0f2b6db578615154f3fa43081e19e384ec661355
1832ecc9c43d4a0f29c27d2a45f74985b7f25c3c
1a6afdf8c6d009e06e5ad74e1778cc41f8b88f56
[...]
dc7f39a9f5688dfe2cb662b4992ddc5c1e2903dc
f9ea2d050a1830f2f8ddefb26c4005b3a58ee1b6
ffcb47ec2d53ea8281bbf305655be266206442f2
manifest
manifest.depend
manifest.dir
manifest.dircache
manifest.file
manifest.legacy
manifest.license
manifest.link
manifest.mediatorcache
manifest.set
manifest.signature

But there is no command that will take it and unpack to the actual file
names instead of the hashes, short of doing a pkg install.

--
        -Alan Coopersmith-              

         Oracle Solaris Engineering - http://blogs.oracle.com/alanc


[pkg-discuss] How to extract sol 11 p5p package

Tejas Mulay 08/12/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Shawn Walker 08/12/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Tejas Mulay 08/13/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Shawn Walker 08/13/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Tejas Mulay 08/13/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Shawn Walker 08/13/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Alan Coopersmith 08/13/2013

[pkg-discuss] Re: How to extract sol 11 p5p package

Danek Duvall 08/13/2013
 
 
Close
loading
Please Confirm
Close