简体   繁体   English

每个软件包/程序安装中的错误Ubuntu 12.04

[英]Errors with every package/program installation Ubuntu 12.04

This problem occur after I try to use the script to install Maya 2014 and because I failed with some libraries, I used synaptic package manager to completely remove Maya and I used 我尝试使用脚本安装Maya 2014后出现此问题,并且由于某些库失败,因此我使用了突触包管理器来完全删除Maya,并且我使用了

sudo rm -r /usr/autodesk

After that I used Terminal to install Skype and get this error message 之后,我使用终端安装Skype并收到此错误消息

Setting up composite-2014 (2014.0-862716) ...
python: can't open file '/usr/autodesk/Composite_2014/etc/configure.py': [Errno 2] No such file or directory
dpkg: error processing composite-2014 (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 composite-201400
E: Sub-process /usr/bin/dpkg returned an error code (1)

I will now install Wine and put the whole process and it will be more clear where the error occur. 现在,我将安装Wine并完成整个过程,这样会更清楚地指出错误发生的位置。

Here 's the installation process 是安装过程

Errors were encountered while processing:
 composite-2014
E: Sub-process /usr/bin/dpkg returned an error code (1)

try this commands: 试试这个命令:

apt-get install -f
dpkg-reconfigure -a

maybe helps 也许有帮助

If the last answer don't work as well (like it happens to me .. and its rear) 如果最后一个答案不起作用(例如它发生在我..及其后部)

Just "Fake" /usr/autodesk/Composite_2014/etc/configure.py 只是“假” /usr/autodesk/Composite_2014/etc/configure.py
Open the Terminal (ctl+alt+t) 打开终端(ctl + alt + t)

sudo nautilus

Browse to /usr/autodesk and create Composite_2014/etc/configure.py (one by one) 浏览到/ usr / autodesk并创建Composite_2014 / etc / configure.py(一个接一个)

good luck 祝好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM