Я следовал этому сообщению: не Может установить Вино Ubuntu 18.04
но решение установки wine-staging
не работал на меня.
Вот вывод моей попытки:
sudo apt install wine-staging`
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:
wine-staging : Depends: wine-staging-amd64 (= 4.0~rc5~cosmic) but it is not going to be installed
Depends: wine-staging-i386 (= 4.0~rc5~cosmic)
E: Unable to correct problems, you have held broken packages.
Попробованный для установки wine-staging-amd64, но затем получите другие проблемы зависимостей:
sudo apt-get install wine-staging-amd64
[sudo] password for gerard:
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:
wine-staging-amd64 : Depends: libavcodec58 (>= 7:4.0) but it is not installable
Depends: libavutil56 (>= 7:4.0) but it is not installable
Depends: libvkd3d1 but it is not installable
Recommends: libcapi20-3 but it is not going to be installed
Recommends: libodbc1 but it is not going to be installed
Recommends: libosmesa6 but it is not going to be installed
Recommends: libsdl2-2.0-0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Править: Я удалил все внешние источники на программном обеспечении Ubuntu GUI в разделе "Other software", выполнил обновление, перезагрузку и следовал инструкциям Elvir. Это работало, Спасибо!
$ sudo dpkg - добавлять-архитектура i386
$ wget-qO-https://dl.winehq.org/wine-builds/Release.key | sudo способный ключ добавляют -
$ sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ ловкое основное'
Это - новая и стабильная версия доступного Вина. Используйте следующую команду для установки этой версии:
склонные sudo - получают установку - установка - рекомендует winehq-стабильный
Введите Y при запросе с выбором y/n для установки. После этого стабильная версия Вина будет установлена в Вашей системе.
Попробуйте это:
apt update
apt dist-upgrade
apt install wine-staging