在之前的 Ubuntu 版本(例如 18.04 LTS)上,我可以安装WINE 启动器创建器。
但是在现代的 Ubuntu 20.04 LTS 上,它无法安装,并显示以下消息:
cd ~/Downloads
wget -c https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wine-launcher-creator/wine-launcher-creator_1.0.8-1_all.deb
sudo apt-get install ./wine-launcher-creator_1.0.8-1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'wine-launcher-creator' instead of './wine-launcher-creator_1.0.8-1_all.deb'
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:
wine-launcher-creator : Depends: python-qt4 but it is not installable
E: Unable to correct problems, you have held broken packages.
答案1
python-qt4
包装引起的问题不在 Ubuntu 20.04 LTS 存储库中。
所以我们需要添加特殊Qt4 的 PPA并使用以下命令进行安装:
sudo add-apt-repository ppa:rock-core/qt4
sudo apt-get update
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/q/qt-assistant-compat/libqtassistantclient4_4.6.3-7build1_amd64.deb
sudo apt-get install ./libqtassistantclient4_4.6.3-7build1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-qt4/python-qt4_4.12.1+dfsg-2_amd64.deb
sudo apt-get install ./python-qt4_4.12.1+dfsg-2_amd64.deb
wget -c https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wine-launcher-creator/wine-launcher-creator_1.0.8-1_all.deb
sudo apt-get install ./wine-launcher-creator_1.0.8-1_all.deb
然后享受WINE Launcher Creator应用程序。