【WSL2】在你的win10/11电脑上安装Linux子系统+Ubuntu+图形

安装视频中的几个包时会遇到一些问题
debianutils : Breaks: x11-common (< 1:7.7+23~) but 1:7.7+19ubuntu14 is to be installed
libstartup-notification0 : Depends: libx11-xcb1 but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
或者
(process:16407): xfce4-session-CRITICAL **: 16:55:35.243: dbus-launch not found, the desktop will not work properly!
Segmentation fault
解决办法也很简单:
- 替换清华镜像源之前将镜像源备份一下,sources.list_backup
- 遇到安装报错可以切换回备份源,运行 sudo apt update,然后进行安装
- 切换回清华源,进行下一步操作