2015-10-25 112 views
-2

我最近有一些問題與文本編輯器(gedit 3.8.3),所以我試圖卸載/重新安裝它的問題是,當我使用命令'apt-get install gedit'終端顯示我一個錯誤:未滿足的依賴關係 - gedit

[email protected]:~$ sudo apt-get install gedit 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
gedit : Depends: libgtksourceview-3.0-0 (>= 3.0.0) but it is not going to be installed 
     Depends: gir1.2-gtksource-3.0 but it is not going to be installed 
     Depends: gedit-common (< 3.5) but 3.8.3-0ubuntu3 is to be installed 
E: Unable to correct problems, you have held broken packages. 

我花了一整天時間,以找到一個解決辦法

有人可以幫我解決這個問題?我使用佐林OS 8

+2

這條消息是否給你提供任何線索?你爲什麼不嘗試安裝提到的軟件包 –

回答

0

你應該能夠看到舉辦包的列表:

sudo apt-mark showhold 

sudo apt-mark unhold <package name> 

之後再未阻止他們,你應該能夠刪除衝突的包(它似乎是npm),然後重新安裝所有。

相關問題