Is there easier way to download/install/delete pkg from a repository? I am running Open Solaris 0906 x86 on a Sun Fire X4200 M2 server in disconnected mode (I don't have internet access to my network). I used the following command to download the pkg from opensolaris.org
******************************************* mkdir pkg cd pkg pkgrecv -s http://pkg.opensolaris.org -n > opensol.index for i in `cat opensol.index`; do pkgrecv -s http://pkg.opensolaris.org $i; done ************************************************ source: http://opensolaris.org/jive/thread.jspa?threadID=91113 When I run the following script to install the pkg in the repository ************************************************* for i in `cat opensol.index` do pkg=`echo $i|awk -F/ '{print $2}' |awk -F@ '{print $1}'` echo import $pkg $i trans=`pkgsend -s http://localhost:1000 open $i` $trans pkgsend -s http://localhost:1000 include -d $pkg $pkg/manifest pkgsend -s http://localhost:1000 close done ********************************************* source: http://opensolaris.org/jive/thread.jspa?threadID=91113 I get the follwing errors: "end: include: [Errno 2] no such file or directory: '/manifest'" If I refresh my repository server I can see the pkg on the repository webpage but when I connect a client to pull down a pkg it say's it can't find the manifest or bits. _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
