如何在 Ubuntu 17.10 上安装 playonlinux?

如何在 Ubuntu 17.10 上安装 playonlinux?

我想在 Ubuntu 17.10 上安装 playonlinux,我看到了问题及其回答,但是sudo apt-get install playonlinux我收到以下错误:

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

我该怎么做才能修复这个问题并安装playonlinux?

sudo apt-get 更新:

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 升级:

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 策略 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

您的系统上安装了不兼容的版本libcurl3。您可能之前添加了 PPA 或其他非官方软件源,从而提供了此版本。

解决方案是降级到libcurl3与官方存储库中的其他软件包匹配的正确版本:

sudo apt install libcurl3=7.55.1-1ubuntu2

此后,您应该能够安装playonlinux,因为它的依赖项curl将不再被冲突的依赖项版本阻止。

相关内容