I have an old server running Debian Squeeze. I'm trying to download the source of some package so that I can patch it manually. However,
apt-get source fails for every package I try. An example:
root@xxxx:/home/myhomedir# apt-get source emacs Reading package lists... Done Building dependency tree Reading state information... Done E: Ignore unavailable target release 'stable' of package 'emacs' E: Unable to find a source package for
The same error repeats for every other source package I try. Installing a package with the same name works, however (for example
apt-get install emacs). Here are the contents of my
# the basic archive deb ftp://ftp.fi.debian.org/debian/ squeeze-lts main non-free contrib deb-src ftp://ftp.fi.debian.org/debian/ squeeze-lts main non-free contrib # the security patches deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free
I initially thought it was because of errors I got from
apt-get update (see my previous question at apt-get update fails on debian squeeze with "File not found"), but this is now fixed and I still can't download sources.