Today I were trying to install Haskell platform in debian linux, and atleast all the packages I tried to get were failing. Though my internet connection is working and, apt-get update command reported the local package list cache is up-to-date , still the packages are not resolved . My friend senthil kumar Selvaraj found the problem to be in sources.list file in /etc/apt/sources.list. He replaced the contents of the file with the following

deb squeeze main

deb-src squeeze main


deb squeeze-updates main

deb-src squeeze-updates main


deb squeeze/updates main

deb-src squeeze/updates main


And things started to work. Many a thanks to him.