首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Ubuntu19.04上安装屏幕?

如何在Ubuntu19.04上安装屏幕?
EN

Ask Ubuntu用户
提问于 2019-12-05 20:00:55
回答 1查看 2.5K关注 0票数 2

试图在Ubuntu 19上安装屏幕,但是我无法获得它的一些依赖项来正确安装包'python-gnome2‘。

代码语言:javascript
复制
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上运行的更新?

EN

回答 1

Ask Ubuntu用户

发布于 2019-12-07 11:21:29

<#>WARNING:通常不推荐使用以下方法,但如果您确实希望在系统上安装ScreenLets,则可以继续使用。

我们需要在系统中添加Ubuntu16.04LTS存储库:

代码语言:javascript
复制
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的常规方法不工作):

代码语言:javascript
复制
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt install libpng12-0

然后我们需要添加ScreenLets PPA

代码语言:javascript
复制
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:

代码语言:javascript
复制
sudo apt-get install screenlets-pack-all

好好享受吧。

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1194122

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档