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

admintools install_package Error

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
hcat Java/HCatalog data load and query
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]$

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
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?

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
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.