TIP for all
I get packages.gz & sources.gz from
http://archive.ubuntu.com/ubuntu/dists/ of my distro .
store them in corresponding folder /root/main,universe,restricted,multiverse.
Then I add line to /etc/apt/sources.list
deb file:/root main/
deb-src file:/root main/
comment all other lines (except cdrom because from it you can install build-essential,dpkg-dev etc.)if your computer has no internet(that is why we are setting up repository on our pc).
Now Run
apt-get update > /dev/null
If you don't get error then you can use
apt-get install softwareName
to get links of needed debian files.