This forum has been archived. All content is frozen. Please use KDE Discuss instead.

(Solved) I cannot install Wine staging on KDE Neon Jammy

Tags: None
(comma "," separated)
User avatar
kell
Registered Member
Posts
2
Karma
0
Hello, KDE users.

I downloaded the Jammy-rebased KDE Neon user edition and flashed to my USB drive yesterday, and I install it today.

When I try to install the latest version of Wine staging, I got this error message.

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-staging:amd64 < none -> 7.19~jammy-1 @un puN Ib >
Broken winehq-staging:amd64 Depends on wine-staging:amd64 < none @un H > (= 7.19~jammy-1)
Considering wine-staging:amd64 0 as a solution to winehq-staging:amd64 9999
Considering wine-staging:i386 0 as a solution to winehq-staging: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-staging : Depends: wine-staging (= 7.19~jammy-1)
E: Unable to correct problems, you have held broken packages.


Thank you so much for your solution, now I have solved this issue.

This is the how I solve this issue.

First, add Wine repository for Ubuntu 22.04 LTS.

sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubunt ... my.sources

Install both i386 and amd64 architectures support.
sudo apt install libpoppler-glib8:{i386,amd64}=22.02.0-2ubuntu0.1

Run update and upgrade.

sudo apt-get update
sudo apt-get full-upgrade -y

Then install Wine staging.

sudo apt install --install-recommends winehq-staging

That's all, I hope it can be helpful for those who have the similar issue.😀😀😀

Last edited by kell on Thu Nov 03, 2022 7:36 am, edited 2 times in total.
User avatar
delphina
Registered Member
Posts
1
Karma
0
Same problem

sudo apt install --install-recommends wine-staging
[sudo] password for delphina:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 2
Starting 2 pkgProblemResolver with broken count: 2
Investigating (0) neon-adwaita:amd64 < 0.0+p22.04+trelease+git20220901.0903 @ii K Ib >
Broken neon-adwaita:amd64 Breaks on adwaita-icon-theme:amd64 < none -> 41.0-1ubuntu1 @un uN >
Considering adwaita-icon-theme:amd64 27 as a solution to neon-adwaita:amd64 131
Added adwaita-icon-theme:amd64 to the remove list
Broken neon-adwaita:amd64 Breaks on adwaita-icon-theme:i386 < none @un H >
Considering adwaita-icon-theme:amd64 27 as a solution to neon-adwaita:amd64 131
Added adwaita-icon-theme:amd64 to the remove list
Broken neon-adwaita:amd64 Breaks on humanity-icon-theme:amd64 < none -> 0.6.16 @un uN >
Considering humanity-icon-theme:amd64 -1 as a solution to neon-adwaita:amd64 131
Added humanity-icon-theme:amd64 to the remove list
Broken neon-adwaita:amd64 Breaks on ubuntu-mono:amd64 < none -> 20.10-0ubuntu2 @un uN >
Considering ubuntu-mono:amd64 1 as a solution to neon-adwaita:amd64 131
Added ubuntu-mono:amd64 to the remove list
Fixing neon-adwaita:amd64 via keep of adwaita-icon-theme:amd64
Fixing neon-adwaita:amd64 via keep of adwaita-icon-theme:amd64
Fixing neon-adwaita:amd64 via keep of humanity-icon-theme:amd64
Fixing neon-adwaita:amd64 via keep of ubuntu-mono:amd64
Investigating (0) libgtk-3-0:i386 < none -> 3.24.33-1ubuntu2 @un uN Ib >
Broken libgtk-3-0:i386 Depends on adwaita-icon-theme:i386 < none @un H >
Considering adwaita-icon-theme:amd64 27 as a solution to libgtk-3-0:i386 0
Holding Back libgtk-3-0:i386 rather than change adwaita-icon-theme:i386
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
Investigating (1) 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:
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.
simondebrayzeroone
Registered Member
Posts
1
Karma
0
Hi there, I am new to KDE Neon.

I have installed KDE Neon 22.04 LTS, and I have followed the official WineHQ instruction and try to install Wine staging.

https://wiki.winehq.org/Ubuntu

But I get this error massage as well.

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-staging:amd64 < none -> 7.19~jammy-1 @un puN Ib >
Broken winehq-staging:amd64 Depends on wine-staging:amd64 < none @un H > (= 7.19~jammy-1)
Considering wine-staging:amd64 0 as a solution to winehq-staging:amd64 9999
Considering wine-staging:i386 0 as a solution to winehq-staging: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-staging : Depends: wine-staging (= 7.19~jammy-1)
E: Unable to correct problems, you have held broken packages.


I decide to stick with Kubuntu 22.04 because I successfully install Wine staging on it without any issue.

But I still hope KDE can fix it.
User avatar
shiorikuraijp
Registered Member
Posts
1
Karma
0
Ohayou...
I have been a KDE Neon user since 2018, and I am glad to see that KDE Neon come to 22.04.

So I decide to give it a try, and I try to install Wine staging on it as well.

And this error massage occurs.

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-staging:amd64 < none -> 7.19~jammy-1 @un puN Ib >
Broken winehq-staging:amd64 Depends on wine-staging:amd64 < none @un H > (= 7.19~jammy-1)
Considering wine-staging:amd64 0 as a solution to winehq-staging:amd64 9999
Considering wine-staging:i386 0 as a solution to winehq-staging: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-staging : Depends: wine-staging (= 7.19~jammy-1)
E: Unable to correct problems, you have held broken packages.


Fortunately, I still have the older version on my USB drive, so I switch to the older version and upgrade it manually to Ubuntu 22.04 LTS.

I eventually successfully have the latest version of Wine staging branch installed.

But I still hope KDE can fix it ASAP.
User avatar
tlimfortux
Registered Member
Posts
1
Karma
0
I have followed the official Winehq instruction to install Wine staging on KDE Neon Jammy in VMware and get the same error.

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-staging:amd64 < none -> 7.19~jammy-1 @un puN Ib >
Broken winehq-staging:amd64 Depends on wine-staging:amd64 < none @un H > (= 7.19~jammy-1)
Considering wine-staging:amd64 0 as a solution to winehq-staging:amd64 9999
Considering wine-staging:i386 0 as a solution to winehq-staging: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-staging : Depends: wine-staging (= 7.19~jammy-1)
E: Unable to correct problems, you have held broken packages.
User avatar
anthuvanvngirl
Registered Member
Posts
1
Karma
0
I got this error massage when I follow the instruction on WineHQ Ubuntu repository and try to install the latest version of Wine staging on 22.04 of KDE Neon.

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-staging:amd64 < none -> 7.19~jammy-1 @un puN Ib >
Broken winehq-staging:amd64 Depends on wine-staging:amd64 < none @un H > (= 7.19~jammy-1)
Considering wine-staging:amd64 0 as a solution to winehq-staging:amd64 9999
Considering wine-staging:i386 0 as a solution to winehq-staging: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-staging : Depends: wine-staging (= 7.19~jammy-1)
E: Unable to correct problems, you have held broken packages.


I think this is one of bugs for this verson of KDE Neon, and I hope it can be fixed.
User avatar
morriskafaiyin
Registered Member
Posts
1
Karma
0
I got this issue too, I have followed the official instruction to install the latest version of Wine staging.

Code: Select all
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-staging:amd64 < none -> 7.19~jammy-1 @un puN Ib >
Broken winehq-staging:amd64 Depends on wine-staging:amd64 < none @un H > (= 7.19~jammy-1)
Considering wine-staging:amd64 0 as a solution to winehq-staging:amd64 9999
Considering wine-staging:i386 0 as a solution to winehq-staging: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-staging : Depends: wine-staging (= 7.19~jammy-1)
E: Unable to correct problems, you have held broken packages.


I like KDE Neon, I am glad to see KDE have release the new version of KDE Neon that base on Ubuntu 22.04 LTS, but it could be better if this issue is fixed.
User avatar
gusarg
Registered Member
Posts
12
Karma
0
Hi,

Same for me... this is annoying since I use Sketchup Pro 2021 with Wine to avoid boot on Windows. Now I can't.

The exactly same errors. And, when you try install wine-staging:amd64:

sudo apt install --install-recommends winehq-staging wine-staging:amd64
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) 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:
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.



So, the is a problem with libpoppler-glib8:i386 deps.
User avatar
gusarg
Registered Member
Posts
12
Karma
0
By the way, workaround was this: https://www.reddit.com/r/kdeneon/comments/ya6wmb/comment/itaavu8/?utm_source=share&utm_medium=web2x&context=3

just tried and works (downgrading libpoppler-glib8 like specified there):

sudo apt install libpoppler-glib8:{i386,amd64}=22.02.0-2ubuntu0.1


And then, for example:

sudo apt install --install-recommends winehq-staging
User avatar
kde-jriddell
Registered Member
Posts
87
Karma
2
OS
Yes I'm afraid our poppler build makes the neon archive incompatible with the wine-staging packages at least on i386. There's no easy way around this unfortunately and it's not a priority for Neon to be compatible with non-KDE software.
User avatar
kell
Registered Member
Posts
2
Karma
0
Thank you so much for your solution, I have tried it and fortunately it works.

I have edited the first post, I hope it can be helpful for those who have similar issue.
User avatar
mrbumpy409
Registered Member
Posts
34
Karma
0
OS
Fortunately, I already had wine-staging installed in NEON 22.02 before libpoppler-glib8 was updated. However, I still had apt errors due to the unavailability of the 32-bit package upgrade, so I pinned the package to stay on the Ubuntu repository version.

Run:
Code: Select all
SUDO_EDITOR=kate sudoedit /etc/apt/preferences.d/wine-staging-compat
and add the following to the file:
Code: Select all
Package: libpoppler-glib8
Pin: release o=Ubuntu
Pin-Priority: 1100

I can't promise this won't cause dependency issues with other NEON software, but at least it doesn't cause any issues with the software I have installed on my two systems. Your mileage may vary.
sstaeglich
Registered Member
Posts
68
Karma
0
kde-jriddell wrote:Yes I'm afraid our poppler build makes the neon archive incompatible with the wine-staging packages at least on i386. There's no easy way around this unfortunately and it's not a priority for Neon to be compatible with non-KDE software.


Why you can't just provide a 32 bit build?
User avatar
gusarg
Registered Member
Posts
12
Karma
0
kde-jriddell wrote:Yes I'm afraid our poppler build makes the neon archive incompatible with the wine-staging packages at least on i386. There's no easy way around this unfortunately and it's not a priority for Neon to be compatible with non-KDE software.


This is a very restrictive response. No one uses KDE Only apps, is impossible. And Wine is a very important App that saves us from booting to Windows when there is not need (more when an Windows app works just fine under Wine).

So this is like to said "Get back to Windows then because we don't want to add a simple i386 compilation of the library).
BulletDust
Registered Member
Posts
19
Karma
0
Attention KDE devs.

Can we fix this please? Wine is an important item of software and many of us need it working.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]