码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 安装错误解决

时间:2020-06-12 10:55:00      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:war   ring   ror   ati   python   解决办法   process   ret   安装错误   

1. ubuntu 安装错误解决:

Preparing to unpack .../apport_2.20.9-0ubuntu7.15_all.deb ...
/var/lib/dpkg/info/apport.prerm: 22: /var/lib/dpkg/info/apport.prerm: pyclean: not found
dpkg: warning: old apport package pre-removal script subprocess returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 22: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/apport_2.20.9-0ubuntu7.15_all.deb (--unpack):
new apport package pre-removal script subprocess returned error exit status 127
/var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found
dpkg: error while cleaning up:
installed apport package post-installation script subprocess returned error exit status 127

解决办法:

sudo apt-get update

sudo apt-get install --reinstall python

sudo apt-get -f install

sudo apt-get dist-upgrade

ubuntu 安装错误解决

标签:war   ring   ror   ati   python   解决办法   process   ret   安装错误   

原文地址:https://www.cnblogs.com/grandblogs/p/13097905.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!