Error while install pci package
$ sudo apt-get install libpci-dev
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:
libpci-dev : Depends: zlib1g-dev but it is not going to be installed
Depends: libpci3 (= 1:3.3.1-1.1ubuntu1) but 1:3.3.1-1.1ubuntu1.1 is to be installed
Depends: libudev-dev (>= 196) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I had no problems under Ubuntu 14.04 and 16.04. 14.04 didn't even pull in libudev-dev:
apt-cache policy libudev-dev
libudev-dev:
Installed: (none)
Candidate: 204-5ubuntu20.25
I'd try manually installing zlib1g-dev first.