为了解决这个问题,我卸载了 lightdm,现在 gdm 是默认设置。但我遇到了与 gdm 相同的问题。当我尝试重新安装 lighten 时,我收到:
WARNING: The following packages cannot be authenticated!
lightdm
Install these packages without verification [y/N]? y
Err http://us.archive.Ubuntu.com/ubuntu/ raring-updatea/main lighten amd64 1.6.0-ubuntu3
Something wicked happen ed resolving 'us.archive.ubuntu.com:http' (-11 - System error)
Failed to fetch http://us.archive.ubuntu.com/Ubuntu/pool/main/1/lightdm_1.6.0-0ubuntu3_amd64.deb So me thing wicked happened resolving 'us.archive.ubuntu.com:http' (-11 - System error)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix missing?
答案1
您的 URL 中有错误/etc/apt/sources.list
:
跑步
sudo nano /etc/apt/sources.list
,查找文本
http://us.archive.Ubuntu.com/ubuntu/ raring-updatea/main
并将其替换为
http://us.archive.Ubuntu.com/ubuntu/ raring-updates/main
跑步
sudo apt-get update sudo apt-get upgrade