Welcome to the Linux Foundation Forum!

Lab 7.5 falco : Depends: dkms (>= 2.1.0.0) but it is not going to be installed

An error occured during the Falco installation:
The following packages have unmet dependencies:
falco : Depends: dkms (>= 2.1.0.0) but it is not going to be installed

So I try to found the version conflict by installing the unmet dependencies step by step, but I can't remove 'gcc-8-base' .

Can anyone help me? Thanks !

john@cp:~$ curl -s https://falco.org/repo/falcosecurity-3672BA8F.asc | sudo apt-key add -
[sudo] password for john:
OK
john@cp:~$ echo "deb https://download.falco.org/packages/deb stable main" | \

sudo tee -a /etc/apt/sources.list.d/falcosecurity.list

deb https://download.falco.org/packages/deb stable main
john@cp:~$ sudo apt-get update -y
Get:1 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease [9,383 B]
Hit:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages
Get:3 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main amd64 Packages [52.6 kB]
Ign:4 https://download.falco.org/packages/deb stable InRelease
Get:5 https://download.falco.org/packages/deb stable Release [1,908 B]
Get:6 https://download.falco.org/packages/deb stable Release.gpg [833 B]
Get:7 https://download.falco.org/packages/deb stable/main amd64 Packages [3,174 B]
Fetched 67.9 kB in 7s (10.0 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.falco.org/packages/deb stable InRelease' doesn't support architecture 'i386'
john@cp:~$ sudo apt-get -y install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-5.3.0-28-generic is already the newest version (5.3.0-28.30~18.04.1).
linux-headers-5.3.0-28-generic set to manually installed.
The following packages were automatically installed and are no longer required:

... ...omitted...

Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
john@cp:~$ sudo apt-get install -y falco
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
falco : Depends: dkms (>= 2.1.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

john@cp:~$ sudo apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
dkms : Depends: gcc but it is not going to be installed
Depends: dpkg-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
john@cp:~$ sudo apt-get install rcc dpkg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package rcc

... omitted ...

john@cp:~$ sudo apt-get remove gcc-8-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
kubelet : Depends: iptables (>= 1.4.21)
Depends: iproute2
Depends: socat but it is not going to be installed
Depends: util-linux
Depends: mount
Depends: ebtables but it is not going to be installed
Depends: ethtool but it is not going to be installed
Depends: conntrack but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Answers

Categories

Upcoming Training