root@base-Rpi3B:~/hostapd # apt-get install build-essential pkg-config libnl-3-dev libssl-dev libnl-genl-3-dev patchutils libnl* -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libnl-cli-3-dev' for glob 'libnl*'
Note, selecting 'libnl-route-3-200' for glob 'libnl*'
Note, selecting 'libnl3-dev' for glob 'libnl*'
Note, selecting 'libnl-route-3-dev' for glob 'libnl*'
Note, selecting 'libnlopt-guile0' for glob 'libnl*'
Note, selecting 'libnl-genl-3-200' for glob 'libnl*'
Note, selecting 'libnl-utils' for glob 'libnl*'
Note, selecting 'libnl-dev' for glob 'libnl*'
Note, selecting 'libnl-doc' for glob 'libnl*'
Note, selecting 'libnl-3-200-dbg' for glob 'libnl*'
Note, selecting 'libnl-idiag-3-200' for glob 'libnl*'
Note, selecting 'libnl-genl-3-dev' for glob 'libnl*'
Note, selecting 'libnlopt-dev' for glob 'libnl*'
Note, selecting 'libnl1' for glob 'libnl*'
Note, selecting 'libnl2' for glob 'libnl*'
Note, selecting 'libnl-nf-3-200' for glob 'libnl*'
Note, selecting 'libnl-idiag-3-dev' for glob 'libnl*'
Note, selecting 'libnlopt0' for glob 'libnl*'
Note, selecting 'libnl-nf-3-dev' for glob 'libnl*'
Note, selecting 'libnl-3-200' for glob 'libnl*'
Note, selecting 'libnl2-dbg' for glob 'libnl*'
Note, selecting 'libnl2-dev' for glob 'libnl*'
Note, selecting 'libnl2-doc' for glob 'libnl*'
Note, selecting 'libnl-3-dev' for glob 'libnl*'
Note, selecting 'libnl-xfrm-3-200' for glob 'libnl*'
Note, selecting 'libnl-cli-3-200' for glob 'libnl*'
Note, selecting 'libnl-xfrm-3-dev' for glob 'libnl*'
build-essential is already the newest version (12.3).
libnl-3-200 is already the newest version (3.2.27-2).
libnl-3-200 set to manually installed.
libnl-genl-3-200 is already the newest version (3.2.27-2).
libnl-genl-3-200 set to manually installed.
libnl-route-3-200 is already the newest version (3.2.27-2).
libnl-route-3-200 set to manually installed.
patchutils is already the newest version (0.3.4-2).
pkg-config is already the newest version (0.29-4).
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:
libnl-3-dev : Conflicts: libnl-dev but 1.1-8 is to be installed
Conflicts: libnl2-dev but 2.0-1 is to be installed
libnl2-dev : Conflicts: libnl-dev but 1.1-8 is to be installed
E: Unable to correct problems, you have held broken packages.