2017-07-02 86 views
-2

,同时试图命令如上sudo易于得到更新&& sudo易于得到升级

我试图找到一些解决方案,但第n帮助

而且它与任何软件发生的事情,我得到这个错误我尝试安装

dpkg: error processing package python3-pip (--configure): 

package is in a very bad inconsistent state; you should 

reinstall it before attempting configuration 

dpkg: error processing package python3-setuptools (--configure): 

package is in a very bad inconsistent state; you should 

reinstall it before attempting configuration 

dpkg: error processing package python3-wheel (--configure): 

package is in a very bad inconsistent state; you should 

reinstall it before attempting configuration 

Errors were encountered while processing: 

python3-pip 

python3-setuptools 

python3-wheel 

E: Sub-process /usr/bin/dpkg returned an error code (1) 
+0

为什么不只是谷歌这个错误?你会得到很多答案。 –

+0

我试过,我发现没有什么解决这个:( –

+0

尝试删除或清除这些软件包,并重新安装它们 –

回答

1

尝试this,除非是在一个糟糕的状态包(在这种情况下,python3-pippython3-setuptoolspython3-wheel

sudo dpkg --remove --force-remove-reinstreq python3-pip python3-setuptools python3-wheel 
sudo apt-get install python3-pip python3-setuptools python3-wheel 
+0

直到现在它工作很大。我是所以thankfull :) –

+0

不客气!如果你是Ubuntu的新手,你应该尝试桌面环境,如果它尚未安装;否则,如果你计划使用命令行很多,你应该从基础开始,而不是立即跳入“apt-get”。很久以前,我从Codecademy学习了一些我的Unix技能,也许这会有所帮助。 – LoganDark

+0

其实我试图使用终端的pyspark代码,我得到了一些错误,所以试图找到这个错误的解决方案,我到达了这个地方:/ –

相关问题