Невозможно установить winehq E: Не удалось исправить проблемы, у вас были поврежденные пакеты [closed]

Полные команды

root@kali-Linux:/home/ravael/Desktop/Tools/msfvenom_custom_encoding# sudo apt-get install --install-recommends wine-stable
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-stable : Depends: wine-stable-i386 (= 5.0.0~stretch)
E: Unable to correct problems, you have held broken packages.

Я пробовал

root@kali-Linux:/home/ravael/Desktop/Tools/msfvenom_custom_encoding# apt-get install wine-stable-i386

Что ведет к

    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-stable-i386:i386 : Depends: libasound2:i386 (>= 1.0.16) but it is not installable
                         Depends: libc6:i386 (>= 2.23) but it is not installable
                         Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not installable
                         Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not installable
                         Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not installable
                         Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not installable
                         Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not installable
                         Depends: liblcms2-2:i386 (>= 2.2+git20110628) but it is not installable
                         Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not installable
                         Depends: libmpg123-0:i386 (>= 1.13.7) but it is not installable
                         Depends: libopenal1:i386 (>= 1.14) but it is not installable
                         Depends: libpcap0.8:i386 (>= 0.9.8) but it is not installable
                         Depends: libpulse0:i386 (>= 0.99.1) but it is not installable
                         Depends: libudev1:i386 (>= 183) but it is not installable
                         Depends: libx11-6:i386 but it is not installable
                         Depends: libxext6:i386 but it is not installable
                         Depends: libxml2:i386 (>= 2.9.0) but it is not installable
                         Depends: ocl-icd-libopencl1:i386 but it is not installable or
                                  libopencl1:i386 but it is not installable
                         Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
                                  libopencl-1.1-1:i386 but it is not installable
                         Depends: zlib1g:i386 (>= 1:1.1.4) but it is not installable
                         Depends: libasound2-plugins:i386 but it is not installable
                         Depends: libncurses6:i386 but it is not installable or
                                  libncurses5:i386 but it is not installable or
                                  libncurses:i386 but it is not installable
                         Recommends: libcapi20-3:i386 but it is not installable
                         Recommends: libcups2:i386 but it is not installable
                         Recommends: libdbus-1-3:i386 but it is not installable
                         Recommends: libfontconfig1:i386 but it is not installable
                         Recommends: libfreetype6:i386 but it is not installable
                         Recommends: libglu1-mesa:i386 but it is not installable or
                                     libglu1:i386 but it is not installable
                         Recommends: libgnutls30:i386 but it is not installable or
                                     libgnutls28:i386 but it is not installable or
                                     libgnutls26:i386 but it is not installable
                         Recommends: libgsm1:i386 but it is not installable
                         Recommends: libgssapi-krb5-2:i386 but it is not installable
                         Recommends: libjpeg62-turbo:i386 but it is not installable or
                                     libjpeg8:i386 but it is not installable
                         Recommends: libkrb5-3:i386 but it is not installable
                         Recommends: libodbc1:i386 but it is not installable
                         Recommends: libosmesa6:i386 but it is not installable
                         Recommends: libpng16-16:i386 but it is not installable or
                                     libpng12-0:i386 but it is not installable
                         Recommends: libsane:i386 but it is not installable or
                                     libsane1:i386 but it is not installable
                         Recommends: libsdl2-2.0-0:i386 but it is not installable
                         Recommends: libtiff5:i386 but it is not installable
                         Recommends: libv4l-0:i386 but it is not installable
                         Recommends: libxcomposite1:i386 but it is not installable
                         Recommends: libxcursor1:i386 but it is not installable
                         Recommends: libxfixes3:i386 but it is not installable
                         Recommends: libxi6:i386 but it is not installable
                         Recommends: libxinerama1:i386 but it is not installable
                         Recommends: libxrandr2:i386 but it is not installable
                         Recommends: libxrender1:i386 but it is not installable
                         Recommends: libxslt1.1:i386 but it is not installable
                         Recommends: libxxf86vm1:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

Начало этой проблемы:

    root@kali-Linux:/home/ravael/Desktop/Tools/msfvenom_custom_encoding# apt-get install wine-bin:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package wine-bin:i386
-1
задан 18 April 2020 в 22:55

1 ответ

Вот метод Ubuntu 18.04 установки Вина 5. Это должно работать с kali-Linux. В противном случае Вам, возможно, придется заменить некоторые команды, если kali-Linux использует различные команды. Это появляется на этом веб-сайте.

Я детализирую шаги:

Включите поддержку на 32 бита:

sudo dpkg --add-architecture i386

Добавьте репозитории для Вина: Загрузите ключ GPG официального Винного хранилища пакетов:

wget -nc https://dl.winehq.org/wine-builds/winehq.key

Добавьте Вино ключ GPG:

sudo apt-key add winehq.key

Добавьте официальное Винное хранилище пакетов:

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

Загрузите ключ репозитория Вина OpenSUSE GPG:

wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key

Добавьте ключ GPG:

sudo apt-key add Release.key

Добавьте Винный репозиторий OpenSUSE:

echo "deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./" | sudo tee /etc/apt/sources.list.d/wine-obs.list

Обновите кэш хранилища пакетов APT:

sudo apt update

Вы готовы установить Вино 5:

sudo apt install --install-recommends winehq-stable

Нажмите Y и затем нажмите Enter

После того как Вино 5 установлено, можно настроить его.

winecfg
0
ответ дан 25 April 2020 в 10:45

Другие вопросы по тегам:

Похожие вопросы: