Mohsen Pahlevanzadeh wrote: > I installed squeeze and at first empty /etc/apt/sources.list and then > put the following line in that: > deb http://ftp.debian.org/debian sid main contrib non-free
I suspect your mirror site is broken. Instead of the really generic ftp.debian.org use a country specific mirror. That should solve your problem and also speed up your connection. For example I use ftp.us.debian.org. Here is a list. http://www.debian.org/mirror/list > So, when use apt-get update , i prevented to the following error: > E: Release file expired, ignoring > http://ftp.debian.org/archive/debian/20100820T150149Z/dists/sid/Release > (invalid since 10d 4h 40min 14s) That doesn't seem to match the line you posted from your source.list file. Do you have any other files in /etc/apt/sources.list.d/* ? You might. And those might be causing you trouble. > How can i solve it forever? Try a different mirror site. Check for extra files in sources.list.d. Bob
signature.asc
Description: Digital signature