I was looking to install Python 3.6 on my Raspberry Pi (which is running Raspian jessie), and I followed the instructions in this post without reading the warning below. First of all, python3.6 didn't even install, and second of all, the
apt-get install I tried doing afterwards failed. My understanding is that my installation is now at risk of being broken (i.e. becoming a FrankenDebian) due to mixing non-stable repositories.
How can I undo what I have done? The only commands of relevance that I've executed are
$ sudo nano /etc/apt/sources.list # add deb http://ftp.de.debian.org/debian testing main $ echo 'APT::Default-Release "stable";' | sudo tee -a /etc/apt/apt.conf.d/00local $ sudo apt-get update $ sudo apt-get -t testing install python3.6 $ python3.6 -V
When I try to
apt-get install anything, I get the error:
E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources.