为什么 PlayOnLinux 无法在 18.04 上找到 xterm?

为什么 PlayOnLinux 无法在 18.04 上找到 xterm?

因此我尝试使用这些命令通过终端安装 PlayOnLinux。

$ wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
OK
$ sudo wget http://deb.playonlinux.com/playonlinux_bionic.list -O /etc/apt/sources.list.d/playonlinux.list
--2020-04-21 21:48:13--  http://deb.playonlinux.com/playonlinux_bionic.list
Resolving deb.playonlinux.com (deb.playonlinux.com)... 51.254.83.230, 2001:41d0:2:37ca::1e
Connecting to deb.playonlinux.com (deb.playonlinux.com)|51.254.83.230|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44
Saving to: ‘/etc/apt/sources.list.d/playonlinux.list’

/etc/apt/sources.li 100%[===================>]      44  --.-KB/s    in 0s      

2020-04-21 21:48:13 (4.60 MB/s) - ‘/etc/apt/sources.list.d/playonlinux.list’ saved [44/44]

$ sudo apt-get update
Hit:1 http://repo.steampowered.com/steam precise InRelease                     
Hit:2 http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic InRelease      
Hit:3 http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease
Hit:4 http://deb.playonlinux.com bionic InRelease                              
Hit:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
Reading package lists... Done                                               
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list:74
$ sudo apt-get install xterm playonlinux
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package xterm 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 'xterm' has no installation candidate

我对 Ubuntu 还比较陌生,因此我希望能够得到一些关于这个问题的逐步帮助。

答案1

对于仿生版本

键入以下命令:

 wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -


 sudo wget http://deb.playonlinux.com/playonlinux_bionic.list -O /etc/apt/sources.list.d/playonlinux.list

 sudo apt-get update

 sudo apt-get install playonlinux

或者使用以下命令直接下载包并安装

 wget https://www.playonlinux.com/script_files/PlayOnLinux/4.3.4/PlayOnLinux_4.3.4.deb

  chmod 777 PlayOnLinux_4.3.4.deb

  sudo dpkg -i PlayOnLinux_4.3.4.deb

相关内容