Меню

Ошибка wine linux mint

Как правильно задавать вопросы

Правильно сформулированный вопрос и его грамотное оформление способствует высокой вероятности получения достаточно содержательного и по существу ответа. Общая рекомендация по составлению тем: 1. Для начала воспользуйтесь поиском форума. 2. Укажите версию ОС вместе с разрядностью. Пример: LM 19.3 x64, LM Sarah x32 3. DE. Если вопрос касается двух, то через запятую. (xfce, KDE, cinnamon, mate) 4. Какое железо. (достаточно вывод inxi -Fxz в спойлере (как пользоваться спойлером смотрим здесь)) или же дать ссылку на hw-probe 5. Суть. Желательно с выводом консоли, логами. 6. Скрин. Просьба указывать 2, 3 и 4 независимо от того, имеет ли это отношение к вопросу или нет. Так же не забываем об общих правилах Как пример вот

no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

19 янв 2023, 11:01

Ни один совет из сети не помог. Исход один: «У вас зафиксированы сломанные пакеты», что бы ни вводил, ни делал согласно общим рекомендациям. На форуме присутствует отдельная инструкция по работе с различными версиями системы. Она тоже не способна решить вопрос с моим случаем. Из магазина пакет (шестой версии) вроде проскакивает, но не отображается в меню, не выполняет свои основные функции. Требует установить wine32, который отчитывается так же. Как быть?

Код: Выделить всё


sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
--2023-01-19 10:12:08--  https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.86.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.86.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3220 (3,1K) [application/pgp-keys]
Saving to: ‘/etc/apt/keyrings/winehq-archive.key’

/etc/apt/keyrings/w 100%[===================>]   3,14K  --.-KB/s    in 0,003s  

2023-01-19 10:12:10 (967 KB/s) - ‘/etc/apt/keyrings/winehq-archive.key’ saved [3220/3220]



sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
--2023-01-19 10:12:22--  https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Resolving dl.winehq.org (dl.winehq.org)... 151.101.86.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.86.217|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
File ‘/etc/apt/sources.list.d/winehq-jammy.sources’ not modified on server. Omitting download.



apt policy winehq-stable
winehq-stable:
winehq-stable:
  Установлен: (отсутствует)
  Кандидат:   7.0.1~kinetic-1
  Таблица версий:
     7.0.1~kinetic-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu kinetic/main amd64 Packages
     7.0.1~jammy-1 500
        500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
winehq-stable:: command not found



apt install --install-recommends winehq-stable
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Некоторые пакеты не могут быть установлены. Возможно, то, что вы просите,
неосуществимо, или же вы используете нестабильную версию дистрибутива, где
запрошенные вами пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, вам поможет:

Следующие пакеты имеют неудовлетворённые зависимости:
 winehq-stable : Зависит: wine-stable (= 7.0.1~kinetic-1)
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.

Всем спасибо за потраченное на меня время.

P.S. Верните обновления дистрибутива обратно в центр обновлений. В процессе обновления через mintupdate на ноутбуке зависла оболочка OS, а также общая производительность резко упала. Пришлось все начинать с нуля, так как даже в таком случае отсутствует адекватный вариант сохранения прежних данных.


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#2

19 янв 2023, 11:25

lumolumo, ну так порой надо читать что пишется, а не бездумно копипастить команду за командой :)

lumolumo писал(а): ↑

19 янв 2023, 11:01


File ‘/etc/apt/sources.list.d/winehq-jammy.sources’ not modified on server. Omitting download.

то ли сервер тебе не отдал, то ли у тебя уже такой же лежит без изменений, хотя должен был бы всё равно его перекачать…
по пакетам сломанным в центре обновлений исправь ошибки и повтори…


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#3

19 янв 2023, 11:29

lumolumo писал(а): ↑

19 янв 2023, 11:01


Из магазина пакет (шестой версии) вроде проскакивает, но не отображается в меню, не выполняет свои основные функции.

ах вот оно что… опять по десять версий разных вайнов понаставили, а потом сломанные пакеты и прочие приколы…
удали тот что из магазина и ставь по инструкции из темы :)


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#4

19 янв 2023, 12:51

WWolf, так в том-то и дело. Через центр приложений удалил старый wine, та же ситуация. Хоть так или иначе ошибка летит. До этого даже новых репозиториев на wine не добавлял, терминал на те-же пакеты жалуется.

Последний раз редактировалось пользователем 2 lumolumo; всего редактировалось раз: 19


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#5

19 янв 2023, 12:54

WWolf, сейчас попробую по центру. Может в системе уже что-то из инсталлятора установилось? Как проверить на зависимости, модули или как там для wine свойственно?


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#6

19 янв 2023, 13:17

WWolf, все равно не получается установить wine


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#7

19 янв 2023, 13:20

lumolumo, показывай apt search wine


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#8

19 янв 2023, 14:04

WWolf, Пока ничего не понятно. Вроде что-то присутствует:

Код: Выделить всё

apt search wine
p   carla-bridge-wine32:i386        - carla win32 bridge (wine DLL)             
p   carla-bridge-wine64             - carla win64 bridge (wine DLL)             
v   dxvk-wine32-development         -                                           
p   dxvk-wine32-development:i386    - Vulkan-based translation layer for Direct3
p   dxvk-wine64-development         - Vulkan-based translation layer for Direct3
p   fonts-wine                      - реализация API Windows — шрифты           
v   fonts-wine:i386                 -                                           
p   gnome-wine-icon-theme           - Красный вариант темы значков GNOME-Colors 
p   libkwineffects13                - KDE window manager effects library        
v   librust-winapi+winefs-dev       -                                           
v   librust-winapi+winerror-dev     -                                           
v   librust-winapi+winevt-dev       -                                           
v   librust-winapi-0+winefs-dev     -                                           
v   librust-winapi-0+winerror-dev   -                                           
v   librust-winapi-0+winevt-dev     -                                           
v   librust-winapi-0.3+winefs-dev   -                                           
v   librust-winapi-0.3+winerror-dev -                                           
v   librust-winapi-0.3+winevt-dev   -                                           
v   librust-winapi-0.3.9+winefs-dev -                                           
v   librust-winapi-0.3.9+winerror-d -                                           
v   librust-winapi-0.3.9+winevt-dev -                                           
p   libwine                         - Windows API implementation - library      
p   libwine:i386                    - Windows API implementation - library      
p   libwine-dev                     - Windows API implementation - development f
p   libwine-dev:i386                - Windows API implementation - development f
v   libwine-dev:i386                -                                           
p   libwine-development             - Windows API implementation - library      
p   libwine-development:i386        - Windows API implementation - library      
p   libwine-development-dev         - Windows API implementation - development f
p   libwine-development-dev:i386    - Windows API implementation - development f
v   libwine-development-dev:i386    -                                           
p   q4wine                          - Qt GUI for WINE                           
p   shiki-wine-theme                - red variation of the Shiki-Colors theme   
p   twine                           - utility for interacting with PyPI         
p   wine                            - реализация API Windows — стандартный компл
v   wine:i386                       -                                           
v   wine-amd64                      -                                           
p   wine-binfmt                     - Register Wine as the interpreter for Windo
p   wine-desktop-files              - Microsoft Windows Compatibility Layer     
p   wine-devel                      - WINE Is Not An Emulator - runs MS Windows 
p   wine-devel:i386                 - WINE Is Not An Emulator - runs MS Windows 
p   wine-devel-amd64                - WINE Is Not An Emulator - runs MS Windows 
p   wine-devel-dbg                  - WINE Is Not An Emulator - runs MS Windows 
p   wine-devel-dbg:i386             - WINE Is Not An Emulator - runs MS Windows 
p   wine-devel-dev                  - WINE Is Not An Emulator - runs MS Windows 
p   wine-devel-dev:i386             - WINE Is Not An Emulator - runs MS Windows 
v   wine-devel-i386                 -                                           
p   wine-devel-i386:i386            - WINE Is Not An Emulator - runs MS Windows 
p   wine-development                - реализация API Windows — стандартный компл
v   wine-development:i386           -                                           
v   wine-i386                       -                                           
v   wine-i386:i386                  -                                           
p   wine-installer                  - Microsoft Windows Compatibility Layer     
p   wine-stable                     - WINE Is Not An Emulator - runs MS Windows 
p   wine-stable:i386                - WINE Is Not An Emulator - runs MS Windows 
p   wine-stable-amd64               - WINE Is Not An Emulator - runs MS Windows 
p   wine-stable-dbg                 - WINE Is Not An Emulator - runs MS Windows 
p   wine-stable-dbg:i386            - WINE Is Not An Emulator - runs MS Windows 
p   wine-stable-dev                 - WINE Is Not An Emulator - runs MS Windows 
p   wine-stable-dev:i386            - WINE Is Not An Emulator - runs MS Windows 
v   wine-stable-i386                -                                           
p   wine-stable-i386:i386           - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging                    - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging:i386               - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging-amd64              - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging-dbg                - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging-dbg:i386           - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging-dev                - WINE Is Not An Emulator - runs MS Windows 
p   wine-staging-dev:i386           - WINE Is Not An Emulator - runs MS Windows 
v   wine-staging-i386               -                                           
p   wine-staging-i386:i386          - WINE Is Not An Emulator - runs MS Windows 
v   wine1.4                         -                                           
v   wine1.4:i386                    -                                           
v   wine1.4-amd64                   -                                           
v   wine1.4-i386                    -                                           
v   wine1.4-i386:i386               -                                           
v   wine1.5                         -                                           
v   wine1.5:i386                    -                                           
v   wine1.5-amd64                   -                                           
v   wine1.5-i386                    -                                           
v   wine1.5-i386:i386               -                                           
v   wine1.6                         -                                           
v   wine1.6:i386                    -                                           
v   wine1.6-amd64                   -                                           
v   wine1.6-i386                    -                                           
v   wine1.6-i386:i386               -                                           
v   wine1.7                         -                                           
v   wine1.7:i386                    -                                           
v   wine1.7-amd64                   -                                           
v   wine1.7-i386                    -                                           
v   wine1.7-i386:i386               -                                           
v   wine32                          -                                           
p   wine32:i386                     - Windows API implementation - 32-bit binary
v   wine32-development              -                                           
p   wine32-development:i386         - Windows API implementation - 32-bit binary
p   wine32-development-preloader:i3 - Windows API implementation - prelinked 32-
v   wine32-development-tools        -                                           
p   wine32-development-tools:i386   - Windows API implementation - 32-bit develo
p   wine32-preloader:i386           - Windows API implementation - prelinked 32-
v   wine32-tools                    -                                           
p   wine32-tools:i386               - Windows API implementation - 32-bit develo
p   wine64                          - реализация API Windows — 64-битный двоичны
p   wine64-development              - реализация API Windows — 64-битный двоичны
p   wine64-development-preloader    - Windows API implementation - prelinked 64-
p   wine64-development-tools        - Windows API implementation - 64-bit develo
v   wine64-development-tools:i386   -                                           
p   wine64-preloader                - Windows API implementation - prelinked 64-
p   wine64-tools                    - Windows API implementation - 64-bit develo
v   wine64-tools:i386               -                                           
p   winehq-devel                    - WINE Is Not An Emulator - runs MS Windows 
p   winehq-devel:i386               - WINE Is Not An Emulator - runs MS Windows 
p   winehq-stable                   - WINE Is Not An Emulator - runs MS Windows 
p   winehq-stable:i386              - WINE Is Not An Emulator - runs MS Windows 
p   winehq-staging                  - WINE Is Not An Emulator - runs MS Windows 
p   winehq-staging:i386             - WINE Is Not An Emulator - runs MS Windows 
p   winetricks                      - simple tool to work around common problems


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#9

19 янв 2023, 14:28

lumolumo, хм…
ну тогда

Код: Выделить всё

apt autoremove 
apt autoclean
apt update
apt install --install-recommends winehq-stable 


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#10

19 янв 2023, 16:16

WWolf,

Может причина действительно прячется в репозиториях? Править или откатывать какие-то там встроенные библиотеки (как порой рекомендуют) не горю особым желанием.

Код: Выделить всё

apt update
Сущ:1 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Сущ:2 http://packages.microsoft.com/repos/code stable InRelease                
Сущ:3 https://dl.google.com/linux/chrome/deb stable InRelease                  
Сущ:4 https://ppa.launchpadcontent.net/cybermax-dexter/sdl2-backport/ubuntu jammy InRelease
Сущ:5 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                 
Сущ:6 https://dl.winehq.org/wine-builds/ubuntu kinetic InRelease               
Сущ:7 https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu jammy InRelease
Сущ:8 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease       
Игн:9 http://mirror.yandex.ru/linuxmint-packages vera InRelease                
Сущ:10 http://mirror.yandex.ru/ubuntu jammy InRelease
Пол:11 http://mirror.yandex.ru/ubuntu jammy-updates InRelease [114 kB]
Пол:12 http://mirror.yandex.ru/ubuntu jammy-backports InRelease [99,8 kB]
Сущ:13 http://mirror.yandex.ru/linuxmint-packages vera Release                 
Получено 214 kB за 38с (5 599 B/s)                                             
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Может быть обновлено 2 пакета. Запустите «apt list --upgradable» для их показа.

Код: Выделить всё

apt install --install-recommends winehq-stable 
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Некоторые пакеты не могут быть установлены. Возможно, то, что вы просите,
неосуществимо, или же вы используете нестабильную версию дистрибутива, где
запрошенные вами пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, вам поможет:

Следующие пакеты имеют неудовлетворённые зависимости:
 winehq-stable : Зависит: wine-stable (= 7.0.1~kinetic-1)
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.

Вот все устанавливается, кроме Wine. Чего ему не достается?


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#11

19 янв 2023, 16:18

kinetic удали, откуда он у тебя вообще вылез? :)


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#12

19 янв 2023, 16:32

WWolf, чего-то он не отображается в источниках приложений.


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#13

19 янв 2023, 16:41

lumolumo, иди в /etc/apt/sources.list.d/ и грохай winehq-kinetic.sources


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#14

19 янв 2023, 17:00

WWolf, Спасибо за помощь, но что-то еще препятствует (проблема не решилась). А ключи могут влиять на данный исход?


Аватара пользователя

rogoznik

Сообщения: 9424
Зарегистрирован: 27 июн 2017, 13:36
Решено: 118
Откуда: Нижний Тагил
Благодарил (а): 705 раз
Поблагодарили: 1813 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#15

19 янв 2023, 17:56

lumolumo писал(а): ↑

19 янв 2023, 17:00


но что-то еще препятствует (проблема не решилась)

Показывай
Еще покажи

Изображение

Изображение


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#16

19 янв 2023, 18:42

rogoznik,

1. Благодаря некоторым похожим решенным вопросам для Ubuntu, а также статьям в интернете получилось добиться следующего:
пакет wine-stable-amd64 УСТАНАВЛИВАЕТСЯ С УСПЕХОМ
пакет wine-stable-i386 ОТКАЗЫВАЕТ в установке. Лог:

Код: Выделить всё

apt install wine-stable-i386
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Некоторые пакеты не могут быть установлены. Возможно, то, что вы просите,
неосуществимо, или же вы используете нестабильную версию дистрибутива, где
запрошенные вами пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, вам поможет:

Следующие пакеты имеют неудовлетворённые зависимости:
 libgphoto2-6:i386 : Зависит: libgd3:i386 (>= 2.1.0~alpha~) но он не будет установлен
                     Зависит: libxml2:i386 (>= 2.7.4) но он не будет установлен
 libsane1:i386 : Зависит: libxml2:i386 (>= 2.7.4) но он не будет установлен
                 Рекомендует: sane-airscan:i386 но он не может быть установлен
 libselinux1:i386 : Зависит: libpcre2-8-0:i386 (>= 10.22) но он не будет установлен
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.

2.

Код: Выделить всё

Repos:
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/cybermax-dexter-sdl2-backport-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/cybermax-dexter-sdl2-backport-jammy.gpg] https://ppa.launchpadcontent.net/cybermax-dexter/sdl2-backport/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/danielrichter2007-grub-customizer-jammy.gpg] https://ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://mirror.yandex.ru/linuxmint-packages vera main upstream import backport
    2: deb http://mirror.yandex.ru/ubuntu jammy main restricted universe multiverse
    3: deb http://mirror.yandex.ru/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://mirror.yandex.ru/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/ondrej-php-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/ondrej-php-jammy.gpg] https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main

Возникает вопрос: почему 32-битные пакеты летят с треском и как это исправить?


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#17

19 янв 2023, 18:45

lumolumo писал(а): ↑

19 янв 2023, 18:42


пакет wine-stable-amd64 УСТАНАВЛИВАЕТСЯ С УСПЕХОМ

ну и нафик тогда тебе репозитарий от winehq если ставишь из внутреннего репозитария???
хватит уже делать самому себе сложности, в чём проблема просто сделать всё по рабочей инструкции?

lumolumo писал(а): ↑

19 янв 2023, 18:42


Возникает вопрос: почему 32-битные пакеты летят с треском и как это исправить?

инструкции читать не по диагонали наверное :)
sudo dpkg --add-architecture i386


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#18

19 янв 2023, 19:00

WWolf, еще раз показать?

Код: Выделить всё


sudo dpkg --add-architecture i386
[sudo] пароль для :        
$ sudo apt -y install --install-recommends winehq-stable
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Некоторые пакеты не могут быть установлены. Возможно, то, что вы просите,
неосуществимо, или же вы используете нестабильную версию дистрибутива, где
запрошенные вами пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, вам поможет:

Следующие пакеты имеют неудовлетворённые зависимости:
 winehq-stable : Зависит: wine-stable (= 7.0.1~jammy-1)
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.


Аватара пользователя

WWolf

Сообщения: 3371
Зарегистрирован: 14 фев 2018, 00:51
Решено: 22
Откуда: Краснодар
Благодарил (а): 1487 раз
Поблагодарили: 1071 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#19

19 янв 2023, 19:16

lumolumo, показывай wine --version


no avatar

lumolumo

Сообщения: 18
Зарегистрирован: 11 янв 2022, 22:18
Благодарил (а): 6 раз
Контактная информация:

Не устанавливается wine на Linux Mint 21.1

#20

19 янв 2023, 21:13

WWolf, из последних твоих постов мне все больше становится ясно, что у тебя отсутствует должный опыт по моей проблеме. За папку, конечно отдельное спасибо, но ты видимо не умеешь культурно общаться.

Какие проблемы? Я лишь пытаюсь нащупать причину, которая помогла бы вам додуматься и наконец дать действенное решение задачи. Я понимаю, что вы тут все не ясновидящие, но мне бы тоже хотелось хотя-бы чего-то наконец добиться и не засерать ваш форум не решенными вопросами.


Tootler

Level 2
Level 2
Posts: 23
Joined: Tue May 12, 2009 7:32 am

Error when trying to install Wine in Linux Mint 19

I’ve just tried to install Wine in Linux Mint 19 64 bit following the instructions on the WineHQ page.

Code: Select all

sudo dpkg --add-architecture i386
wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key
#sudo apt-key add Release.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

I get an error message. Here is the full output from the terminal

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Hit:1 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]    
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease                     
Ign:7 http://packages.linuxmint.com tara InRelease                       
Hit:8 http://packages.linuxmint.com tara Release  
Fetched 158 kB in 1s (118 kB/s)
Reading package lists... Done
--2018-12-15 16:22:03--  https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key
Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2620:113:80c0:8::13
Connecting to download.opensuse.org (download.opensuse.org)|195.135.221.134|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1089 (1.1K)
Saving to: ‘Release.key’

Release.key         100%[===================>]   1.06K  --.-KB/s    in 0s      

2018-12-15 16:22:03 (76.8 MB/s) - ‘Release.key’ saved [1089/1089]

E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.

User avatar

dimesio

Moderator
Moderator
Posts: 13142
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error when trying to install Wine in Linux Mint 19

Post

by dimesio » Sat Dec 15, 2018 4:34 pm

Code: Select all

wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key
#sudo apt-key add Release.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/bionic main'

According to this, you downloaded the Release.key for the OBS repository for cosmic, but then added the repository on dl.winehq.org for bionic (and did that incorrectly, too).

Since Mint 19 is based on bionic, you need to delete the OBS release key and download and add the one from dl.winehq.org. You also need to delete deb https://dl.winehq.org/wine-builds/ubuntu/bionic main from your /etc/apt/sources.list.d/additional-repositories.list and add it correctly:

Code: Select all

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

(note bionic is not part of the URL).

Tootler

Level 2
Level 2
Posts: 23
Joined: Tue May 12, 2009 7:32 am

Re: Error when trying to install Wine in Linux Mint 19

Post

by Tootler » Sun Dec 16, 2018 6:33 am

Right, I had another go, copying the commands from https://wiki.winehq.org/Ubuntu

Code: Select all

wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

This time I get a different error message; repository is unsigned.

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Hit:1 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                     
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]    
Ign:7 http://packages.linuxmint.com tara InRelease                             
Hit:8 http://packages.linuxmint.com tara Release                               
Fetched 247 kB in 1s (184 kB/s)                                
Reading package lists... Done
--2018-12-16 11:23:25--  https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key
Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2620:113:80c0:8::13
Connecting to download.opensuse.org (download.opensuse.org)|195.135.221.134|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1089 (1.1K)
Saving to: ‘Release.key’

Release.key         100%[===================>]   1.06K  --.-KB/s    in 0s      

2018-12-16 11:23:26 (69.0 MB/s) - ‘Release.key’ saved [1089/1089]

OK
Hit:1 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                     
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,701 B]      
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]    
Ign:8 http://packages.linuxmint.com tara InRelease                             
Hit:9 http://packages.linuxmint.com tara Release                               
Err:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 818A435C5FCBF54A
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable

Linux Mint 19 was a clean install — replacing Mint 17, so no previous version of Wine as Mint 17 was deleted.

Jijil

Level 2
Level 2
Posts: 14
Joined: Wed May 17, 2017 6:37 am

Re: Error when trying to install Wine in Linux Mint 19

Post

by Jijil » Sun Dec 16, 2018 2:17 pm

In Mint, you have the «software sources» graphical application to get an easier overlook on what’s in the list on your pc (repositories, PPAs, keys, …).
Most can be edited from there (ie: you can delete wrong keys).

User avatar

dimesio

Moderator
Moderator
Posts: 13142
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error when trying to install Wine in Linux Mint 19

Post

by dimesio » Sun Dec 16, 2018 2:42 pm

Tootler wrote:Right, I had another go, copying the commands from https://wiki.winehq.org/Ubuntu

Code: Select all

wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key

You just repeated the mistake I pointed out to you earlier, which is downloading the wrong Release.key. The key you downloaded again is only for the Ubuntu 18.10 repository on the OBS. Mint 19 is not based on Ubuntu 18.10 and you should not be following those instructions.

Follow the instructions under «For Ubuntu versions prior to 18.10:»

Tootler

Level 2
Level 2
Posts: 23
Joined: Tue May 12, 2009 7:32 am

Re: Error when trying to install Wine in Linux Mint 19

Post

by Tootler » Sun Dec 16, 2018 4:45 pm

As I’m using Mint, I don’t keep track of Ubuntu versions, so maybe you need to make that clearer on the download page. I was assuming the most recent version of Mint was based on the most recent version of Ubuntu. A not unreasonable assumption, I suggest.

pathfinder027

Newbie
Newbie
Posts: 1
Joined: Wed Dec 19, 2018 5:50 pm

Re: Error when trying to install Wine in Linux Mint 19

Post

by pathfinder027 » Thu Dec 20, 2018 10:10 am

I too have been unable to install wine on my Linux Mint 19 PC. I have tried using both Release.key and winehq.key, with the same resulting error message. Can you help me? Here is the sequence of commands and responses I have gotten in my attempts to install. it never lets me get to the point of actually installing wine-stable.

pathfinder@Al:~$ sudo nano /etc/apt/sources.list

GNU nano 2.9.3 /etc/apt/sources.list

#deb cdrom:[Linux Mint 19 _Tara_ — Release amd64 20180717]/ bionic contrib main$

pathfinder@Al:~$ wget https://dl.winehq.org/wine-builds/Release.key
—2018-12-19 12:40:13— https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)… 151.101.250.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.250.217|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3122 (3.0K) [application/pgp-keys]
Saving to: ‘Release.key.2’

Release.key.2 100%[===================>] 3.05K —.-KB/s in 0s

2018-12-19 12:40:15 (11.4 MB/s) — ‘Release.key.2’ saved [3122/3122]

pathfinder@Al:~$ sudo apt-key add Release.key
OK
pathfinder@Al:~$ sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu bionic main’
pathfinder@Al:~$ sudo apt-get update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.

(NOTE: I also tried the above sequence, using winehq.key instead of Release.key, with the same results.)

User avatar

dimesio

Moderator
Moderator
Posts: 13142
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error when trying to install Wine in Linux Mint 19

Post

by dimesio » Thu Dec 20, 2018 8:22 pm

Release.key is the wrong one; winehq.key is the correct one. However, I think you probably added that successfully, or you’d be getting an error message about the repository not having a key.

E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)

That’s your problem. Edit /etc/apt/sources.list.d/additional-repositories.list and correct or delete whatever the malformed entry is.

Tootler

Level 2
Level 2
Posts: 23
Joined: Tue May 12, 2009 7:32 am

Re: Error when trying to install Wine in Linux Mint 19

Post

by Tootler » Sun Jan 20, 2019 6:10 am

Sorry for the delay replying. I left it alone for a while and attended to other things but the other day, I decided to try again. I cleared everything out, and started again. I made a careful check to make sure all the steps in the download page were correct first. The instructions are much clearer now, btw.

The install went fine this time and I’ve been able to install wine OK.

phd21 wrote:Welcome to the wonderful world of Linux Mint and its excellent forum !

Thank you. :D

Just in case something I had installed was producing the error, I’ve re-installed Linux Mint so it would be a clean system.

After the install, I noticed a few occurrences of the » /sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link » when I used the Update Manager to update everything. Unfortunately I’m not sure which programs it was in reference to, as I was installing all of the available updates at once. Is there a log file that the Update Manager produces somewhere?

The video driver I’m using is: nvidia-375(recommended) version 375.39-0ubuntu0.16.04.1
(Installed via Mint’s Driver Manager program.)

The inxi -Fxzd’s results are:

Code: Select all

System:    Host: System-Name Kernel: 4.4.0-53-generic i686 (32 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.2.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.1 Serena
Machine:   Mobo: ASUSTeK model: P7H55-M PRO v: Rev 1.xx
           Bios: American Megatrends v: 1604 date: 07/22/2010
CPU:       Dual core Intel Core i3 550 (-HT-MCP-) cache: 4096 KB
           flags: (lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12840
           clock speeds: max: 3200 MHz 1: 1733 MHz 2: 1200 MHz 3: 1600 MHz
           4: 2133 MHz
Graphics:  Card: NVIDIA GF106 [GeForce GTS 450] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTS 450/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 375.39 Direct Rendering: Yes
Audio:     Card-1 Intel 5 Series/3400 Series High Definition Audio
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GF106 High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: d800 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (2.1% used)
           ID-1: /dev/sda model: WDC_WD5002AALX size: 500.1GB
           Optical: /dev/sr0 model: HL-DT-ST DVDRAM GH22NS50
           rev: TN03 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 48x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 455G used: 6.2G (2%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 4.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 39.5C mobo: 29.0C gpu: 0.0:43C
           Fan Speeds (in rpm): cpu: 2008 psu: 0 sys-1: 0
Info:      Processes: 183 Uptime: 32 min Memory: 866.9/3905.0MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35 

(This is a really cool command. I’ll have to remember it! 8) )

This time I tried installing the Wine Staging version you suggested, and it produced similar errors.

Here is the initial install message output:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libcapi20-3 libgl1-mesa-glx libglapi-mesa libgles1-mesa libgles2-mesa
  libodbc1 libosmesa6 wine-staging wine-staging-i386
Suggested packages:
  isdnutils-doc libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
  libcapi20-3 libodbc1 libosmesa6 wine-staging wine-staging-i386
  winehq-staging
The following packages will be upgraded:
  libgl1-mesa-glx libglapi-mesa libgles1-mesa libgles2-mesa
4 upgraded, 6 newly installed, 0 to remove and 22 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 199 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe i386 libcapi20-3 i386 1:3.27-1 [29.0 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 libgles1-mesa i386 12.0.6-0ubuntu0.16.04.1 [8,828 B]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 libgles2-mesa i386 12.0.6-0ubuntu0.16.04.1 [13.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 libgl1-mesa-glx i386 12.0.6-0ubuntu0.16.04.1 [138 kB]
Get:5 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 wine-staging-i386 i386 2.7.0~xenial [23.8 MB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 libglapi-mesa i386 12.0.6-0ubuntu0.16.04.1 [22.6 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main i386 libodbc1 i386 2.3.1-4.1 [192 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 libosmesa6 i386 12.0.6-0ubuntu0.16.04.1 [1,229 kB]
Get:9 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 wine-staging i386 2.7.0~xenial [2,740 kB]
Get:10 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 winehq-staging i386 2.7.0~xenial [3,192 B]
Fetched 28.2 MB in 2s (12.2 MB/s)           
Selecting previously unselected package wine-staging-i386.
(Reading database ... 200507 files and directories currently installed.)
Preparing to unpack .../wine-staging-i386_2.7.0~xenial_i386.deb ...
Unpacking wine-staging-i386 (2.7.0~xenial) ...
Selecting previously unselected package wine-staging.
Preparing to unpack .../wine-staging_2.7.0~xenial_i386.deb ...
Unpacking wine-staging (2.7.0~xenial) ...
Selecting previously unselected package libcapi20-3:i386.
Preparing to unpack .../libcapi20-3_1%3a3.27-1_i386.deb ...
Unpacking libcapi20-3:i386 (1:3.27-1) ...
Preparing to unpack .../libgles1-mesa_12.0.6-0ubuntu0.16.04.1_i386.deb ...
Unpacking libgles1-mesa:i386 (12.0.6-0ubuntu0.16.04.1) over (11.2.0-1ubuntu2.2) ...
Preparing to unpack .../libgles2-mesa_12.0.6-0ubuntu0.16.04.1_i386.deb ...
Unpacking libgles2-mesa:i386 (12.0.6-0ubuntu0.16.04.1) over (11.2.0-1ubuntu2.2) ...
Preparing to unpack .../libgl1-mesa-glx_12.0.6-0ubuntu0.16.04.1_i386.deb ...
Unpacking libgl1-mesa-glx:i386 (12.0.6-0ubuntu0.16.04.1) over (11.2.0-1ubuntu2.2) ...
Preparing to unpack .../libglapi-mesa_12.0.6-0ubuntu0.16.04.1_i386.deb ...
Unpacking libglapi-mesa:i386 (12.0.6-0ubuntu0.16.04.1) over (11.2.0-1ubuntu2.2) ...
Selecting previously unselected package libodbc1:i386.
Preparing to unpack .../libodbc1_2.3.1-4.1_i386.deb ...
Unpacking libodbc1:i386 (2.3.1-4.1) ...
Selecting previously unselected package winehq-staging.
Preparing to unpack .../winehq-staging_2.7.0~xenial_i386.deb ...
Unpacking winehq-staging (2.7.0~xenial) ...
Selecting previously unselected package libosmesa6:i386.
Preparing to unpack .../libosmesa6_12.0.6-0ubuntu0.16.04.1_i386.deb ...
Unpacking libosmesa6:i386 (12.0.6-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up wine-staging-i386 (2.7.0~xenial) ...
Setting up wine-staging (2.7.0~xenial) ...
Setting up libcapi20-3:i386 (1:3.27-1) ...
Setting up libglapi-mesa:i386 (12.0.6-0ubuntu0.16.04.1) ...
Setting up libgles1-mesa:i386 (12.0.6-0ubuntu0.16.04.1) ...
Setting up libgles2-mesa:i386 (12.0.6-0ubuntu0.16.04.1) ...
Setting up libgl1-mesa-glx:i386 (12.0.6-0ubuntu0.16.04.1) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

Setting up libodbc1:i386 (2.3.1-4.1) ...
Setting up winehq-staging (2.7.0~xenial) ...
Setting up libosmesa6:i386 (12.0.6-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

And here are the messages from Wine’s additional install of «Wine Mono Installer» & «Wine Gecko Installer» which appear to trigger on the first run of the Wine program.

(Just to duplicate everything that happened the first time I typed «wine help» again, since I think it will just end with a harmless «file not found» after finishing the additional installs.)

Code: Select all

wine: created the configuration directory '/home/name/.wine'
fixme:winediag:start_process Wine Staging 2.7 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x9388f0, init_notify 0, handle 0x116e784): stub
wine: configuration in '/home/name/.wine' has been updated.
wine: cannot find L"C:\windows\system32\help.exe"

phd21 wrote:Why are you installing Wine?

There are a few windows games I’m interested in trying to run.

But the primary reason is so I can run the CDDA-Game-Launcher found here:
https://github.com/remyroy/CDDA-Game-Launcher/releases
(Sadly it only has a windows version.)

It’s a cool program that makes running Cataclysm: Dark Days Ahead easier. It both allows keeping track of the latest version and quick updating to it as well as managing various mods and sound packs for the game.

Cataclysm: Dark Days Ahead is a fun open source roguelike that (unlike the launcher) also has Linux version. (I believe it needs to be compiled from source though.)

The site’s main page for the game doesn’t appear to have been updated since 2015, but the game is actually very actively developed with almost daily updates from what I’ve seen. (They’re talking about a new main site in the forum so hopefully that goes live soon.)

If you like roguelikes and resource management, I can’t recommend it enough. :wink:

You can find the game at:
http://en.cataclysmdda.com/

После установки Linux Mint 19 с огромным удивлением обнаружил, что если установить Wine из стандартных репозиториев, то запустить его не получится (по крайней мере у меня не получилось).

Тогда на бескрайних просторах интернета был найден следующий рецепт установки Wine в Linux Mint 19, который у меня сработал.
Если у вас установлен Linux Mint 20 или 20.x, то вам в эту статью.
Если Linux Mint 21, то в эту.

Если вы пытались установить Wine из стандартных репозиториев, то сначала удалите его, затем введите команды

rm winehq.key
sudo rm -rf ~/.wine

Теперь можно приступать к установке Wine.

sudo dpkg --add-architecture i386
wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable

Если вы хотите установить самую свежую версию Wine, то в конце предыдущей команды поменяйте stable на devel или staging

WineARCH=win32 WINEPREFIX=~/.wine wine wineboot

Если вы хотите использовать 64-разрядный Wine, то в предыдущей команде меняем win32 на win64.

По желанию можно доустановить пакет WineTricks, для этого необходимо ввести команду

sudo apt-get install winetricks

Оригинал:

Wine User Guide

Перевод: Алексей Дмитриев, yakwiat@yandex.ru
Дата перевода: май 2008



Глава V. Устранение неисправностей и сообщения об ошибках

5.1. Что делать, если программа не работает?

Бывают случаи, когда вы перепробовали все, чтобы заставить эту проклятую программу заработать на данной версии Wine. Не расстраивайтесь, мы всегда здесь, чтобы помочь вам… (другими словами: «Сколько заплатите?»)

5.1.1. Проверьте конфигурацию своей Wine

Посмотрите вывод команды $ wine —version, чтобы убедиться, что у вас новейшая версия Wine. Запустите winecfg и посмотрите на установки, чтобы убедиться, что они выглядят нормально. Проверьте ~/.wine/dosdevices, чтобы убедиться что c: указывает куда нужно.

5.1.2. Попробуйте разные версии Windows

В некоторых случаях изменение версии Windows может помочь.

5.1.3. Используйте различные пути (paths) для запуска

Это тоже иногда помогает. Попробуйте как wine prg.exe, так и wine x:\full\path\to\prg.exe

5.1.4. Поэкспериментируйте с настройкой DLL

Запустите WINEDEBUG=+loaddll, чтобы выяснить, какие DLL используются, и являются ли они «родными» или встроенными. Затем убедитесь, что у вас установлены правильные «родные» файлы библиотек в вашей директории C:windowssystem и поэкспериментируйте настройками очередности загрузки DLL в командной строке, либо в файле конфигурации.

5.1.5. Проверьте рабочее окружение!

Еще идея: не может ли рабочее окружение Wine быть испорченным? Убедитесь, что все в порядке с пакетами, от которых зависит работа Wine (gcc, glibc, X libraries, OpenGL (!), …).

5.1.6. Используйте другой режим графического интерфейса

Проинструктируйте Wine посредством конфигурационного файла использовать либо desktop mode (режим рабочего стола), либо managed mode (управляемый режим), либо уродливый «нормальный» (normal) режим. Это тоже может помочь.

5.1.7. Проверьте приложение!

Может быть, ваше приложение имеет защиту от копирования? Многие виды таких защит пока не работают под Wine. Некоторые, возможно, заработают в будущем. (Уровень CD-ROM до сих пор не полнофункционален).

Идите на сайт GameCopyWorld и попытайтесь найти хороший крэк, который позволит снять защиту от копирования. Я надеюсь, что у вас легальная копия программы, но кто знает… 🙂

5.1.8. Измените окружение Wine

Запуск приложения при наличии Windows раздела может драматически отличаться от такового при отсутствии Windows раздела. Настройте Wine на действия, противоположные тому, что были обычно. Также установите DCOM98 или DCOM95. Это может быть очень полезно.

5.1.9. Переконфигурируйте Wine

Иногда процесс инсталляции Wine изменяется, и новые версии Wine считаются с этими изменениями. Это особенно вероятно, если ваша установка произведена давно. Переименуйте директорию ~/.wine с целью резервного копирования. Запустите процесс установки, рекомендованный для вашей версии Wine, чтобы создать новую конфигурацию. Для сравнения используйте старую директорию ~/.wine. Для установок Wine из исходников применяйте для конфигурации Wine скрипт tools/wineinstall от имени пользователя. Это вполне безопасная операция. Позже вы сможете удалить новую директорию ~/.wine, и переименовать обратно старую.

5.1.10. Следите за сторонней информацией

Весьма возможно, что кто-то уже делал то, что вы пытаетесь проделать сейчас. Вам могут помочь следующие ресурсы:

Просмотрите WineHQ’s Application Database в поисках подсказок, относящихся к вашей программе. Если ваша конкретная версия программы отсутствует в списке, просмотрите сходные версии, возможно там достаточно информации.

Frank’s Corner имеет список приложений с детальными инструкциями по их установке. Дальнейшая помощь может найтись на форумах пользователей.

Может помочь Google, если уметь им пользоваться. Полезно бывает искать в Google Groups, конкретно в группе comp.emulators.ms-windows.wine

Существует IRC канал для Wine — Freenode.net. Вы можете попасть туда, используя любой IRC клиент, например Xchat. Вот необходимые настройки:
server = irc.freenode.net, port = 6667
и channel = #winehq

Если ваша программа требует Visual Basic Runtime Environment, то вы можете загрузить его с этого сайта Микрософт.

Если вам недостает DLL, например mfc42, можете найти их на сайте http://www.dll-files.com

Рассылочный лист Wine также может помочь, особенно wine-users. Лист wine-devel может быть полезен в зависимости от типа ваших затруднений.
если вы пишете в wine-devel, то готовьтесь проделать некоторую работу по диагностике проблемы. Читайте следующий раздел, чтобы узнать, как определить источник ваших трудностей.

Если все усилия напрасны, стоит просмотреть коммерческие версии Wine на предмет поддержки вашего приложения.

5.1.11. Ищите причину!

Следующим шагом, который стоит предпринять, является поиск причины проблемы. Спектр возможных причин весьма широк — от простой ошибки в конфигурации до полной неработоспособности Wine. Следующий раздел описывает, как создать файл с отчетом об ошибке, и как начать искать неисправность. Отладочные возможности Wine описываются в Wine Developers Guide (руководство для разработчиков).

5.2. Как послать отчет об ошибке.

Пожалуйста, сообщайте об ошибках и сопутствующую информацию на сайт

Wine Bugzilla

. Пожалуйста, просматривайте базу данных Bugzilla, чтобы выяснить, не было ли уже отчетов по данной проблеме. Если таковые уже были, пожалуйста, добавляйте вашу информацию к первоначальному отчету.

5.2.1 Отчеты об ошибках

Вот несколько простых советов, как сделать ваш отчет более содержательным, и тем повысить вероятность ответа и исправления ошибки:

1. Включите как можно больше информации, относящейся к делу.

Это означает, что нам нужно больше информации, чем просто: «Мой MS Word «падает», когда бы я его не запускал. Вы не знаете, почему?». Добавьте, как минимум, следующую информацию:

  • Какую версию Wine вы используете (команда: wine —version)
  • Название вашей операционной системы, дистрибутив и его версию (например, Linux Red Hat 7.2)
  • Какой компилятор был использован, его версию (команда: gcc -v). Если вы не компилировали Wine, название пакета, и место, откуда его взяли.
  • Версия Windows, если таковая используется с Wine. Если Windows не используется, то упомяните об этом.
  • Название и номер версии программы, которую вы пытаетесь запустить, а также URL, где программа скачана (если таковой есть).
  • Точная команда, которой вы запускаете программу Wine.
    Например: wine «C:Program FilesTestprogram.exe»
  • Конкретные шаги, при помощи которых можно повторить ошибку.
  • Любая дополнительная информация, могущая, по вашему мнению, относиться к делу, такая как версия Иксов (в случае проблем с Иксами), версия libc и прочее.

2. Прогоните программу с переменной окружения WINEDEBUG. Например, WINEDEBUG=+relay wine sol.exe

Это приведет к выводу на консоль дополнительной информации, которая может быть полезна при отладке программы. Также это замедлит воспроизводство программы. Бывают случаи, когда ошибка, по-видимому, исчезала при использовании опции +relay. Укажете это в вашем отчете.

5.2.2. Аварийное завершение программы

Если Wine аварийно отказывает во время выполнения вашей программы, нам важно
иметь информацию об этом, чтобы попытаться понять причину отказа. Отчет может
занимать много места (несколько Мб), но все же лучше сохранить его в файле.
Когда появится приглашение Wine-dbg>, напечатайте quit.

Вы можете попробовать +relay,+snoop вместо +relay, но, пожалуйста, помните,
что +snoop довольно нестабилен и часто вызывает отказ раньше, чем просто
+relay!! Отчет с отказом в коде +snoop в большинстве случаев бесполезен!
Можно также подключать другие параметры, в зависимости от природы проблемы,
которую вы исследуете. Для получения полного списка параметров смотрите man-страницу
к Wine.

Для того чтобы вывести запись с историей событий (трассировочный лог), используйте один из следующих методов:

5.2.2.1 Простой путь

1. Этот метод позволяет даже полному новичку получить качественный трассировочный лог событий, приведших к аварийному завершению программы.

Чтобы воспользоваться этим методом, на вашем компьютере должен быть установлен язык программирования perl. Чтобы узнать, есть ли он у вас, наберите команду: which perl. Если ответ нечто вроде: /usr/bin/perl, то вы можете работать. В противном случае переходите к разделу «Трудный путь». Если вы не уверены, все-таки проделайте работу. Когда вы попытаетесь запустить скрипт, то станет весьма очевидно, если у вас не установлен perl.

2. Смените директорию на /путь-к-wine>/tools.

3. Наберите: ./bug_report.pl и следуйте указаниям.

4. Пошлите отчет на сайт Wine Bugzilla. Пожалуйста, просмотрите базу данных сайта, чтобы убедиться, что ваша проблема еще не зафиксирована, прежде чем отправлять отчет. Составьте детальное описание проблемы с сопутствующей информацией. Прикрепите «Прекрасно оформленный трассировочный лог» к письму. Не вставляйте лог в текст отчета — он слишком велик. Сохраняйте полную копию трассировочного лога, на случай, если он понадобится разработчикам Wine.

5.2.2.2. Трудный путь

Чаще всего только последние 100 (или около того) строчек трассировочного лога нужны, чтобы выяснить, где программа аварийно завершилась. Для того чтобы получить эти последние 100 строк, мы должны проделать следующее:

1. Перенаправить весь вывод программы WINEDEBUG в файл.

2. Отделить последние 100 строк в другой файл при помощи команды: tail.

Это можно проделать одним из следующих способов.

Для всех шеллов (оболочек):

$ echo quit | WINEDEBUG=+relay wine [other_options] program_name >& filename.out;
$ tail -n 100 filename.out > report_file

(Эта команда запишет сообщение только в файл и затем автоматически завершится. Эту команду хорошо использовать, так как Wine выдает столько отладочных сообщений, что они переполняют терминал, пожирая процессорные циклы).

tcsh и другие csh-подобные шеллы:

$ WINEDEBUG=+relay wine [other_options] program_name |& tee filename.out;
$ tail -n 100 filename.out > report_file

bash и другие sh-подобные шеллы:

$ WINEDEBUG=+relay wine [other_options] program_name 2>&1 | tee filename.out;
$ tail -n 100 filename.out > report_file

Файл report_file теперь содержит последние сто строк вывода отладчика включая register dump и backtrace, которые являются самыми ценными массивами информации. Пожалуйста, не удаляйте эту часть, даже если не понимаете, что она означает.

Пошлите отчет на Wine Bugzilla. Необходимо прикрепить файл report_file. Вместе с относящейся к делу информацией, о том, как вы его создали. Не вставляйте текст файла в текст
самого отчета об ошибкt — он довольно велик и спутает отчет. Если вы правильно проделаете всю эту процедуру, ваши шансы на получение ответа с помощью довольно велики.

Пожалуйста, просматривайте базу данных Bugzilla, чтобы выяснить, не было ли уже отчетов по данной проблеме. Если таковые уже были, пожалуйста, добавляйте ваш файл report_file и другую информацию к первоначальному отчету.



Если вам понравилась статья, поделитесь ею с друзьями:


I’m trying to install winehq-stable package version 7.0.0, but I’m getting a dependency problem that I’m not managed to solve yet. It says that winehq-stable depends on wine-stable (=7.0.0~focal-1), if I try to install both by hand the problem goes on and on in an infinite loop of dependencies, so I tried to manually pass those packages to apt install command resulting in this:

sudo apt install --install-recommends winehq-stable wine-stable wine-stable- i386 libsane:i386 libsnmp35:i386 libmysqlclient21:i386 mysql-common:i386 mysql-common

The output was this one:

The package mysql-common:i386 is a virtual package provided by:
mysql-common 5.8+1.0.5ubuntu2[not a candidate version]

E: The package 'mysql-common:i386' doesn't have a candidate for installation

I tried everything I know to try to solve those dependencies, but I couldn’t find an answer. What I’m I missing?

asked Jan 22, 2022 at 0:00

Leandro Jacques's user avatar

I was wrong. It has nothing to do with the Mint flavor. I filed a bug report with WineHQ and the moderator wrote back that it had to do with having a version of mysql-common that was more recent than the version required by wine:

For Ubuntu users, this type of problem usually happens when they’ve
installed packages from a PPA. In the case of Mint, it’s also possible
packages in the Mint repository that differ from the Ubuntu ones are
causing the problem. Either way, it’s not a bug. WineHQ packages are
built against dependencies in the standard and universe Ubuntu
repositories, and that’s the only configuration that is supported. As
you noted yourself, you were able to install Wine on a laptop running
Mint, so the problem is something installed on the problem systems.

Sure enough, I had a more recent version of MariaDB (which uses mysql-common) than the one distributed by the «official» Ubuntu repository. The solution was found in the comments section of an earlier bug report ([https://bugs.winehq.org/show_bug.cgi?id=52011). You have to downgrade mysql-common. Before installing Wine 7.0, enter:

sudo apt install mysql-common=5.8+1.0.5ubuntu

That did the trick. MariaDB still seems to work without any problems after the downgrade. However, you might want to put a hold on mysql-common (sudo apt hold mysql-common) or you’ll get nagged to upgrade every time you do an apt update.

answered Jan 27, 2022 at 19:27

Phil Manger's user avatar

1

I don’t see how mysql could be related to installing wine. It has nothing to do with it. Start over with these commands

sudo apt update && sudo apt upgrade

sudo dpkg --add-architecture i386 

sudo apt update

sudo apt install software-properties-common wget curl

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

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

sudo apt update

sudo apt install --install-recommends winehq-stable

And that should be more than enough.

answered Jan 22, 2022 at 16:43

Alex's user avatar

AlexAlex

1,7671 silver badge9 bronze badges

1

You didn’t mention what flavor of Mint you’re using (Cinnamon, Mate, Xfce). If you’re trying to install it on Linux Mint 20.03 (or 20.02) with the Cinnamon desktop you’re out of luck. Wine 7 won’t install (or upgrade from Wine 6.02) on Mint 20.03 or 20.02 Cinnamon no matter what you do. There’s a bug, either in Cinnamon or the Wine 7 installation files, that prevents installation. And the dependency errors reported make no sense (e.g. mysql-common) since the missing files aren’t in either the Ubuntu or Mint repositories. I tried every possible way, both as an upgrade and a clean install (including Alex’s solution above), and tried with Mint 20.02 as well as 20.03 on two separate computers. However I did successfully install it using Alex’s recommendation on a laptop running Mint 20.03 with the Xfce desktop. Go figure.

answered Jan 26, 2022 at 18:23

Phil Manger's user avatar

I’m trying to install winehq-stable package version 7.0.0, but I’m getting a dependency problem that I’m not managed to solve yet. It says that winehq-stable depends on wine-stable (=7.0.0~focal-1), if I try to install both by hand the problem goes on and on in an infinite loop of dependencies, so I tried to manually pass those packages to apt install command resulting in this:

sudo apt install --install-recommends winehq-stable wine-stable wine-stable- i386 libsane:i386 libsnmp35:i386 libmysqlclient21:i386 mysql-common:i386 mysql-common

The output was this one:

The package mysql-common:i386 is a virtual package provided by:
mysql-common 5.8+1.0.5ubuntu2[not a candidate version]

E: The package 'mysql-common:i386' doesn't have a candidate for installation

I tried everything I know to try to solve those dependencies, but I couldn’t find an answer. What I’m I missing?

asked Jan 22, 2022 at 0:00

Leandro Jacques's user avatar

I was wrong. It has nothing to do with the Mint flavor. I filed a bug report with WineHQ and the moderator wrote back that it had to do with having a version of mysql-common that was more recent than the version required by wine:

For Ubuntu users, this type of problem usually happens when they’ve
installed packages from a PPA. In the case of Mint, it’s also possible
packages in the Mint repository that differ from the Ubuntu ones are
causing the problem. Either way, it’s not a bug. WineHQ packages are
built against dependencies in the standard and universe Ubuntu
repositories, and that’s the only configuration that is supported. As
you noted yourself, you were able to install Wine on a laptop running
Mint, so the problem is something installed on the problem systems.

Sure enough, I had a more recent version of MariaDB (which uses mysql-common) than the one distributed by the «official» Ubuntu repository. The solution was found in the comments section of an earlier bug report ([https://bugs.winehq.org/show_bug.cgi?id=52011). You have to downgrade mysql-common. Before installing Wine 7.0, enter:

sudo apt install mysql-common=5.8+1.0.5ubuntu

That did the trick. MariaDB still seems to work without any problems after the downgrade. However, you might want to put a hold on mysql-common (sudo apt hold mysql-common) or you’ll get nagged to upgrade every time you do an apt update.

answered Jan 27, 2022 at 19:27

Phil Manger's user avatar

1

I don’t see how mysql could be related to installing wine. It has nothing to do with it. Start over with these commands

sudo apt update && sudo apt upgrade

sudo dpkg --add-architecture i386 

sudo apt update

sudo apt install software-properties-common wget curl

wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

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

sudo apt update

sudo apt install --install-recommends winehq-stable

And that should be more than enough.

answered Jan 22, 2022 at 16:43

Alex's user avatar

AlexAlex

1,7671 silver badge9 bronze badges

1

You didn’t mention what flavor of Mint you’re using (Cinnamon, Mate, Xfce). If you’re trying to install it on Linux Mint 20.03 (or 20.02) with the Cinnamon desktop you’re out of luck. Wine 7 won’t install (or upgrade from Wine 6.02) on Mint 20.03 or 20.02 Cinnamon no matter what you do. There’s a bug, either in Cinnamon or the Wine 7 installation files, that prevents installation. And the dependency errors reported make no sense (e.g. mysql-common) since the missing files aren’t in either the Ubuntu or Mint repositories. I tried every possible way, both as an upgrade and a clean install (including Alex’s solution above), and tried with Mint 20.02 as well as 20.03 on two separate computers. However I did successfully install it using Alex’s recommendation on a laptop running Mint 20.03 with the Xfce desktop. Go figure.

answered Jan 26, 2022 at 18:23

Phil Manger's user avatar

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ятрогенная патология врачебные ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка wine iopl не включено