Please take this survey to help us learn more about how you use third party tools. Your input is greatly appreciated!

admintools install_package

Hi,
Have the following packages available in our Development Vertica instance:
[[email protected] ~]$ cd /opt/vertica/packages/
[[email protected] packages]$ ll
total 24
drwxr-xr-x 5 root root 4096 Nov 3 2015 approximate
-rw-r--r-- 1 root root 0 Aug 28 2015 build.ts
drwxr-xr-x 5 root root 4096 Nov 3 2015 flextable
drwxr-xr-x 4 root root 4096 Nov 3 2015 geospatial
drwxr-xr-x 6 root root 4096 Nov 3 2015 hcat
drwxr-xr-x 5 root root 4096 Nov 3 2015 pload
drwxr-xr-x 5 root root 4096 Nov 3 2015 txtindex
[[email protected] packages]$
[[email protected] packages]$ admintools -t list_packages
Package Description
approximate Probabilistic/Approximate Aggregation Functions
txtindex Common string-manipulation functions
pload
hcat Java/HCatalog data load and query
geospatial
flextable Flexible Tables Data Load and Query
[[email protected] packages]$

dbadmin=> select lib_name, lib_version from user_libraries;
lib_name | lib_version
--------------------------+-------------
decisionTree_mab_lib |
ApproximateLib | 1.0
TxtIndexLib |
FlexTableLib | 1.0.0
DTPredLib_fact |
DTTrainLib |

Now, upon attempting to force reinstall packages using admintools, get this error:

[[email protected] packages]$ admintools -t install_package -d DATABASE -p PASSWORD --package all --force-reinstall
Usage: install_package [options]

install_package: error: no such option: --force-reinstall
[[email protected] packages]$
I was referring to documentation here:
https://my.vertica.com/docs/7.2.x/HTML/index.htm#Authoring/InstallationGuide/InstallingVertica/UpgradingandReinstallingPackages.htm

Also tried uninstalling and reinstalling a particular package 'approximate' but get an error as below:
[[email protected] packages]$ admintools -t uninstall_package -d DATABASE -p PASSWORD --package approximate
WARNING: Current version of package approximate is not installed, attempting to uninstall it anyways
Uninstalling package approximate
...Success!
You have new mail in /var/spool/mail/root
[[email protected] packages]$ admintools -t install_package -d PASSWORD -p PASSWORD --package approximate
Installing package approximate...
Failed to install package approximate
[[email protected] packages]$

This machine has an active internet connection. Am I missing something?

Comments

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file

Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.