Как создать псевдоним для неразрешенных зависимостей apt?
Некоторое время назад я установил, wormsarmageddon.deb
что зависит от пакета с именем wine
. Поскольку без пакета распределения или PPA я мог бы найти предоставил пакет с именем wine
- но только wine-stable
, wine-staging
, и wine-devel
т.д. - я в конечном итоге установка wormsarmageddon
с sudo dpkg --ignore-depends wine -i wormsarmageddon.deb
и все работало хорошо.
Теперь, каждый раз, когда я пытаюсь установить что-либо с apt-get
или aptitude
это не получается из-за этого. Смотрите пример ниже:
fiatjaf@menger ~ [1]> sudo aptitude install openjdk-9-jdk The following NEW packages will be installed: ca-certificates-java dbus-x11 java-common libatk-wrapper-java libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgnome-2-0 libgnome2-common libgnomevfs2-0 libgnomevfs2-common liborbit-2-0 openjdk-9-jdk openjdk-9-jdk-headless openjdk-9-jre openjdk-9-jre-headless 0 packages upgraded, 16 newly installed, 0 to remove and 183 not upgraded. Need to get 118 MB of archives. After unpacking 279 MB will be used. The following packages have unmet dependencies: wormsarmageddon : Depends: wine (>= 1.2.1) which is a virtual package, provided by: - winehq-staging (2.9.0~zesty), but it is not going to be installed - winehq-staging (2.8.0~zesty), but it is not going to be installed - winehq-staging (2.7.0~zesty), but it is not going to be installed - winehq-staging (2.6.0~zesty), but it is not going to be installed - winehq-staging (2.5.0~zesty), but it is not going to be installed - winehq-staging (2.4.0-3~zesty), but it is not going to be installed - winehq-staging (2.18.0~zesty), but it is not going to be installed - winehq-staging (2.17.0~zesty), but it is not going to be installed - winehq-staging (2.16.0~zesty), but it is not going to be installed - winehq-staging (2.15.0~zesty), but it is not going to be installed - winehq-staging (2.14.0~zesty), but it is not going to be installed - winehq-staging (2.13.0~zesty), but it is not going to be installed - winehq-staging (2.12.0~zesty), but it is not going to be installed - winehq-staging (2.11.0~zesty), but it is not going to be installed - winehq-staging (2.10.0~zesty), but it is not going to be installed - winehq-stable (2.0.2~zesty), but 2.0.2~zesty is installed - winehq-stable (2.0.1~zesty), but 2.0.2~zesty is installed - winehq-stable (2.0.0~zesty), but 2.0.2~zesty is installed - winehq-devel (2.9.0~zesty), but it is not going to be installed - winehq-devel (2.8.0~zesty), but it is not going to be installed - winehq-devel (2.7.0~zesty), but it is not going to be installed - winehq-devel (2.6.0~zesty), but it is not going to be installed - winehq-devel (2.5.0~zesty), but it is not going to be installed - winehq-devel (2.4.0-3~zesty), but it is not going to be installed - winehq-devel (2.18.0~zesty), but it is not going to be installed - winehq-devel (2.17.0~zesty), but it is not going to be installed - winehq-devel (2.16.0~zesty), but it is not going to be installed - winehq-devel (2.15.0~zesty), but it is not going to be installed - winehq-devel (2.14.0~zesty), but it is not going to be installed - winehq-devel (2.13.0~zesty), but it is not going to be installed - winehq-devel (2.12.0~zesty), but it is not going to be installed - winehq-devel (2.11.0~zesty), but it is not going to be installed - winehq-devel (2.10.0~zesty), but it is not going to be installed - wine-stable (1.8.7-1ubuntu1), but 2.0.2~zesty is installed - wine-development (2.0-3ubuntu1), but it is not going to be installed The following actions will resolve these dependencies: Remove the following packages: 1) wormsarmageddon [3.7.2.1-0 (now, testing)] Accept this solution? [Y/n/q/?]
Что меня беспокоит, так это то, что wine
он распознается как «виртуальный пакет» для всех остальных «вин», некоторые из них действительно установлены.
Итак, как мне решить эту ситуацию?
ОБНОВЛЕНИЕ :
Итак, следуя предложениям от комментариев, я попытался переустановить Wine. apt
жаловался на многие вещи, но, похоже, действительно, Wine не был установлен должным образом (обратите внимание, что теперь вывод должен быть «установлен», а не «установлен» ранее - я не знаю почему).
fiatjaf@menger ~> sudo apt-get install --reinstall wine-stable [sudo] password for fiatjaf: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: openjdk-9-jre-headless : Depends: ca-certificates-java but it is not going to be installed Depends: java-common (>= 0.28) but it is not going to be installed wine-stable : Depends: wine-stable-amd64 (= 2.0.3~zesty) but 2.0.2~zesty is to be installed Depends: wine-stable-i386 (= 2.0.3~zesty) winehq-stable : Depends: wine-stable (= 2.0.2~zesty) wormsarmageddon : Depends: wine (>= 1.2.1) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Запуск apt --fix-broken install
все еще удален wormsarmaggedon
, но потом я смог запустить apt-get install --reinstall wine-stable
, что в итоге ничего не исправило:
fiatjaf@menger ~ [130]> sudo apt-get install wormsarmageddon 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: wormsarmageddon : Depends: wine (>= 1.2.1) E: Unable to correct problems, you have held broken packages. fiatjaf@menger ~ [100]> sudo aptitude install wormsarmageddon The following NEW packages will be installed: wormsarmageddon 0 packages upgraded, 1 newly installed, 0 to remove and 203 not upgraded. Need to get 111 MB of archives. After unpacking 164 MB will be used. The following packages have unmet dependencies: wormsarmageddon : Depends: wine (>= 1.2.1) which is a virtual package, provided by: - winehq-staging (2.9.0~zesty), but it is not going to be installed - winehq-staging (2.8.0~zesty), but it is not going to be installed - winehq-staging (2.7.0~zesty), but it is not going to be installed - winehq-staging (2.6.0~zesty), but it is not going to be installed - winehq-staging (2.5.0~zesty), but it is not going to be installed - winehq-staging (2.4.0-3~zesty), but it is not going to be installed - winehq-staging (2.19.0~zesty), but it is not going to be installed - winehq-staging (2.18.0~zesty), but it is not going to be installed - winehq-staging (2.17.0~zesty), but it is not going to be installed - winehq-staging (2.16.0~zesty), but it is not going to be installed - winehq-staging (2.15.0~zesty), but it is not going to be installed - winehq-staging (2.14.0~zesty), but it is not going to be installed - winehq-staging (2.13.0~zesty), but it is not going to be installed - winehq-staging (2.12.0~zesty), but it is not going to be installed - winehq-staging (2.11.0~zesty), but it is not going to be installed - winehq-staging (2.10.0~zesty), but it is not going to be installed - winehq-stable (2.0.3~zesty), but 2.0.3~zesty is installed - winehq-stable (2.0.2~zesty), but 2.0.3~zesty is installed - winehq-stable (2.0.1~zesty), but 2.0.3~zesty is installed - winehq-stable (2.0.0~zesty), but 2.0.3~zesty is installed - winehq-devel (2.9.0~zesty), but it is not going to be installed - winehq-devel (2.8.0~zesty), but it is not going to be installed - winehq-devel (2.7.0~zesty), but it is not going to be installed - winehq-devel (2.6.0~zesty), but it is not going to be installed - winehq-devel (2.5.0~zesty), but it is not going to be installed - winehq-devel (2.4.0-3~zesty), but it is not going to be installed - winehq-devel (2.19.0~zesty), but it is not going to be installed - winehq-devel (2.18.0~zesty), but it is not going to be installed - winehq-devel (2.17.0~zesty), but it is not going to be installed - winehq-devel (2.16.0~zesty), but it is not going to be installed - winehq-devel (2.15.0~zesty), but it is not going to be installed - winehq-devel (2.14.0~zesty), but it is not going to be installed - winehq-devel (2.13.0~zesty), but it is not going to be installed - winehq-devel (2.12.0~zesty), but it is not going to be installed - winehq-devel (2.11.0~zesty), but it is not going to be installed - winehq-devel (2.10.0~zesty), but it is not going to be installed - wine-stable (1.8.7-1ubuntu1), but 2.0.3~zesty is installed - wine-development (2.0-3ubuntu1), but it is not going to be installed The following actions will resolve these dependencies: Keep the following packages at their current version: 1) wormsarmageddon [Not Installed] Accept this solution? [Y/n/q/?] fiatjaf@menger ~ [130]> apt-cache show winehq-stable Package: winehq-stable Source: wine-stable Version: 2.0.3~zesty Architecture: amd64 Maintainer: WineHQ Builds <builds@wine-staging.com> Installed-Size: 72 Depends: wine-stable (= 2.0.3~zesty) Conflicts: wine, wine-amd64, wine-i386 Replaces: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Provides: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Section: otherosfs Priority: optional Description: WINE Is Not An Emulator - runs MS Windows programs Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. . This compatibility package allows to use wine-stable system-wide as the default Wine version. Description-md5: 3c434a64434281e632d12fce500efde1 Original-Maintainer: Scott Ritchie <scottritchie@ubuntu.com> SHA256: 0ca3ecc91b6926ef78f1a6dbe0d96386e994a8b82996da9a0149f6e4edf2dccf SHA1: dc3156459a2067aaff73aed2e2fc17654a9fbb05 MD5sum: 3a0354e587fb2909a3a79f4f2621a6b8 Size: 3130 Filename: pool/main/winehq-stable_2.0.3~zesty_amd64.deb Package: winehq-stable Source: wine-stable Version: 2.0.2~zesty Architecture: amd64 Maintainer: WineHQ Builds <builds@wine-staging.com> Installed-Size: 72 Depends: wine-stable (= 2.0.2~zesty) Conflicts: wine, wine-amd64, wine-i386 Replaces: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Provides: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Section: otherosfs Priority: optional Description: WINE Is Not An Emulator - runs MS Windows programs Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. . This compatibility package allows to use wine-stable system-wide as the default Wine version. Description-md5: 3c434a64434281e632d12fce500efde1 Original-Maintainer: Scott Ritchie <scottritchie@ubuntu.com> SHA256: 743af1b4a7c44653b0956d9e591dece336a56dee7155c1226165a324ea3b4fd6 SHA1: 63c0fb5da967f3243313cb85274f8c8b90e7662a MD5sum: 0e97b1df770e490cc491c9b4ffc12232 Size: 3134 Filename: pool/main/winehq-stable_2.0.2~zesty_amd64.deb Package: winehq-stable Source: wine-stable Version: 2.0.1~zesty Architecture: amd64 Maintainer: WineHQ Builds <builds@wine-staging.com> Installed-Size: 72 Depends: wine-stable (= 2.0.1~zesty) Conflicts: wine, wine-amd64, wine-i386 Replaces: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Provides: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Section: otherosfs Priority: optional Description: WINE Is Not An Emulator - runs MS Windows programs Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. . This compatibility package allows to use wine-stable system-wide as the default Wine version. Description-md5: 3c434a64434281e632d12fce500efde1 Original-Maintainer: Scott Ritchie <scottritchie@ubuntu.com> SHA256: 9abb20a44473549e5ab098653baec4d8fabbc6b6237d8db9bf4b0616112f8db5 SHA1: 3465d8f11f5aefe7f6c02d391a580f189d6a5856 MD5sum: 0e1a22bb84112fa435c5f5dead3d7738 Size: 3134 Filename: pool/main/winehq-stable_2.0.1~zesty_amd64.deb Package: winehq-stable Source: wine-stable Version: 2.0.0~zesty Architecture: amd64 Maintainer: Michael Müller <michael@fds-team.de> Installed-Size: 72 Depends: wine-stable (= 2.0.0~zesty) Conflicts: wine, wine-amd64, wine-i386 Replaces: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Provides: wine, wine-amd64, wine-i386, wine1.4, wine1.4-amd64, wine1.4-i386, wine1.5, wine1.5-amd64, wine1.5-i386, wine1.6, wine1.6-amd64, wine1.6-i386, wine1.7, wine1.7-amd64, wine1.7-i386, wine32, wine64 Section: otherosfs Priority: optional Description: WINE Is Not An Emulator - runs MS Windows programs Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. . This compatibility package allows to use wine-stable system-wide as the default Wine version. Description-md5: 3c434a64434281e632d12fce500efde1 Original-Maintainer: Scott Ritchie <scottritchie@ubuntu.com> SHA256: 7bfd03bb3edb938c94f540002fc5555487fb0ae754bf7badfb257d31b0baf327 SHA1: 54c1dd180af278139f01c02d1fd9fbb1ce49373a MD5sum: 610ba09ee83f5a6727f1eb53d47f8d30 Size: 3132 Filename: pool/main/winehq-stable_2.0.0~zesty_amd64.deb
0 ответов на вопрос
Похожие вопросы
-
4
Требуется хороший бесплатный образ Ubuntu Server VMWare
-
8
Ожидание ноутбука в Linux / Ubuntu
-
1
Как я могу получить доступ к принтеру Windows Vista из Ubuntu по сети?
-
-
3
Могу ли я запустить Microsoft Office 2007 под Ubuntu?
-
6
Virtualbox, VMware, KVM или другое для виртуализации Ubuntu?
-
4
Функция Windows 7 «Aero Snap» в Ubuntu GNOME
-
5
ПО для управления iPod для Linux
-
1
Возвращаясь из Dual-boot к просто Windows
-
2
Firefox печать в PDF-файл
-
5
Как получить максимальное разрешение на Ubuntu в Microsoft Virtual PC?