I have a device with an old version of Debian, Debian 6 Squeeze. I am trying to upgrade it to any newer version but I get messages, such as:Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/Release.gpg Could not resolve 'ftp.us.debian.org'This is probably because Squeeze is no longer supported at the ftp.us.debian.org address. I am wondering if there is some other address I could use that would allow me to upgrade to Wheezy, after which I should be able to use the normal root. If not is there some kind of work around. Unfortunately this device has no connections, such as USB or CD drive to install a newer version of Debian through, so whatever I do must be through the internet. I'm sure I once came across a similar problem with an old version of Ubuntu and there was an address for legacy updates.
Upgrading Debian Squeeze in 2017
linux;debian;upgrade
Your error about resolving ftp.us.debian.org is a network error, not a distro too old error.Change your /etc/apt/sources.list file to contain only the following - deb http://archive.debian.org/debian  squeeze main contrib non-freeThen do your apt-get update and apt-get dist-upgradeOnce that is done, change your sources list again to be:deb http://ftp.us.debian.org/debian  wheezy main contrib non-freeNote that the hostname changes back to ftp.us.debian.org and the release name changes from squeeze to wheezyThen do your apt-get update and apt-get dist-upgrade.Then if you want to go to stretch (latest release) replace wheezy with stretch and do the apt-get update and apt-get dist-upgrade again.Don't forget that instead of going to wheezy you may want to look and see if squeeze-lts is still getting updates and if that would be a better target to aim for instead of wheezy.