Should Debian 10 install fail with this error,
'The following signatures couldn't be verified because the public key is not available: NO_PUBKEY',
please run the following command to install the needed GPG Keys and reinstall:
Code Block |
---|
sudo -i
apt-get install dirmngr||apt-get install dirmngr||:;
NEED_KEYS=$(apt-get update -qq 2>&1|sed 's!\s\(NO_PUBKEY\s\+[A-Z0-9]\+\)\+!\n\1!g'|grep NO_PUBKEY|tr ' ' '\n'|grep -v NO_PUBKEY)
for KEY in ${NEED_KEYS}; do apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "${KEY}"||:;done; |
RHEL 8 is supported from NMIS version 9.2.1G
On Debian 8, a compatible version of MongoDB Perl Driver (version 1.2.3 or newer) cannot be installed, even when CPANM is used.
On Ubuntu 16.04, pre-installing cpanminus, MongoDB Perl Driver and Mojo::File allows for a clean install of NMIS9:
- apt-get install build-essential cpanminus;
- cpanm --sudo MongoDB;
- cpanm --sudo Mojo::File;
If install of NMIS 9 fails due to failure to install package WWW::Mechanize, pre-install WWW::Mechanize before installing NMIS:
- sudo yum install -y perl-CPAN;
sudo yum install -y perl-App-cpanminus;
sudo cpanm WWW::Mechanize --sudo --notest;