我remove 了,然后发现很多依赖

  • 所以我又重新安装了python3

然后再安装的python3.9

  • 可惜,我自动auto remove了

  • 当时,vscode 远程就不行了。

重启后不能登录gnome

  • 但是幸运的是,可以login 到无GUI

ubuntu 18.04 remove python3.6 temporary failure in name resolution

  • 看了一个记录,说是这样的
I've faced the exactly same problem but I've fixed it with another approache.

Using Ubuntu 18.04, first disable systemd-resolved service.

sudo systemctl disable systemd-resolved.service

Stop the service

sudo systemctl stop systemd-resolved.service

Then, remove the link to /run/systemd/resolve/stub-resolv.conf in /etc/resolv.conf

sudo rm /etc/resolv.conf

Add a manually created resolv.conf in /etc/

sudo vim /etc/resolv.conf

Add your prefered DNS server there

nameserver 208.67.222.222

I've tested this with success.
auto ens33
iface ens33inet static
address 192.168.50.175
netmask 255.255.255.0
gateway 192.168.50.1
dns-nameservers 8.8.8.8
  • 重启:
  • sudo /etc/init.d/networking start

原始gnome: sudo apt install gnome-session gdm3

  • 有报错,可能是安装了?
    在这里插入图片描述
  • 干脆装个完整的吧:

完整版gnome

 sudo apt install tasksel
  • sudo tasksel install ubuntu-desktop

在这里插入图片描述

  • 有了
    在这里插入图片描述

不能自送适应客户机了

  • open-vm-tools-dkms 这个额没有找到,安装了下面的这个就立马好了:
sudo apt-get install open-vm-tools open-vm-tools-desktop


ubuntu gnome wired unmanaged

  • 不显示有线连接
    sudo vim /etc/NetworkManager/NetworkManager.conf
    将managed=false
    改成managed=true
    然后重启network-manager
    sudo service network-manager restart
  • 有了:
    在这里插入图片描述
Logo

GitCode 天启AI是一款由 GitCode 团队打造的智能助手,基于先进的LLM(大语言模型)与多智能体 Agent 技术构建,致力于为用户提供高效、智能、多模态的创作与开发支持。它不仅支持自然语言对话,还具备处理文件、生成 PPT、撰写分析报告、开发 Web 应用等多项能力,真正做到“一句话,让 Al帮你完成复杂任务”。

更多推荐