I have a Debian system (virtual development box, not reachable from the internet) which has not been updated for a while. Now I'd like to make up for this, but it seems the sources are not available any more:
$ sudo -s
> LANG=C apt-get update
...
Ign http://backports.debian.org squeeze-backports/non-free Translation-de_DE
Err http://backports.debian.org squeeze-backports/main amd64 Packages
301 Moved Permanently [IP: 128.31.0.62 80]
Err http://backports.debian.org squeeze-backports/contrib amd64 Packages
301 Moved Permanently [IP: 128.31.0.62 80]
Err http://backports.debian.org squeeze-backports/non-free amd64 Packages
301 Moved Permanently [IP: 128.31.0.62 80]
Fetched 13.5 kB in 8s (1512 B/s)
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/main/binary-amd64/Packages 301 Moved Permanently [IP: 128.31.0.62 80]
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/contrib/binary-amd64/Packages 301 Moved Permanently [IP: 128.31.0.62 80]
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/non-free/binary-amd64/Packages 301 Moved Permanently [IP: 128.31.0.62 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
I was able to dist-upgrade
from 7.4 to 7.11 today, but this seems to be all I can get.
Is there a way to successfully update
and dist-upgrade
my system to Debian 8, Jessie? My main goal is to get apache 2.4 that way.
Update:
Here is my /etc/apt/sources.list
file, empty and commented-out lines removed:
deb http://debian.uni-duisburg-essen.de/debian/ wheezy main
deb-src http://debian.uni-duisburg-essen.de/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://debian.uni-duisburg-essen.de/debian/ wheezy-updates main
deb-src http://debian.uni-duisburg-essen.de/debian/ wheezy-updates main
deb http://opensource.wandisco.com/debian wheezy svn18
apt-get update --fix-missing
thenapt-get dist-upgrade
.squeeze-backports
. Now the error messages have gone, but Iapt-get dist-upgrade
still doesn't lift me to Jessie.apt-get dist-upgrade
is just a glorifiedapt-get upgrade
on steroids. Show us yourgrep -REh '^[^#].*$' /etc/apt/sources.list*
. (That gives all non-empty lines starting with something other than#
.)sources.list
info.