Bug 451315 - Recent updates to libwayland-server0 et al break i386 support.
Summary: Recent updates to libwayland-server0 et al break i386 support.
Status: CONFIRMED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: VHI grave
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: regression
: 451312 451322 451324 451328 451332 451334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-09 14:25 UTC by Clay Weber
Modified: 2024-04-17 15:37 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Installation attempt (3.12 KB, text/plain)
2022-03-09 14:25 UTC, Clay Weber
Details
Attempting to install libwayland-client0:1386 (213.77 KB, text/plain)
2022-03-09 14:28 UTC, Clay Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clay Weber 2022-03-09 14:25:38 UTC
Created attachment 147393 [details]
Installation attempt

SUMMARY
***
After updates, which include libwayland-server0, i386 support libraries are broken, as there are no i386 versions.
***


STEPS TO REPRODUCE
1. Update as usual
2. Open Steam
3. Get a message that these packages need to be installed/updated : libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-i386:i386

OBSERVED RESULT
Dependency heck occurs.  See attached output from apt.

The following packages have unmet dependencies:
libegl1:i386 : Depends: libegl-mesa0:i386 but it is not going to be installed
libgbm1:i386 : Depends: libwayland-server0:i386 (>= 1.15.0) but it is not going to be installed

 So:
$ apt policy libwayland-server0:i386
libwayland-server0:i386:
Installed: (none)
Candidate: 1.18.0-1
Version table:
1.18.0-1 500
500 http://archive.ubuntu.com/ubuntu focal/main i386 Packages

And 
$ apt policy libwayland-server0
libwayland-server0:
Installed: 1.20.0-1+20.04+focal+release+build1
Candidate: 1.20.0-1+20.04+focal+release+build1
Version table:
*** 1.20.0-1+20.04+focal+release+build1 500
500 http://archive.neon.kde.org/user focal/main amd64 Packages
100 /var/lib/dpkg/status
1.18.0-1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

Attempting to install libwayland-server0:i386 creates more dependency problems.
Comment 1 Clay Weber 2022-03-09 14:28:11 UTC
Created attachment 147394 [details]
Attempting to install libwayland-client0:1386
Comment 2 Jonathan Riddell 2022-03-09 17:36:39 UTC
I've built i386 versions here, can you install them and check they help?
http://embra.edinburghlinux.co.uk/~jr/tmp/wayland.tar.gz
http://embra.edinburghlinux.co.uk/~jr/tmp/wayland/
Comment 3 Jonathan Riddell 2022-03-09 19:17:02 UTC
Installing the ones I built:

```
wget http://embra.edinburghlinux.co.uk/~jr/tmp/wayland-debs.tar.gz
tar xf wayland-debs.tar.gz
dpkg --install wayland/*deb
apt -f install
```
Comment 4 Jonathan Riddell 2022-03-09 19:17:39 UTC
*** Bug 451324 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Riddell 2022-03-09 19:18:14 UTC
*** Bug 451312 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan Riddell 2022-03-09 19:18:26 UTC
*** Bug 451328 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan Riddell 2022-03-09 19:18:55 UTC
This seems to break lockscreen and log in and out etc
Comment 8 Jonathan Riddell 2022-03-09 19:51:08 UTC
The libwayland i386 debs should now be published in neon user edition apt
Comment 9 Jonathan Riddell 2022-03-09 20:45:43 UTC
libwayland build7 packages now in neon user edition installing good for me
Comment 10 Gabriel 2022-03-09 21:38:04 UTC
*** Bug 451332 has been marked as a duplicate of this bug. ***
Comment 11 Aranjedeath 2022-03-09 23:01:34 UTC
I can confirm build7 of the various wayland packages fixes this!

Can Clay confirm this resolves it? :D
Comment 12 Daniel Duris 2022-03-10 08:53:02 UTC
Resolved for me after running :
sudo apt update && sudo pkcon update (unfortunately using sudo pkcon update alone did not do anything!)
Comment 13 Armando Ota 2022-03-10 11:29:03 UTC
Updated latest wayland libs available by discover. Can confirm bug is gone.
Comment 14 Antonio Rojas 2022-03-10 16:14:51 UTC
*** Bug 451322 has been marked as a duplicate of this bug. ***
Comment 15 Clay Weber 2022-03-10 17:37:08 UTC
(In reply to Aranjedeath from comment #11)
> I can confirm build7 of the various wayland packages fixes this!
> 
> Can Clay confirm this resolves it? :D

Apologies for the delay.
Yes, I can confirm.
Comment 16 Igor Tarasov 2022-03-21 08:21:20 UTC
I've tried updating to the latest version, and still I have this issue:

LANG=C apt list -i libwayland*
Listing... Done
libwayland-amdgpu-client0/focal,now 1.18.0.50000-1373477 amd64 [installed,automatic]
libwayland-amdgpu-client0/focal,now 1.18.0.50000-1373477 i386 [installed,automatic]
libwayland-amdgpu-egl1/focal,now 1.18.0.50000-1373477 amd64 [installed,automatic]
libwayland-amdgpu-egl1/focal,now 1.18.0.50000-1373477 i386 [installed,automatic]
libwayland-amdgpu-server0/focal,now 1.18.0.50000-1373477 amd64 [installed,automatic]
libwayland-amdgpu-server0/focal,now 1.18.0.50000-1373477 i386 [installed,automatic]
libwayland-client0/focal,now 1.20.0-1+20.04+focal+release+build7 amd64 [installed]
libwayland-cursor0/focal,now 1.20.0-1+20.04+focal+release+build7 amd64 [installed]
libwayland-egl1/focal,now 1.20.0-1+20.04+focal+release+build7 amd64 [installed]
libwayland-server0/focal,now 1.20.0-1+20.04+focal+release+build7 amd64 [installed,automatic]

Is it due to amdgpu driver installed? How could this be solved?
Comment 17 Nate Graham 2022-03-23 04:17:38 UTC
*** Bug 451334 has been marked as a duplicate of this bug. ***
Comment 18 Jonathan Riddell 2022-03-23 10:40:03 UTC
(In reply to Igor Tarasov from comment #16)
> I've tried updating to the latest version, and still I have this issue:
> 
> LANG=C apt list -i libwayland*
> Listing... Done
> libwayland-amdgpu-client0/focal,now 1.18.0.50000-1373477 amd64
> [installed,automatic]
> libwayland-amdgpu-client0/focal,now 1.18.0.50000-1373477 i386
> [installed,automatic]
> libwayland-amdgpu-egl1/focal,now 1.18.0.50000-1373477 amd64
> [installed,automatic]
> libwayland-amdgpu-egl1/focal,now 1.18.0.50000-1373477 i386
> [installed,automatic]
> libwayland-amdgpu-server0/focal,now 1.18.0.50000-1373477 amd64
> [installed,automatic]
> libwayland-amdgpu-server0/focal,now 1.18.0.50000-1373477 i386
> [installed,automatic]
> libwayland-client0/focal,now 1.20.0-1+20.04+focal+release+build7 amd64
> [installed]
> libwayland-cursor0/focal,now 1.20.0-1+20.04+focal+release+build7 amd64
> [installed]
> libwayland-egl1/focal,now 1.20.0-1+20.04+focal+release+build7 amd64
> [installed]
> libwayland-server0/focal,now 1.20.0-1+20.04+focal+release+build7 amd64
> [installed,automatic]
> 
> Is it due to amdgpu driver installed? How could this be solved?

I don't see these packages in the Ubuntu or Neon archives.  Can you paste the output of:

apt-cache policy libwayland-amdgpu-client0
Comment 19 Vlad 2022-04-07 20:22:56 UTC
Still happens when I start Steam. These 2 packages wont install: libegl1:i386  libgbm1:i386
pkcon update does not fix it.

Kde Neon User edition

CPU: 6-Core Intel Core i7-8750H (-MT MCP-)
Kernel: 5.17.0-1.2-liquorix-amd64 x86_64 bits: 64 Desktop: KDE Plasma 5.24.4 Distro: KDE neon 20.04 5.24 
Graphics:
  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 510.60.02 
  Display: x11 server: X.Org 1.20.13 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 510.60.02 


root@vlad:/home/vlad# apt install libegl1:i386  libgbm1:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 2
Starting 2 pkgProblemResolver with broken count: 2
Investigating (0) libgbm1:i386 < none -> 22.0.1~kisak1~f @un puN Ib >
Broken libgbm1:i386 Depends on libwayland-server0:i386 < none | 1.18.0-1 @un uH > (>= 1.15.0)
  Considering libwayland-server0:i386 0 as a solution to libgbm1:i386 10000
Investigating (0) libegl-mesa0:i386 < none -> 22.0.1~kisak1~f @un uN Ib >
Broken libegl-mesa0:i386 Depends on libwayland-client0:i386 < none | 1.18.0-1 @un uH > (>= 1.15.0)
  Considering libwayland-client0:i386 0 as a solution to libegl-mesa0:i386 0
  Holding Back libegl-mesa0:i386 rather than change libwayland-client0:i386
Investigating (1) libgbm1:i386 < none -> 22.0.1~kisak1~f @un puN Ib >
Broken libgbm1:i386 Depends on libwayland-server0:i386 < none | 1.18.0-1 @un uH > (>= 1.15.0)
  Considering libwayland-server0:i386 0 as a solution to libgbm1:i386 10000
Investigating (1) libegl1:i386 < none -> 1.3.2-1~ubuntu0.20.04.2 @un puN Ib >
Broken libegl1:i386 Depends on libegl-mesa0:i386 < none | 22.0.1~kisak1~f @un uH >
  Considering libegl-mesa0:i386 0 as a solution to libegl1:i386 9998
    Reinst Failed because of libwayland-client0:i386
  Considering libegl-mesa0:i386 0 as a solution to libegl1:i386 9998
  Considering libegl-mesa0:i386 0 as a solution to libegl1:i386 9998
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:
 libegl1:i386 : Depends: libegl-mesa0:i386 but it is not going to be installed
 libgbm1:i386 : Depends: libwayland-server0:i386 (>= 1.15.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Comment 20 sa666666 2022-04-07 20:36:04 UTC
I ended up having to download the updated DEBs from the server, and manually install with dpkg.  It worked fine from that point on.
Comment 21 Vlad 2022-04-09 20:10:37 UTC
Seems that libegl1:i386  libgbm1:i386 depend on libwayland-server0:i386

libwayland-server0:i386 cannot be insalled since libwayland-server0:amd64 is different

libwayland-server0:i386 available version is 1.18.0-1
libwayland-server0:amd64 available version is 1.20.0-1+20.04+focal+release+build8

I can downgrade everything to version 1.18.0-1 and it installs properly, but then the lock screen not working bug returns, so it's a regression from the lock screen bug.
Comment 22 Janis P 2022-08-27 18:56:31 UTC
For anyone else being lead here by googling errors: install steam from the package manager and not by downloading steam from steampowered.com to avoid this problem. 

Worked for me on neon 22.04.
Comment 23 Nate Graham 2022-08-27 20:54:50 UTC
The supported method is actually to get it from FlatHub or the Snap Store using the Discover app, not the package manager. Neon does not officially support getting non-KDE apps from the package manager, and they can break randomly like this. It's quite unpleasant when it happens so I strongly recommend using one of the supported methods of getting apps.

This bug report should maybe be closed, but I'll let the Neon maintainers make that decision.
Comment 24 Konrad Materka 2023-02-23 21:01:05 UTC
Steam is not the only popular thing that can't be easily installed, also "wine". KDE neon is even mentioned on the official site:
https://wiki.winehq.org/Ubuntu

libpoppler-glib8 is not the only package but also libjpeg-turbo8 (updated yesterday)
Comment 25 Lars Ivar Igesund 2023-08-19 08:04:27 UTC
(In reply to Konrad Materka from comment #24)
> Steam is not the only popular thing that can't be easily installed, also
> "wine". KDE neon is even mentioned on the official site:
> https://wiki.winehq.org/Ubuntu
> 
> libpoppler-glib8 is not the only package but also libjpeg-turbo8 (updated
> yesterday)

The libpoppler thing with wine is still an issue. This may be me not knowing all the supported ways on Neon to install wine, but in particular I need wine 8, and only method I've found (except building it myself) is via the winehq repos. By downgrading libpoppler (which is the recommended/only method out on the Internets), I was able to eventually install winehq-staging, but I lost it again after the next update of the system.
Comment 26 Konrad Materka 2023-10-30 22:58:25 UTC
I used Wine from apt repository, but no longer. Probably better option is to use one of the Wine managers, like: Bottles, Lutris, PlayOnLinux, etc. You can have multiple versions of Wine at the same time, create separate prefixes, easily add workarounds, dependencies etc