NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

Unable to Upgrade from Harvest 1.2.2 to 1.3 (VA)

F_SCHUBERT
4,562 Views

Hello, I have a debian based Harvest installation 1.2.2 which I want to update but during SW prerequisite installation it complains about it.

 

# sudo apt-get -y install unzip perl libjson-perl libwww-perl \
> libxml-parser-perl liblwp-protocol-https-perl \
> libexcel-writer-xlsx-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libexcel-writer-xlsx-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libexcel-writer-xlsx-perl' has no installation candidate

#

 

Are there additional sources needed?

2 REPLIES 2

F_SCHUBERT
4,523 Views

Got it working.

 

Cause: I think it was caused by trying to install netapp-harvest before installing the prerequisite filesets.

 

The fileset for perl were downlevel but could not be updated because of the netapp-harvest program was locking it out.

 

Solution:

Soved it by uninstall netapp-harvest fileset. (make a backup of netapp-harvest.conf before!!!)

 

apt-get remove netapp-harvest

 

 

Then

sudo apt-get -y install unzip perl libjson-perl libwww-perl \
> libxml-parser-perl liblwp-protocol-https-perl \
> libexcel-writer-xlsx-perl

 

Then, reinstall netapp-harvest.

 

madden
4,452 Views

Hi @F_SCHUBERT,

 

Glad you got it working!

 

dpkg doesn't pull in dependencies automatically so you either need to meet them before you start, or run 'apt-get -f install' after to get dependencies resolved.

 

Here is an example of installing Harvest without having the pre-requisites yet and then using apt-get to install them afterwords:

 

root@0b853e04eafc:/# dpkg -i netapp-harvest_1.3_all.deb
Selecting previously unselected package netapp-harvest.
(Reading database ... 8052 files and directories currently installed.)
Preparing to unpack netapp-harvest_1.3_all.deb ...
### Creating netapp-harvest group ... OK
### Creating netapp-harvest user ... OK
Unpacking netapp-harvest (1.3) ...
dpkg: dependency problems prevent configuration of netapp-harvest:
 netapp-harvest depends on perl (>= 5.10); however:
  Package perl is not installed.
 netapp-harvest depends on libjson-perl; however:
  Package libjson-perl is not installed.
 netapp-harvest depends on libwww-perl; however:
  Package libwww-perl is not installed.
 netapp-harvest depends on libxml-parser-perl; however:
  Package libxml-parser-perl is not installed.
 netapp-harvest depends on liblwp-protocol-https-perl; however:
  Package liblwp-protocol-https-perl is not installed.
 netapp-harvest depends on libexcel-writer-xlsx-perl; however:
  Package libexcel-writer-xlsx-perl is not installed.

dpkg: error processing package netapp-harvest (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u5) ...
Processing triggers for systemd (215-17+deb8u5) ...
Errors were encountered while processing:
 netapp-harvest

 
 root@0b853e04eafc:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libalgorithm-c3-perl libarchive-extract-perl libarchive-zip-perl libauthen-sasl-perl libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl libcommon-sense-perl
  libcpan-meta-perl libdata-optlist-perl libdata-section-perl libencode-locale-perl libexcel-writer-xlsx-perl libexpat1 libfcgi-perl libfile-listing-perl libfont-afm-perl libgdbm3
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjson-perl libjson-xs-perl liblog-message-perl liblog-message-simple-perl liblwp-mediatypes-perl
  liblwp-protocol-https-perl libmailtools-perl libmodule-build-perl libmodule-pluggable-perl libmodule-signature-perl libmro-compat-perl libnet-http-perl libnet-smtp-ssl-perl
  libnet-ssleay-perl libpackage-constants-perl libparams-util-perl libpod-latex-perl libpod-readme-perl libregexp-common-perl libsoftware-license-perl libsub-exporter-perl
  libsub-install-perl libterm-ui-perl libtext-soundex-perl libtext-template-perl libtimedate-perl liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl perl perl-modules
  rename
Suggested packages:
  libdigest-hmac-perl libgssapi-perl libdata-dump-perl libcrypt-ssleay-perl libmime-base64-perl libauthen-ntlm-perl perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl make
  libb-lint-perl libcpanplus-dist-build-perl libcpanplus-perl libfile-checktree-perl libobject-accessor-perl
Recommended packages:
  libarchive-tar-perl
The following NEW packages will be installed:
  libalgorithm-c3-perl libarchive-extract-perl libarchive-zip-perl libauthen-sasl-perl libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl libcommon-sense-perl
  libcpan-meta-perl libdata-optlist-perl libdata-section-perl libencode-locale-perl libexcel-writer-xlsx-perl libexpat1 libfcgi-perl libfile-listing-perl libfont-afm-perl libgdbm3
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libjson-perl libjson-xs-perl liblog-message-perl liblog-message-simple-perl liblwp-mediatypes-perl
  liblwp-protocol-https-perl libmailtools-perl libmodule-build-perl libmodule-pluggable-perl libmodule-signature-perl libmro-compat-perl libnet-http-perl libnet-smtp-ssl-perl
  libnet-ssleay-perl libpackage-constants-perl libparams-util-perl libpod-latex-perl libpod-readme-perl libregexp-common-perl libsoftware-license-perl libsub-exporter-perl
  libsub-install-perl libterm-ui-perl libtext-soundex-perl libtext-template-perl libtimedate-perl liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl perl perl-modules
  rename
0 upgraded, 64 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 9322 kB of archives.
After this operation, 46.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

 

Cheers,
Chris Madden

Solution Architect - 3rd Platform - Systems Engineering NetApp EMEA (and author of Harvest)

Blog: It all begins with data

 

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO or both!

Public