Ubuntu setting xserver-xorg-lega
2024-04-11 本文已影响0人
Rinaloving
错误
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
正在设置 systemd (245.4-4ubuntu3.23) ...
cp: '/etc/resolv.conf' 与'/run/systemd/resolve/stub-resolv.conf' 为同一文件
dpkg: 处理软件包 systemd (--configure)时出错:
已安装 systemd 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
![](https://img.haomeiwen.com/i14245154/7a92050a9d632a9c.png)
解决
1. 执行 sudo rm -rf /run/systemd/resolve/stub-resolv.conf
2. 安装
sudo apt-get -f install