如何卸载未正确安装的

如何卸载未正确安装的

当我尝试安装 dropbox 时,它没有正确安装,现在只显示图标并且不起作用,所以我想卸载它,如果我使用 gui 执行它,什么也不会发生,它仍然存在,如果我使用终端执行它,它会显示这个

sairamakrishna@Krishna:~$ sudo apt-get remove dropbox
[sudo] password for sairamakrishna: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libappindicator1 libindicator7 linux-headers-3.13.0-32
  linux-headers-3.13.0-32-generic linux-headers-3.13.0-46
  linux-headers-3.13.0-46-generic linux-headers-3.13.0-49
  linux-headers-3.13.0-49-generic linux-headers-3.13.0-51
  linux-headers-3.13.0-51-generic linux-image-3.13.0-32-generic
  linux-image-3.13.0-46-generic linux-image-3.13.0-49-generic
  linux-image-3.13.0-51-generic linux-image-extra-3.13.0-32-generic
  linux-image-extra-3.13.0-46-generic linux-image-extra-3.13.0-49-generic
  linux-image-extra-3.13.0-51-generic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  dropbox
0 upgraded, 0 newly installed, 1 to remove and 151 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
sairamakrishna@Krishna:~$ ^C
sairamakrishna@Krishna:~$ 

所以即使在此之后程序仍然存在请帮我如何卸载它

答案1

运行以下命令:

sudo rm /var/cache/apt/archives/lock

sudo apt-get update

sudo apt-get remove dropbox

相关内容