Не удается установить WineHQ на Ubuntu: не поддерживает архитектуру «1386»

я использую 64-битную Ubuntu и пытаюсь установить WineHQ, следуя инструкциям на https://wiki.winehq.org/Ubuntu . Сначала я попробовал это на Ubuntu 18.04.6 LTS, а затем снова после обновления до Ubuntu 20.04.3 LTS. Результаты одинаковы независимо.

Первый шаг — убедиться, что 32-битная архитектура включена, и похоже, что это так. Следующим шагом является загрузка и добавление ключа репозитория. Все идет нормально.

tb@tb-Legion-Y540-17IRH:~$ dpkg --print-architecture
amd64
tb@tb-Legion-Y540-17IRH:~$ dpkg --print-foreign-architectures
i386
tb@tb-Legion-Y540-17IRH:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
File ‘winehq.key’ already there; not retrieving.

tb@tb-Legion-Y540-17IRH:~$ sudo apt-key add winehq.key
[sudo] password for tb: 
OK

Здесь я столкнулся с проблемой. Поскольку я сейчас на Ubuntu 20.04.3 LTS, я добавляю репозиторий с помощью:

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

... и получаю следующий вывод:

Hit:1 http://se.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease                        
Hit:3 http://se.archive.ubuntu.com/ubuntu focal-updates InRelease                
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]        
Hit:5 http://se.archive.ubuntu.com/ubuntu focal-backports InRelease              
Hit:6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease                 
Hit:7 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Fetched 114 kB in 1s (111 kB/s)                          
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'partner/binary-1386/Packages' as repository 'http://archive.canonical.com/ubuntu focal InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-updates InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://se.archive.ubuntu.com/ubuntu focal-backports InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu focal InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'restricted/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'universe/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'multiverse/binary-1386/Packages' as repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' doesn't support architecture '1386'

«не поддерживает архитектуру «1386»», по-видимому, подразумевает, что ошибка имеет какое-то отношение к 32-битной и 64-битной архитектуре, но я уже предпринял шаги, чтобы убедиться, что она настроена правильно, поэтому я не понимаю, что происходит не так. Что я упустил и как это исправить?

Я погуглил ошибку, но не нашел ничего достаточно простого для понимания.

С уважением, непрограммист, которому для работы нужно одно приложение Windows

0
задан 15 November 2021 в 11:22

0 ответов

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

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