Documentation: Remove more potentially harmful Debian advice

Serenity build tooling autodetects gcc 10 so update-alternatives
is not necessary. Also, switching apt repositories on the fly can
cause issues with dependencies, package downgrades and leave the
system in a broken state.
This commit is contained in:
Thomas Wagenveld 2021-07-30 22:13:11 +02:00 committed by Andreas Kling
parent dff8b3d2d9
commit 9222064439
Notes: sideshowbarker 2024-07-18 07:43:15 +09:00

View file

@ -24,14 +24,6 @@ Now on Ubuntu or Debian you can install gcc-10 with apt like this:
```console
sudo apt install gcc-10 g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 900 --slave /usr/bin/g++ g++ /usr/bin/g++-10
```
If you don't want to stay on the Debian testing branch you can switch back by running:
```console
sudo sed -i '$d' /etc/apt/sources.list
sudo apt update
```
#### QEMU 5 or later