web-dev-qa-db-fra.com

Comment installer playonlinux sur Ubuntu 17.10?

Je veux installer playonlinux sur Ubuntu 17.10, j'ai vu this question et ses réponse , mais après Sudo apt-get install playonlinux, j'obtiens l'erreur suivante:

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:
 playonlinux : Depends: curl
E: Unable to correct problems, you have held broken package

Que puis-je faire pour résoudre ce problème et que playonlinux soit installé?

Sudo apt-get update:

arya@arya:~$ Sudo apt-get update
Get:1 http://ppa.launchpad.net/noobslab/apps/ubuntu artful InRelease [15.4 kB] 
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://archive.ubuntu.com/ubuntu artful InRelease                      
Hit:4 http://dl.google.com/linux/chrome/deb stable Release                     
Get:6 http://ppa.launchpad.net/noobslab/apps/ubuntu artful/main i386 Packages [1,572 B]
Get:7 http://ppa.launchpad.net/noobslab/apps/ubuntu artful/main AMD64 Packages [1,560 B]
Get:8 http://ppa.launchpad.net/noobslab/apps/ubuntu artful/main Translation-en [1,160 B]
Fetched 19.7 kB in 4s (4,087 B/s)               
Reading package lists... Done

Sudo apt-get upgarde:

arya@arya:~$ Sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

apt policy playonlinux curl libcurl3:

arya@arya:~$ apt policy playonlinux curl libcurl3
playonlinux:
  Installed: (none)
  Candidate: 4.2.12-1
  Version table:
     4.2.12-1 500
        500 http://archive.ubuntu.com/ubuntu artful/multiverse AMD64 Packages
        500 http://archive.ubuntu.com/ubuntu artful/multiverse i386 Packages
curl:
  Installed: (none)
  Candidate: 7.55.1-1ubuntu2
  Version table:
     7.55.1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu artful/main AMD64 Packages
libcurl3:
  Installed: 7.55.1-1ubuntu2.3
  Candidate: 7.55.1-1ubuntu2.3
  Version table:
 *** 7.55.1-1ubuntu2.3 100
         100 /var/lib/dpkg/status
     7.55.1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu artful/main AMD64 Packages
1
Arya Sadeghi

Vous avez une version incompatible de libcurl3 installée sur votre système. Vous avez probablement eu un PPA ou une autre source de logiciel non officielle ajoutée à un moment donné dans le passé pour le fournir.

La solution consiste à rétrograder libcurl3 à la version correspondant aux autres packages des référentiels officiels:

Sudo apt install libcurl3=7.55.1-1ubuntu2

Après cela, vous devriez pouvoir installer playonlinux, car sa dépendance curl ne sera plus bloquée par une version de dépendance en conflit.

3
Byte Commander