Package-Management

gdevilspie 未滿足的依賴關係

  • September 3, 2022

我正在嘗試安裝 gdevilspie_0.5-3.2_all.deb,但收到錯誤消息。

我需要 gdevilspie 能夠像使用 UM 18.04 一樣打開最小化的配對終端視窗。

有人可以幫幫我嗎。

andy@7_~/Downloads$ sudo apt install ./gdevilspie_0.5-3.2_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'gdevilspie' instead of './gdevilspie_0.5-3.2_all.deb'
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:
gdevilspie : Depends: python-wnck but it is not installable
             Depends: python-glade2 but it is not installable
             Recommends: python-xdg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

gdevilspie 依賴於 PyGTK2,並且隨著目前發行版中大多數 Python 2 包的刪除,舊的 gdevilspie 包不再可安裝。

如果您找到依賴項的包(例如snapshot.debian.org上),並且與系統上目前的 Python 包沒有衝突,則可以安裝您的包。

devilspie 本身仍然可用,並且可以直接安裝在您的發行版中(例如 sudo apt install devilspie)。因此,您仍然可以編寫規則並將它們應用於視窗;您將不會擁有 gdevilspie 提供的 GUI。

引用自:https://unix.stackexchange.com/questions/715965