2017-07-02 42 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代碼,我得到了一些錯誤,所以試圖找到這個錯誤的解決方案,我到達了這個地方:/ –

相關問題