Не удается установить wine i386 после обновления с Ubuntu 18. 04 до 20.04

Я перепробовал все руководства и не могу установить wine i386 после обновления моей системы с Ubuntu 18.04 до 20.04.

Следуя документации WineHQ, я попадаю в ад зависимостей (требующий libfaudio0:i386 среди прочего, который также невозможно установить), а установка wine из официальных репозиториев Ubuntu заканчивается ошибками типа "как root, выполните "apt-get install wine32-development"".

Есть ли другой способ установить его, если вы обновились с 18.04 в отличие от чистой установки 20.04?

EDIT: Когда я запускаю любую команду wine, я получаю следующее: as root, please execute "apt-get install wine32-development"

Когда я пытаюсь установить msi файл с помощью wine msiexec /i /path/to/file я получаю следующее: 003e:err:module:__wine_process_init L "C:\\windows\\\syswow64\\\msiexec.exe" не поддерживается в этой системе

EDIT 2:

$ apt-cache policy $(dpkg -l | grep wine | grep ^ii | awk '{print $2}')
carla-bridge-wine32:
  Installed: 5:2.3.1+git20210723
  Candidate: 5:2.3.1+git20210723
  Version table:
 *** 5:2.3.1+git20210723 100
        100 /var/lib/dpkg/status
carla-bridge-wine64:
  Installed: 5:2.3.1+git20210723
  Candidate: 5:2.3.1+git20210723
  Version table:
 *** 5:2.3.1+git20210723 100
        100 /var/lib/dpkg/status
     2.1-0ubuntu1 500
        500 http://za.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
libkwineffects12:
  Installed: 4:5.18.5-0ubuntu0.1
  Candidate: 4:5.18.5-0ubuntu0.1
  Version table:
 *** 4:5.18.5-0ubuntu0.1 500
        500 http://za.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     4:5.18.4.1-0ubuntu2 500
        500 http://za.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
    

$ sudo apt install --install-recommends winehq-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:
 winehq-stable : Depends: wine-stable (= 6.0.1~focal-1)
E: Unable to correct problems, you have held broken packages.

$ sudo apt 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 (= 6.0.1~focal-1)
E: Unable to correct problems, you have held broken packages.

$ sudo apt install --install-recommends 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: libfaudio0:i386 (>= 19.06.07) but it is not going to be installed
                         Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
                         Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
                         Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not going to be installed
                         Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not going to be installed
                         Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
                         Recommends: libsane:i386 but it is not going to be installed or
                                     libsane1:i386
                         Recommends: libxslt1.1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

EDIT 3:

$ cat /etc/apt/sources.list | grep wine
deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main

EDIT 4:

$ sudo aptitude search ~o
i A aspnetcore-runtime-2.2                                                                            - Microsoft ASP.NET Core 2.2.8 Shared Framework                                                               
i   carla-bridge-wine32                                                                               - Dummy package                                                                                               
i   carla-git                                                                                         - audio plugin host                                                                                           
i   carla-git-data                                                                                    - audio plugin host (common data)                                                                             
i A containerd.io                                                                                     - An open and reliable container runtime                                                                      
i   discord                                                                                           - Chat for Communities and Friends                                                                            
i   docker-ce                                                                                         - Docker: the open-source application container engine                                                        
i A docker-ce-cli                                                                                     - Docker CLI: the open-source application container engine                                                    
i A docker-ce-rootless-extras                                                                         - Rootless support for Docker.                                                                                
i A docker-scan-plugin                                                                                - Docker scan cli plugin.                                                                                     
i A dotnet-host                                                                                       - Microsoft .NET Host - 5.0.8                                                                                 
i A dotnet-hostfxr-2.2                                                                                - Microsoft .NET Core Host FX Resolver - 2.2.8 2.2.8                                                          
i A dotnet-runtime-2.2                                                                                - Microsoft .NET Core Runtime - 2.2.8 Microsoft.NETCore.App 2.2.8                                             
i A dotnet-runtime-deps-2.2                                                                           - dotnet-runtime-deps-2.2 2.2.8                                                                               
i   dotnet-sdk-2.2                                                                                    - Microsoft .NET Core SDK 2.2.402                                                                             
i   dropbox                                                                                           - cloud synchronization engine - CLI and Nautilus extension                                                   
i   insomnia                                                                                          - The Collaborative API Client and Design Tool                                                                
i   kxstudio-default-settings                                                                         - KXStudio default settings and config                                                                        
i A kxstudio-menu                                                                                     - KXStudio Menu                                                                                               
i   kxstudio-repos                                                                                    - KXStudio repositories                                                                                       
i A libavcodec57                                                                                      - FFmpeg library with de/encoders for audio/video codecs - runtime files                                      
i   libavresample3                                                                                    - FFmpeg compatibility library for resampling - runtime files                                                 
i   libavutil55                                                                                       - FFmpeg library with functions for simplifying programming - runtime files                                   
i   libffi6                                                                                           - Foreign Function Interface library runtime                                                                  
i   libgig8                                                                                           - library for accessing Gigasampler, DLS, SoundFont, KORG, AKAI files                                         
i   libicu60                                                                                          - International Components for Unicode                                                                        
i A libicu65                                                                                          - International Components for Unicode                                                                        
i   liblinuxsampler                                                                                   - realtime audio sampler (base library)                                                                       
i   libmysofa0                                                                                        - library to read HRTFs stored in the AES69-2015 SOFA format                                                  
i A libonig4                                                                                          - regular expressions library                                                                                 
i   libpng12-0                                                                                        - PNG library - runtime                                                                                       
i   libpostproc54                                                                                     - FFmpeg library for post processing - runtime files                                                          
i   libpython3.6                                                                                      - Shared Python runtime library (version 3.6)                                                                 
i   libpython3.6-minimal                                                                              - Minimal subset of the Python language (version 3.6)                                                         
i   libpython3.6-stdlib                                                                               - Interactive high-level object-oriented language (standard library, version 3.6)                             
i   libreadline7                                                                                      - GNU readline and history libraries, run-time libraries                                                      
i   libsndio6.1                                                                                       - Small audio and MIDI framework from OpenBSD, runtime libraries                                              
i   libswresample2                                                                                    - FFmpeg library for audio resampling, rematrixing etc. - runtime files                                       
i   libswscale4                                                                                       - FFmpeg library for image scaling and various conversions - runtime files                                    
i   libvpx5                                                                                           - VP8 and VP9 video codec (shared library)                                                                    
i   libx264-152                                                                                       - x264 video coding library                                                                                   
i   libx265-146                                                                                       - H.265/HEVC video stream encoder (shared library)                                                            
i   libzip4                                                                                           - library for reading, creating, and modifying zip archives (runtime)                                         
i   minecraft-launcher                                                                                - Official Minecraft Launcher                                                                                 
i A mono-llvm-support                                                                                 - Mono runtime - SGen                                                                                         
i A mono-llvm-tools                                                                                   - opt and llc for Mono llvm mode                                                                              
i A mono-roslyn                                                                                       - Microsoft C# compiler                                                                                       
i A msbuild                                                                                           - build platform for .NET and Visual Studio                                                                   
i A msbuild-libhostfxr                                                                                - Helper library for MSbuild .NET Core support                                                                
i A msbuild-sdkresolver                                                                               - build platform for .NET and Visual Studio                                                                   
i   packages-microsoft-prod                                                                           - Apt configuration for packages.microsoft.com                                                                
i A pgdg-keyring                                                                                      - keyring for apt.postgresql.org                                                                              
i A php8.0-common                                                                                     - documentation, examples and common module for PHP                                                           
i   php8.0-curl                                                                                       - CURL module for PHP                                                                                         
i   php8.0-mbstring                                                                                   - MBSTRING module for PHP                                                                                     
i   php8.0-zip                                                                                        - Zip module for PHP                                                                                          
i A postgresql-client-10                                                                              - front-end programs for PostgreSQL 10                                                                        
i A postgresql-client-11                                                                              - front-end programs for PostgreSQL 11                                                                        
i A postgresql-client-13                                                                              - front-end programs for PostgreSQL 13                                                                        
i   python-psycopg2                                                                                   - Python module for PostgreSQL                                                                                
i A referenceassemblies-pcl                                                                           - Portable Library Reference Assemblies for .NET                                                              
i   sitala                                                                                            - Drum sampler                                                                                                
i A steam-launcher                                                                                    - Launcher for the Steam software distribution service                                                        
i   systray-x                                                                                         - SysTray-X is a system tray extension for Thunderbird 68+ (KDE).                                             
i   teams                                                                                             - Microsoft Teams for Linux is your chat-centered workspace in Office 365.                                    
i   teamviewer                                                                                        - Remote control and meeting solution.                                                                        
i   yarn                                                                                              - Fast, reliable, and secure dependency management.                                                           

$ sudo apt-cache policy wine-stable-i386
wine-stable-i386:i386:
  Installed: (none)
  Candidate: 6.0.1~focal-1
  Version table:
     6.0.1~focal-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
     6.0.1~bionic-1 -1
        100 /var/lib/dpkg/status
     6.0.0~focal-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
     5.0.4~focal-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
     5.0.3~focal 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
     5.0.2~focal 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
     5.0.1~focal 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
     4.0.4~focal 500
        500 https://dl.winehq.org/wine-builds/ubuntu focal/main i386 Packages
1
задан 30 August 2021 в 09:48

1 ответ

Что-то не так с вашими репозиториями или локальными списками пакетов. Библиотека faudio доступна в официальных репозиториях Ubuntu начиная с версии 20.04 LTS из universe pocket.

Для установки перечисленных пакетов вам необходимо добавить архитектуру i386 в систему по

sudo dpkg --add-architecture i386

и добавить universe pocket по

sudo apt-add-repository universe

затем обновить списки пакетов по

sudo apt-get update

и установить wine как вы планировали по

sudo apt install --install-recommends wine-stable-i386

Если вышеуказанная команда не работает, то установите Aptitude и попробуйте установить Wine с ним

sudo apt-get install aptitude
sudo aptitude install wine-stable-i386

Также я предполагаю, что ваши версии carla-bridge-wine взяты из какого-то стороннего репозитория, поэтому вы должны понизить их

sudo apt-get install carla-bridge-wine32=2.1-0ubuntu1 carla-bridge-wine64=2.1-0ubuntu1

Если все вышеперечисленное не сработало - переключитесь на главное зеркало программного обеспечения Ubuntu и выполните все вышеперечисленные команды снова.

0
ответ дан 4 September 2021 в 09:27

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

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