参考ubuntu重启变成了debian怎么办?下面的回答
1.执行命令lsb_release -a压压惊
结果出现
No LSB modules are available.
参考https://blog.csdn.net/zhoukikoo/article/details/79468779
执行
sudo apt-get install lsb-core
搞定
ming@ming-P95-HP:~$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
2.查看grub
sudo gedit /etc/default/grub
和别人电脑对比没啥区别。
由于lsb更新,所以grub应该重新更新一下
sudo update-grub
再重启,搞定。。。
后记
我出这个问题是自己不小心改了ubuntu系统的python3指向,然后出了一系列问题,这只是其中之一。
在这些步骤前我还卸载了自己装的python3,重新安装python3,重新安装desktop。