I'm sorry. I find a error. can add repo in the Settings\maniger repository of 
the GUI packagemaniger. 

------------------                               
jklyekai
2008-11-20

-------------------------------------------------------------

主题:pkg maximum network when I use distri-const build slim_cd.xml downloading  
file from my local IPS 

 Hi Michal,
                                                                                
         
        I have osl 101a system. I download all files from pkg.opensolaris.org 
with a script ,and its all size is about 14G . Number of packages: 19834 which 
is synchronous with the original web site.I want to set a local IPS in 101a 
vmware box. Then I try to setup a IPS according to the video 
http://blogs.sun.com/migi/resource/creating_ips_repo_part_4.html  
/usr/lib/pkg.depotd -d /export/home/jklyekai/ips/ -p 9001 .pkg and file 
directory are in the ips directory. It initialize inex and some other thing for 
a moment . I  can review it with IE or firefox. But when I click  the Catalog ' 
info'  in IE or firefox, It shows a "the server encountered an unexpected 
condition which prevented it from fulfilling the requestPowered by CherryPy 
3.1" . click    Catalog ' manifest' is OK.
   
        I try another IPS http://pkg.unix-center.net:80 which is a mirror of 
the pkg.opensolaris.org in china . Click info and manifest both 
are ok.

        I set "pkg set-authority "both unix-center and my local IPS to 
authority. But when I start packagemanager in the 101a,I select the 
unix-center or local authroity in repository dialog in the right corner , I 
can't find any packages in the list right of the GUI packagemaniger.    But My 
system can't let me add repo in the Settings\maniger repository of the GUI 
packagemaniger,because the "add" cron is not actived .
   
        I only replace the main url to one of IPS above mention in the 
slim_cd.xml , then,error show:
 pkg:maxmum (4) pkg maximum network retries failed exceed download ...
 Read Error on tar stream...
 Ubable to install SUNWcs into /rpool/dc/date_build/pkg_image
 Ubable to install slim_install into /rpool/dc/date_build/pkg_image
 Ubable to install SUNWslim-utils into /rpool/dc/date_build/pkg_image
 Unable to retrieve all of the specified packages

Then I try to do
pkg image-create  -F -a opensolaris.org=http://192.168.148.162:9001 
/tmp/test_img
pkg -R /tmp/test_img install SUNWcsd
pkg -R /tmp/test_ima install SUNWcs

[EMAIL PROTECTED]:~# pkg -R /tmp/test_img/ install SUNWcs             
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWcs                                      0/20   1544/3062    8.68/56.69

pkg: Maximum (4) network retries exceeded during download. Details follow:
Transfer from 'http://192.168.148.162:9001' failed: Read error on tar stream. 
(happened 4 times)

 then I set PKG_CLIENT_TIMEOUT = 30000
 PKG_TIMEOUT_MAX=10000
"pkg -R /tmp/test_img install slim_install "  is the same error above.

Both unix-center and my local IPS are  the same error.

It means that my IPS repo does't setup correctly ? if I miss some steps when I 
set my local IPS? How can I let my local IPS run correctly?
my system not support?

Thanks,
--------------
jklyekai
2008-11-20
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to