Code: Select all
root@hqnaglogi1:/tmp# tar xzf nagioslogserver-latest.tar.gz
root@hqnaglogi1:/tmp# cd nagioslogserver/
root@hqnaglogi1:/tmp/nagioslogserver# ./upgrade
Upgrading on Ubuntu 20.04
Nagios Log Server Upgrade Log
==========================
DATE: Fri Feb 23 21:30:11 UTC 2024
DISTRO INFO:
Ubuntu
20.04
x86_64
Old Version: 2113
New Version: 3001
Reading package lists...
Building dependency tree...
Reading state information...
php-dev is already the newest version (2:7.4+75).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Archive: sourceguardian/loaders.linux-x86_64.zip
inflating: /usr/lib/php/20190902/ixed.7.4.lin
Sourceguardian extension found for PHP version 7.4
Sourceguardian extension already in php.ini
Sourceguardian extension already in php.ini
Upgrading Logstash...
Applying Nagios patches to Logstash...
Updating Logstash plugins...
Updating Logstash plugins...
Validating logstash-input-tcp-4.2.4-java.gem
Installing logstash-input-tcp
Installation successful
Validating logstash-filter-geoip-4.0.4-java.gem
Installing logstash-filter-geoip
Installation successful
Logstash upgraded OK
INSTALL: NCPA is being upgraded...
--2024-02-23 21:31:00-- https://repo.nagios.com/deb/focal/pool/main/ncpa-2.4.1.d9.amd64.deb
Resolving repo.nagios.com (repo.nagios.com)... 45.79.49.120, 2600:3c00::f03c:92ff:fef7:45ce
Connecting to repo.nagios.com (repo.nagios.com)|45.79.49.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10748198 (10M) [application/vnd.debian.binary-package]
Saving to: ‘ncpa-2.4.1.d9.amd64.deb’
ncpa-2.4.1.d9.amd64.deb 100%[=======================================================================================================>] 10.25M 20.8MB/s in 0.5s
2024-02-23 21:31:00 (20.8 MB/s) - ‘ncpa-2.4.1.d9.amd64.deb’ saved [10748198/10748198]
(Reading database ... 1046351 files and directories currently installed.)
Preparing to unpack ncpa-2.4.1.d9.amd64.deb ...
Unpacking ncpa (2.4.1-1) over (2.4.1-1) ...
Setting up ncpa (2.4.1-1) ...
chown: cannot access '/usr/local/ncpa/etc/ncpa.cfg': No such file or directory
Processing triggers for libc-bin (2.31-0ubuntu9.14) ...
Processing triggers for systemd (245.4-4ubuntu3.23) ...
INSTALL: NCPA installed OK.
Reading package lists...
Building dependency tree...
Reading state information...
cron is already the newest version (3.0pl1-136ubuntu1).
snmp-mibs-downloader is already the newest version (1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2024-02-23 21:31:09-- https://ftp-master.debian.org/keys/archive-key-11-security.asc
Resolving ftp-master.debian.org (ftp-master.debian.org)... 192.91.235.231
Connecting to ftp-master.debian.org (ftp-master.debian.org)|192.91.235.231|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11873 (12K) [application/pgp-keys]
Saving to: ‘STDOUT’
- 100%[=======================================================================================================>] 11.59K --.-KB/s in 0.001s
2024-02-23 21:31:09 (14.0 MB/s) - written to stdout [11873/11873]
--2024-02-23 21:31:09-- https://ftp-master.debian.org/keys/archive-key-11.asc
Resolving ftp-master.debian.org (ftp-master.debian.org)... 192.91.235.231
Connecting to ftp-master.debian.org (ftp-master.debian.org)|192.91.235.231|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11861 (12K) [application/pgp-keys]
Saving to: ‘STDOUT’
- 100%[=======================================================================================================>] 11.58K --.-KB/s in 0.001s
2024-02-23 21:31:09 (14.9 MB/s) - written to stdout [11861/11861]
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://us-east4.gce.archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://us-east4.gce.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://us-east4.gce.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 https://packages.cloud.google.com/apt google-cloud-logging-focal-all InRelease
Hit:7 http://packages.cloud.google.com/apt google-compute-engine-focal-stable InRelease
Hit:8 https://packages.cloud.google.com/apt google-cloud-monitoring-focal-all InRelease
Hit:9 https://packages.cloud.google.com/apt google-cloud-ops-agent-focal-all InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:11 https://esm.ubuntu.com/apps/ubuntu focal-apps-security InRelease
Hit:12 https://esm.ubuntu.com/apps/ubuntu focal-apps-updates InRelease
Hit:13 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
Hit:14 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:3
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:5
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:1 and /etc/apt/sources.list.d/debian.list:7
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:6
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/debian.list:2 and /etc/apt/sources.list.d/debian.list:8
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
chromium is already the newest version (120.0.6099.224-1~deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ln: failed to create symbolic link '/bin/chromium-browser': File exists
root@hqnaglogi1:/tmp/nagioslogserver#