Use the online repositories instead of CD-ROMs
It's recommended to install packages from the official repositories available using the internet, rather than installing from (outdated) CD images.
Open /etc/apt/sources.list
with your favourite text editor, e.g.
sudo gedit /etc/apt/sources.list # or vim / nano / joe - whatever you like
Comment out the lines starting with deb cdrom:
. This means, prepending them with a #
(hash). For example:
deb cdrom:[Kubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424)]/ dists/precise/main/binary-i386/
deb cdrom:[Kubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424)]/ dists/precise/restricted/binary-i386/
Becomes
# deb cdrom:[Kubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424)]/ dists/precise/main/binary-i386/
# deb cdrom:[Kubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424)]/ dists/precise/restricted/binary-i386/
Check whether regular deb http://...
or deb ftp://...
are present in the file elsewhere. You should at least have some lines like
deb http://nl.archive.ubuntu.com/ubuntu/ precise main restricted
deb http://nl.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb http://security.ubuntu.com/ubuntu precise-security main restricted
Update the sources.
sudo apt-get update
Install the package:
sudo apt-get install dpkg-dev
Install updates (you probably have a lot outstanding now that you haven't accessed the repostories online).
sudo apt-get dist-upgrade # no, this won't upgrade to a new release
In case you still have issues locating the package, include the output of
apt-cache policy dpkg-dev
and
grep -vrE "(^#|^$)" /etc/apt/sources.list /etc/apt/sources.list.d/
in your question.