Please assist me in installing dpkg-dev. It requires me to
insert "ubuntu 12.04.1 precise pangolin i386". I did download
and burn the image onto a disk. Repeated the process..i.e.
- type
sudo apt-get install dpkg-dev - inserted the above mention disc as required
- pressed 'enter' as required, but that's where nothing happens and my problem begun..
Any advice would be appreciated or please send me the exact image of the above mentioned ubuntu image/iso file.
11 Answer
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.listwith your favourite text editor, e.g.sudo gedit /etc/apt/sources.list # or vim / nano / joe - whatever you likeComment 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
debordeb ftp://...are present in the file elsewhere. You should at least have some lines likedeb precise main restricted deb precise-updates main restricted deb precise-security main restrictedUpdate the sources.
sudo apt-get updateInstall the package:
sudo apt-get install dpkg-devInstall 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-devand
grep -vrE "(^#|^$)" /etc/apt/sources.list /etc/apt/sources.list.d/in your question.