web-dev-qa-db-fra.com

Comment installer des screenlets sur Ubuntu 19.04?

essayant d'installer des screenlets sur Ubuntu 19, cependant je ne peux pas obtenir certaines de ses dépendances à installer correctement - Package '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

Certains googlages montrent que le package 'python-gnome2' est devenu obsolète après le 18.04?

Est-ce que quelqu'un sait si une solution de contournement est disponible ou s'il existe une mise à jour permettant l'exécution de Screenlets sur Ubuntu 19?

2
IdanB

AVERTISSEMENT: Habituellement, la méthode ci-dessous n'est pas recommandée du tout, mais vous pouvez continuer si vous voulez vraiment installer ScreenLets sur votre système.

Nous devons ajouter des référentiels Ubuntu 16.04 LTS au système:

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

Ensuite, nous devons installer LibPNG 1.2 à partir de linuxuprising PPA (comme la méthode régulière basée sur deb ne fonctionne pas ):

Sudo add-apt-repository ppa:linuxuprising/libpng12
Sudo apt install libpng12-0

Ensuite, nous devons ajouter 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"

Et enfin, nous serons autorisés à installer ScreenLets:

Sudo apt-get install screenlets-pack-all

et apprécie.

2
N0rbert