Getting an error when attempting to apt-get install
I am on a Debian 9 VM and I recently upgraded the VM from nanode to a higher tier spec with 2GB of RAM. When I tried to do an apt-get install, I get the following error:
The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
A SuperUser question addressed this by going to the /root/.synaptic folder, but no such folder exists in my VM.
Is there a way to fix this issue?
Got it to work by editing the file in /etc/apt/apt.conf.d/00local
The value in the file was:
Changed it to:
We're happy to try and help with this.
This looks like an issue with your systems ability to call the correct sources to run the task for your version rather than an issue with Synaptic. Your sources.list entries likely indicate that you're tracking "wheezy", which is now "oldstable", not "stable". None of the sources in your list will be providing "stable", so the message is entirely correct.
We hope that helps.
Linode Support Team