How can I fix the error "The value 'stable' is invalid for APT::Default-Release"?

I get the same error with apt, so it's unrelated to synaptic. However, this config exists:

# grep -ri stable /etc
/etc/apt.conf.d/99myDefaultRelease:APT::Default-Release "stable";

So changing that file to "jessie" would fix it in my case (as I'm on jessie.)


Have a look into /root/.synaptic/synaptic.conf. Look for the DefaultDistro line and change its value, e.g. replace stable with wheezy.