试图在Ubuntu 19上安装屏幕,但是我无法获得它的一些依赖项来正确安装包'python-gnome2‘。
sudo apt install screenlets
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:
screenlets : Depends: python-gnome2 but it is not installable
Depends: python-wnck but it is not installable
Depends: python-gconf but it is not installable
Depends: python-beautifulsoup but it is not installable
Depends: python-gnomekeyring but it is not installable
Recommends: python-webkit but it is not installable
Recommends: python-rsvg but it is not installable
Recommends: screenlets-pack-basic but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt install python-gnome2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-gnome2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-gnome2' has no installation candidate一些googling显示'python-gnome2‘包在18.04之后就被废弃了?
有没有人知道是否有一些变通方法可用,或者这里是否有允许Screenlet在Ubuntu 19上运行的更新?
发布于 2019-12-07 11:21:29
<#>WARNING:通常不推荐使用以下方法,但如果您确实希望在系统上安装ScreenLets,则可以继续使用。
我们需要在系统中添加Ubuntu16.04LTS存储库:
cat << EOF | sudo tee /etc/apt/sources.list.d/xenial.list
deb http://archive.ubuntu.com/ubuntu xenial main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu xenial-updates main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu xenial-security main universe multiverse restricted
EOF然后,我们需要从LibPNG中安装利努克起义PPA 1.2 (作为基于deb的常规方法不工作):
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt install libpng12-0然后我们需要添加ScreenLets PPA:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 94E58C34A8670E8C
sudo add-apt-repository "deb http://ppa.launchpad.net/screenlets/ppa/ubuntu xenial main"最后,我们可以安装ScreenLets:
sudo apt-get install screenlets-pack-all好好享受吧。
https://askubuntu.com/questions/1194122
复制相似问题