First verify that the main repository is actually activated:
Note the country code for Sweden marked in green - you might want to replace that with your own (e.g. de, dk, nl, uk)root@b3:~# cat /etc/apt/sources.list
# The debian squeeze repository containing unsupported packages that can be used.
deb http://ftp.se.debian.org/debian/ squeeze main
# The debian squeeze repository containing unsupported packages that can be used. source packages
#deb-src http://ftp.se.debian.org/debian squeeze main
....
Next get the current version of the repository:
Code: Select all
apt-get update