N900 Unable to lock the administration directory (/var/lib/dpkg/)

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# apt-get install htop
E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Solution:
sudo rm /var/cache/apt/archives/lock
sudo rm var/lib/dpkg/lock

或者打开终端,切换到root,killall apt-worker即可。

 

发表评论

邮箱地址不会被公开。 必填项已用*标注