Встановлення wine на KDE NEON 22.04

Після встановлення KDE NEON 22.04 wine встановити не вдається через конфлікт.

В мене це було приблизно так

sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) winehq-devel:amd64 < none -> 8.3~jammy-1 @un puN Ib >
Broken winehq-devel:amd64 Depends on wine-devel:amd64 < none @un H > (= 8.3~jammy-1)
  Considering wine-devel:amd64 0 as a solution to winehq-devel:amd64 9999
  Considering wine-devel:i386 0 as a solution to winehq-devel:amd64 9999
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-devel : Depends: wine-devel (= 8.3~jammy-1)
E: Unable to correct problems, you have held broken packages.

або так

sudo apt install wine-devel=8.3~jammy-1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 3
Starting 2 pkgProblemResolver with broken count: 3
Investigating (0) libjpeg-turbo8:amd64 < 1:2.1.5-2+22.04+jammy+release+build6 @ii pK Ib >
Broken libjpeg-turbo8:amd64 Conflicts on libjpeg8:i386 < none -> 8c-2ubuntu10 @un puN Ib >
  Considering libjpeg8:i386 5 as a solution to libjpeg-turbo8:amd64 10
Investigating (0) libjpeg8:i386 < none -> 8c-2ubuntu10 @un puN Ib >
Broken libjpeg8:i386 Depends on libjpeg-turbo8:i386 < none @un pH > (>= 1.1.90+svn722-1ubuntu6)
  Considering libjpeg-turbo8:i386 0 as a solution to libjpeg8:i386 5
Investigating (0) libsane1:i386 < none -> 1.1.1-5 @un puN Ib >
Broken libsane1:i386 Depends on libpoppler-glib8:i386 < none @un pH > (>= 0.18.0)
  Considering libpoppler-glib8:i386 0 as a solution to libsane1:i386 0
  Considering libpoppler-glib8:i386 0 as a solution to libsane1:i386 0
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:
 libjpeg-turbo8 : Conflicts: libjpeg8:i386 but 8c-2ubuntu10 is to be installed
 libjpeg8:i386 : Depends: libjpeg-turbo8:i386 (>= 1.1.90+svn722-1ubuntu6) but it is not installable
 libsane1:i386 : Depends: libpoppler-glib8:i386 (>= 0.18.0) but it is not installable
                 Recommends: sane-airscan:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

рішення знайшов на форумі KDE

1. Видаліть усі пакунки Wine (winehq*, wine-*).
2. Автоматичне видалення всіх непотрібних пакетів (sudo apt autoremove)
3. Тимчасово видаліть пакет libpoppler-glib8, які ви могли встановити для попереднього встановлення Wine.
4. Оновіть все (sudo apt full-upgrade або sudo pkcon update) Це оновить libjpeg-turbo8, замінивши бібліотеки libjpeg8, а також дозволить належним чином оновити деякі пакети libpoppler.
5. Переконайтеся, що встановлена версія libjpeg-turbo8 1:2.1.5-2+22.04+jammy+release+build6. Якщо це вірно, завантажте мій спеціальний 32-розрядний пакет libjpeg-turbo8 і двічі клацніть його, щоб установити. (або sudo dpkg -i libjpeg-turbo8_2.1.5-2+22.04+jammy+release+build6_i386.deb)
6.

SUDO_EDITOR=kate sudoedit /etc/apt/preferences.d/wine-staging-compat

вставте туди

Package: libpoppler-glib8
Pin: release o=Ubuntu
Pin-Priority: 1100

а потім: sudo apt update і sudo apt full-upgrade понизять пакет до версії репозиторію Ubuntu (22.02.0-2ubuntu0.1).
7. Перевстановіть Wine (sudo apt install winehq-staging або іншу версію, яку ви використовували). Якщо apt скаржиться на те, що неон-adwaita спричиняє проблеми, тоді встановіть adwaita-icon-theme-full перед встановленням Wine.

Залишити відповідь

Ваша e-mail адреса не оприлюднюватиметься. Обов’язкові поля позначені *