Sonar Poller – PHP not installed

Had some problems where the Sonar Poller Stopped working. Think some packages got removed so trying to run

sudo php /opt/poller/bin/checkForUpgrades.php

Returned a php error that it was not installed. Installed it with all the other dependencies to fix the problem.

Note that php version is different then it is on the github page. php7.2-cli is installed instead of php7.0-cli.

sudo apt-get install php7.2-cli php-zip php-snmp php-sqlite3  php-bcmath php-mbstring php-dom git fping snmp redis-server monit ntp  snmp-mibs-downloader

kubuntu-desktop : Depends: software-properties-kde but it is not going to be installed

Try installing software-properties-kde and get

The following packages have unmet dependencies:
  software-properties-kde : Depends: python3-software-properties (= but 1.8.8 is to be installed
 E: Unable to correct problems, you have held broken packages.

Try to install python3 from the bionic from bionic-updates

sudo apt install -t bionic-updates python3-software-properties

Install software-properties-kde

sudo apt install software-properties-kde

If it fails try force installing it

sudo dpkg -i --force-overwrite /var/cache/apt/archives/software-properties-kde_0.

Install Kubuntu desktop

sudo apt install kubuntu-desktop

More info here