这一切都始于我尝试将电脑恢复出厂设置时。重置时我关闭了“重置程序”应用程序。现在我只能使用 CLI。
我尝试使用以下方式安装 Ubuntu 桌面 GUI
sudo apt-get ubuntu-desktop
但没用。它说他们无法获取档案
我尝试使用更新apt-get update
,但它说
Reading package lists...Done
E: Could not open lock file /var/lib/apt/lists/lock -open (13: Permission denied)
E:Unable to lock directory /var/lib/apt/lists
W: Problem unlinking the file /var/cache/apt/pkgcache.bin -RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
答案1
总结评论并清楚说明新用户需要做什么:
sudo apt update
sudo apt install xubuntu-desktop