我在 Ubuntu 14.04 中遇到了问题,我已经安装了 Droidcam,但现在我无法删除或安装任何东西,因为我的 Droidcam 锁定了一切
请参见下文
dpkg: error processing package droidcam (--configure):
vitor@vitor-pc:~$ LANG=C sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up droidcam (1.3-0ubuntu0) ...
tar: *.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
dpkg: error processing package droidcam (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
droidcam
E: Sub-process /usr/bin/dpkg returned an error code (1)
此 Doridcam 锁定每个命令
vitor@vitor-pc:~$ LANG=C sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up droidcam (1.3-0ubuntu0) ...
tar: *.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
dpkg: error processing package droidcam (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
droidcam
E: Sub-process /usr/bin/dpkg returned an error code (1)
我该如何修复它?
谢谢
答案1
我不知道该软件包来自哪里,但我猜你添加了某种 PPA。看来这个软件包坏了,所以我建议删除它并找到其他方法来安装它。
$ apt-get purge droidcam
这样您就可以再次使用 apt。