Hi,

i need to script some packages install, so i tried to use pkg_add -z option like this:

pkg_add -vzI python-idle-2

python-idle-2.7.5p0: ok
--- +python-idle-2.7.5p0 -------------------
If you want to use this package as your default system idle, as root
create symbolic links like so (overwriting any previous default):
ln -sf /usr/local/bin/idle2.7 /usr/local/bin/idle
Packages with signatures: 1

So it seems to work, but when i give another try with:

pkg_add -vzI python-idle-3
Ambiguous: python-idle-3 could be python-idle-2.7.5p0 python-idle-3.3.2p0

So i don't really understand why i doesn't work with '-3'...
After deleting 'python-idle', i tried again to install python-idle-3 first and... same problem.

I tried with 'python' package too without success.

So it seems that only a command like 'pkg_add -vzI mypackage-2' will work.

Is it a bug or simply something i didn't understand ?

Thanks

Morgan

Reply via email to