我尝试从电力供应协议,但是出现了这个问题:
ERROR: unopkg cannot be started. The lock file indicates it as already running. If this does not apply, delete the lock file at:
/var/lib/libreoffice/share/prereg/.lock
dpkg : erreur de traitement de /var/cache/apt/archives/python-uno_1%3a3.5.1-1ubuntu1~oneiric1_i386.deb (--unpack) :
subprocess new pre-installation script returned error exit status 1
Treatment of deferred stock (« triggers ») for « libreoffice-common »...
Errors were encountered while processing :
/var/cache/apt/archives/python-uno_1%3a3.5.1-1ubuntu1~oneiric1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
看起来像是一个错误,正如所描述的这里。
根据该报告,您应该删除锁定文件,然后继续安装。打开终端并输入:
sudo rm /var/lib/libreoffice/share/prereg/.lock
sudo apt-get -f install
并且包裹应该是固定的。