Hi...

I know that the easiest way to install packages is using Package Manager.

There are cases where I need to download Once a new Software, and install it on 
many computer via USB flash disk.

So I use pkgrecv for CUPS :

% > pkgrecv -s http://pkg.opensolaris.org/release pkg:/SUNWcups-manager at 
0.5.11,5.11-0.111:20090508T153739Z pkg:/SUNWpycups at 
1.9.42,5.11-0.111:20090508T163102Z pkg:/SUNWcups-libs at 
1.3.9,5.11-0.111:20090508T153738Z pkg:/SUNWcups at 
1.3.9,5.11-0.111:20090508T153722Z

Now all the file(s) have been downloaded

%> ls -l
total 174
drwxr-xr-x 2 handojoh staff 1688 2009-07-16 15:52 SUNWcups
drwxr-xr-x 2 handojoh staff   12 2009-07-16 15:39 SUNWcups-libs
drwxr-xr-x 2 handojoh staff   64 2009-07-16 15:36 SUNWcups-manager
drwxr-xr-x 2 handojoh staff    8 2009-07-16 15:38 SUNWpycups

And the content of those directory is unbelievably unreadable :)
It was somehow like this ( if you try to list the files on that directory )

fd66e336f3376a7fc0ef42ded11d0ee7ce2525f1
fd6f4a6e909b2aa9d878a824efcd186fffa3e39d
fd726dbe209a7458f6b3f9053c589b8fced36733
fda7dda34dfdd6f8d9c4dad4d23334699f3248a4
fdd061ede6569d9164e9e06a5b5133828eb1e6a2
fddd82aedabf61d268a4c6b63499f2bc27d248ca
fe23e436d4c2d276ac797e8fc6c7e05a90ceb180
fe8940e47b40e401d6ed429f34ffb1ac8fb1ed3f
fe9620da98854c630a9f3255f3577549bc6c63e4
feceb54f249aa72159303e93d3f525c75fc973b4
fef0aa977a97d8c0d5441ace2e97f83db721f26c
fefcad2f9dff1a964f9e016beb32a453fa2ab313
ff6bd7bfdbb80d31e922e66a9a430149017a7a99
ffb9731464594bea8b



There is a way of setting up our own IPS. It's quite useful if the computer is 
networked.
The computer(s) I'd like to install is detached one another ( no network, just 
for local uses ), and i need a quick way to just wrap those 4 packages into 
.pkg file, copy to my usb, attach to the destination computer, and install it 
using pkgadd

Anybody know how to wrap each retrieved package into one pkg file ?


Any help is appreciated,

Thank you,

Handojo
-- 
This message posted from opensolaris.org

Reply via email to