vysogot/railsready-debian-lenny — Issue #4: Problems with backports at Debian Squeeze
Author: nigini
Created: 2012-02-16 23:38:33+00:00
State: open

Using your script at my Debian 6 system, I had this problem:

W: Failed to fetch http://www.backports.org/debian/dists/squeeze-backports/main/binary-i386/Packages 301 Moved Permanently [IP: 86.59.118.148 80]

That's because when adding "backports" at sources.list (line 97), the squeeze backports should be:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
Obviously the "sudo apt-get -y -V -t lenny-backports" (line 99) should be "sudo apt-get -y -V -t squeeze-backports"

I've tested this change in here and it worked.
I understand that the script is called *-lenny, but at the REAME you points that it works on squeeze...
Wish it helps!