Linux@Linux-desktop:~$ sudo apt-get update
E: 无法获得锁 /var/lib/apt/lists/lock – open (11 Resource temporarily unavailable)
E: 无法对状态列表目录加锁
Linux@Linux-desktop:~$ sudo apt-get dist-upgrad
E: 无效的操作 dist-upgrad
sudo rm /var/lib/apt/lists/lock就好了。
Linux@Linux-desktop:~$ sudo apt-get update
E: 无法获得锁 /var/lib/apt/lists/lock – open (11 Resource temporarily unavailable)
E: 无法对状态列表目录加锁
Linux@Linux-desktop:~$ sudo apt-get dist-upgrad
E: 无效的操作 dist-upgrad
sudo rm /var/lib/apt/lists/lock就好了。