Apt-get doesn’t work in fresh install of debian squeeze linux (2.6.32-5-amd64)

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 http://ftp.br.debian.org/debian squeeze main

deb-src http://ftp.br.debian.org/debian squeeze main

 

deb http://ftp.br.debian.org/debian squeeze-updates main

deb-src http://ftp.br.debian.org/debian squeeze-updates main

 

deb http://security.debian.org/ squeeze/updates main

deb-src http://security.debian.org/ squeeze/updates main

 

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