在 Ubuntu 14.04 服务器上
sudo apt-get update
sudo add-apt-repository ppa:ubuntu-wine/ppa
找不到命令:添加 apt 存储库
我必须跑
sudo apt-get install software-properties-common python-software-properties
重新输入,现在一切正常:
sudo add-apt-repository ppa:ubuntu-wine/ppa
在我输入之后:
sudo apt-get install -y wine1.7 winetricks
但我有这个:
The following packages have unmet dependencies:
wine1.7 : Depends: wine1.7-i386 (= 1:1.7.34-0ubuntu1~ppa1) but it is not installable
Recommends: cups-bsd but it is not going to be installed
Recommends: gnome-exe-thumbnailer but it is not going to be installed or
kde-runtime but it is not going to be installed
Recommends: fonts-droid but it is not going to be installed
Recommends: fonts-liberation but it is not going to be installed
Recommends: ttf-mscorefonts-installer but it is not going to be installed
Recommends: fonts-horai-umefont but it is not going to be installed
Recommends: fonts-unfonts-core but it is not going to be installed
Recommends: ttf-wqy-microhei
E: Unable to correct problems, you have held broken packages
apt-get updade 或类似程序不起作用,返回相同的错误。如何安装或手动编译缺失的包?
答案1
您需要为多架构软件包启用 x86 架构:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine1.7