无法安装 Wine,持有软件包

无法安装 Wine,持有软件包

我收到此错误:

The following packages have unmet dependencies:
 udev : Depends: libudev1 (= 204-5ubuntu20.2) but 204-5ubuntu20.4 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I've tried to apt-get dist-upgrade and I got the same message: 
The following packages have been kept back:
  libudev1 udev
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

我正在使用 ubuntu 64 位 14.04 谢谢大家!

答案1

第一个命令正确执行

其他人没有: sudo add-apt-repository ppa:ubuntu-wine/ppa sudo:add-apt-repository:未找到命令

sudo apt-get update sudo apt-get install wine1.7 winetricks E: update 命令不需要参数

答案2

尝试在终端中运行以下命令

sudo apt-get update && sudo apt-get upgrade 
sudo add-apt-repository ppa:ubuntu-wine/ppa 
sudo apt-get update && sudo apt-get install wine1.7 winetricks

相关内容