Issue:
I am unable to install the Elements Vulnerability Management scan node agent on Ubuntu 18.04 LTS
Error message:
user@host:~$ sudo apt install ./f-secure-radar-scannodeagent-installer_1.0.0-1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'f-secure-radar-scannodeagent-installer' instead of './f-secure-radar-scannodeagent-installer_1.0.0-1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
f-secure-radar-scannodeagent-installer : Depends: aspnetcore-runtime-2.2 but it is not going to be installed
Depends: powershell but it is not going to be installed
Depends: dialog but it is not installable
Recommends: libx11-xcb1 but it is not going to be installed
Recommends: libxrandr2 but it is not going to be installed
Recommends: libasound2 but it is not going to be installed
Recommends: libpangocairo-1.0-0 but it is not going to be installed
Recommends: libatk1.0-0 but it is not going to be installed
Recommends: libatk-bridge2.0-0 but it is not going to be installed
Recommends: libgtk-3-0 but it is not going to be installed
Recommends: libnss3 but it is not going to be installed
Recommends: libxss1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Following installation sources were configured for Ubuntu via /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu bionic main
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main
Resolution:
One of the packages required by the scan node (dotnet-runtime-deps-2.2) requires liblttng-ust0 which is only available in the universe ATP-repository. You can execute the following commands resolved the issue:
- $ sudo add-apt-repository universe
- $ sudo apt-get update
If the step above does not resolve the issue, proceed to run the following command:
- Install Powershell:
- # Update the list of packages
sudo apt-get update
- # Install pre-requisite packages.
sudo apt-get install -y wget apt-transport-https software-properties-common
- # Download the Microsoft repository GPG keys
- # Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
- # Update the list of products
sudo apt-get update
- # Enable the "universe" repositories
sudo add-apt-repository universe
sudo apt-get install -y powershell
pwsh
- Install .net:
Article no: 000028153