[indiana-discuss] indiana and multiple ips repos?

ludo ludo at dev.java.net
Fri Feb 8 15:08:26 PST 2008


Hi,
I am testing an internal ips repository.

After some try/errors, I am in a situation where some package files are 
on disk, but not known by the ips status command.

When I do
# pkg install SUNWapch22m-php5
DOWNLOAD                                    PKGS       FILES     XFER (MB)
SUNWlxml                                    2/11      79/850    
6.52/68.26Traceback (most recent call last):
 File "/usr/bin/pkg", line 856, in ?
   ret = main_func()
 File "/usr/bin/pkg", line 824, in main_func
   return install(img, pargs)
 File "/usr/bin/pkg", line 367, in install
   verbose = verbose, noexecute = noexecute)
 File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 
930, in list_install
   ip.execute()
 File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
321, in execute
   p.preexecute()
 File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 
247, in preexecute
   flist.get_files()
 File "/usr/lib/python2.4/vendor-packages/pkg/client/filelist.py", line 
194, in get_files
   os.link(extract_path, cppath)
OSError: [Errno 17] File exists


Which file exists? Not clear...

Any way to force the reinstallation of a package?
Do I need to reinstall Indiana to restore this system?

What if a package FOO is available from 2 different repositories, you 
install it from one repo, then switch to the other repository. What is 
the status there? Can I update it from the 2nd repository?

Thanks for some help, The errors messages are at best very cryptics and 
minimalist.
Ludo


More information about the indiana-discuss mailing list