![我无法更新我的 ubuntu](https://linux22.com/image/1143715/%E6%88%91%E6%97%A0%E6%B3%95%E6%9B%B4%E6%96%B0%E6%88%91%E7%9A%84%20ubuntu.png)
每次我输入命令时sudo apt-get update; sudo apt-get upgrade
,它都会显示:
(You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpam-systemd : Depends: systemd (= 229-4ubuntu12) but 229-4ubuntu4 is installed
E: Unmet dependencies. Try using -f.)
然后当我输入时sudo apt-get -f install
出现了:
(E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?)
我接下来该怎么做?我无法更新我的电脑。我还想同时安装 Windows XP。