Bug 445634 - SSDM reports an error. Unable to log in.
Summary: SSDM reports an error. Unable to log in.
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.88.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-17 09:39 UTC by fizista
Modified: 2021-11-20 10:57 UTC (History)
3 users (show)

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


Attachments
List of updated packages (22.63 KB, text/x-log)
2021-11-17 09:40 UTC, fizista
Details
Picture showing the error displayed on the monitor screen. (1.26 MB, image/jpeg)
2021-11-17 09:43 UTC, fizista
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fizista 2021-11-17 09:39:26 UTC
SUMMARY

SDDM displays the error shown in the attachment. It is not possible to log in.

STEPS TO REPRODUCE
1.  Upgrade packages, See attachment
2.  reboot
3.  SDDM crash

OBSERVED RESULT

Under SDDM, the breeze theme does not load.
An error is displayed:
The current theme cannot be loaded due to the errors below, please select another theme.

After uninstalling the breeze theme and installing the lubuntu theme, it is still impossible to log in.

Systemd logs:
lis 17 09:09:25 computer systemd[1]: Started Session 16 of user sddm.
lis 17 09:09:25 computer sddm[24268]: Greeter session started successfully
lis 17 09:09:25 computer sddm-greeter[24293]: High-DPI autoscaling not Enabled
lis 17 09:09:25 computer sddm-greeter[24293]: Reading from "/usr/share/wayland-sessions/plasma-mobile.desktop"
lis 17 09:09:25 computer sddm-greeter[24293]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
lis 17 09:09:25 computer sddm-greeter[24293]: Reading from "/usr/share/xsessions/plasma.desktop"
lis 17 09:09:25 computer sddm-greeter[24293]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
lis 17 09:09:25 computer sddm-greeter[24293]: Connected to the daemon.
lis 17 09:09:25 computer sddm-greeter[24293]: QFont::fromString: Invalid description '(empty)'
lis 17 09:09:25 computer sddm[24268]: Message received from greeter: Connect
lis 17 09:09:25 computer sddm-greeter[24293]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
lis 17 09:09:25 computer sddm-greeter[24293]: file:///usr/share/sddm/themes/breeze/Main.qml:14:1: plugin cannot be loaded for module "org.kde.plasma.core": Cannot load library /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so: (/usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5: undefined symbol: _ZNK15KPluginMetaData5valueERK7QStringRK11QStringList) 
lis 17 09:09:25 computer sddm-greeter[24293]: file:///usr/share/sddm/themes/breeze/Main.qml:14:1: plugin cannot be loaded for module "org.kde.plasma.core": Cannot load library /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so: (/usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5: undefined symbol: _ZNK15KPluginMetaData5valueERK7QStringRK11QStringList) 
lis 17 09:09:25 computer sddm-greeter[24293]: Fallback to embedded theme
lis 17 09:09:25 computer sddm-greeter[24293]: file:///usr/lib/x86_64-linux-gnu/qt5/qml/SddmComponents/LayoutBox.qml:35:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
lis 17 09:09:25 computer nxexec[23435]: pam_unix(nx:session): session closed for user sddm
lis 17 09:09:25 computer nxexec[24319]: pam_unix(nx:session): session opened for user sddm by (uid=133)
lis 17 09:09:25 computer systemd-logind[1703]: New session c7 of user sddm.


Cannot login to the system.

EXPECTED RESULT

To be able to log into the system.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Distributor ID: Neon
Description:    KDE neon User - Plasma 25th Anniversary Edition
Release:        20.04
Codename:       focal

Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Kernel Version: 5.4.0-90-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 fizista 2021-11-17 09:40:43 UTC
Created attachment 143655 [details]
List of updated packages
Comment 2 fizista 2021-11-17 09:43:49 UTC
Created attachment 143657 [details]
Picture showing the error displayed on the monitor screen.
Comment 3 Andrew D'Addesio 2021-11-17 19:08:53 UTC
Likely dupe of #445622. @fizista can you paste the output of

    apt list --installed | grep -i libkf5coreaddons
Comment 4 fizista 2021-11-19 07:12:55 UTC
(In reply to Andrew D'Addesio from comment #3)
> Likely dupe of #445622. @fizista can you paste the output of
> 
>     apt list --installed | grep -i libkf5coreaddons

I have restored an earlier version of plasma-framework. And the above commands refer to the current state, not the crash state.

libkf5coreaddons-data/now 5:5.86.0-0xneon+20.04+focal+release+build26 all [installed,local]
libkf5coreaddons5/now 5:5.86.0-0xneon+20.04+focal+release+build26 amd64 [installed,local]

$ apt policy libkf5coreaddons5
libkf5coreaddons5:
  Installed: 5:5.86.0-0xneon+20.04+focal+release+build26
  Candidate: 5:5.86.0-0xneon+20.04+focal+release+build26
  Version table:
 *** 5:5.86.0-0xneon+20.04+focal+release+build26 100
        100 /var/lib/dpkg/status
     5.88.0-0xneon+20.04+focal+release+build32 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.87.0-0xneon+20.04+focal+release+build31 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.86.0-0xneon+20.04+focal+release+build27 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.85.0-0xneon+20.04+focal+release+build25 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.84.0-0xneon+20.04+focal+release+build24 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.68.0-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

$ apt policy libkf5coreaddons-data
libkf5coreaddons-data:
  Installed: 5:5.86.0-0xneon+20.04+focal+release+build26
  Candidate: 5:5.86.0-0xneon+20.04+focal+release+build26
  Version table:
 *** 5:5.86.0-0xneon+20.04+focal+release+build26 100
        100 /var/lib/dpkg/status
     5.88.0-0xneon+20.04+focal+release+build32 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
        500 https://archive.neon.kde.org/user focal/main i386 Packages
        500 https://archive.neon.kde.org/user focal/main all Packages
     5.87.0-0xneon+20.04+focal+release+build31 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
        500 https://archive.neon.kde.org/user focal/main i386 Packages
        500 https://archive.neon.kde.org/user focal/main all Packages
     5.86.0-0xneon+20.04+focal+release+build27 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
        500 https://archive.neon.kde.org/user focal/main i386 Packages
        500 https://archive.neon.kde.org/user focal/main all Packages
     5.85.0-0xneon+20.04+focal+release+build25 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
        500 https://archive.neon.kde.org/user focal/main i386 Packages
        500 https://archive.neon.kde.org/user focal/main all Packages
     5.84.0-0xneon+20.04+focal+release+build24 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
        500 https://archive.neon.kde.org/user focal/main i386 Packages
        500 https://archive.neon.kde.org/user focal/main all Packages
     5.68.0-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu focal/universe i386 Packages




$ apt policy plasma-framework
plasma-framework:
  Installed: 5.87.0-0xneon+20.04+focal+release+build49
  Candidate: 5.88.0-0xneon+20.04+focal+release+build50
  Version table:
     5.88.0-0xneon+20.04+focal+release+build50 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
 *** 5.87.0-0xneon+20.04+focal+release+build49 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
        100 /var/lib/dpkg/status
     5.86.0-0xneon+20.04+focal+release+build44 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.85.0-0xneon+20.04+focal+release+build39 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.85.0-0xneon+20.04+focal+release+build38 500
        500 https://archive.neon.kde.org/user focal/main amd64 Packages
     5.68.0-0ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Comment 5 Andrew D'Addesio 2021-11-19 19:10:43 UTC
Very similar to the other bug report - libkf5coreaddons isn't getting updated to 5.88.

Problem - The Neon maintainers changed the version convention for this package, making Ubuntu think the old package ("5:5.86.0") is a newer version than "5.88.0". The maintainers fixed this by placing an override inside /etc/apt/preferences.d/50-kcoreaddons, but this file won't exist unless you have the neon-settings-2 package installed.

Solution - You need to install neon-settings-2, which *should* exist on a clean install of KDE Neon. The question is, what's uninstalling this package? (In my case, it's because I installed kubuntu-desktop a long time ago which conflicts with neon-settings-2 - my system broke during the Neon 18.04 -> Neon 20.04 upgrade, and installing that package was the easiest way to reinstall all the KDE apps again. But that had the effect of removing neon-settings-2 later down the road.)
Comment 6 Andrei Rybak 2021-11-20 09:35:21 UTC
Same thing happened to me after an upgrade and reboot, also with `Main.qml:14:1` and `_ZNK15KPluginMetaData5valueERK7QStringRK11QStringList`.
Comment 7 Andrei Rybak 2021-11-20 09:39:47 UTC
In my case, running `apt-cache policy libkf5coreaddons-dev` shows that `libkf5coreaddons-dev` is not installed at all. The file `/etc/apt/preferences.d/50-kcoreaddons` does exist, which includes a pin for `libkf5coreaddons-dev` with priority `1001`.
Comment 8 Andrei Rybak 2021-11-20 09:43:07 UTC
(In reply to Andrei Rybak from comment #7)
> In my case, running `apt-cache policy libkf5coreaddons-dev` shows that
> `libkf5coreaddons-dev` is not installed at all.

In my case, `libkf5coreaddons5` and `libkf5coreaddons-data` are installed with the "incorrect" `5:5.86.0` and `aptitude` refuses to upgrade to them.
Comment 9 Andrei Rybak 2021-11-20 09:47:58 UTC
(In reply to Andrei Rybak from comment #8)
> `libkf5coreaddons5` and `libkf5coreaddons-data` are installed with the "incorrect" `5:5.86.0`
> and `aptitude` refuses to upgrade to them.

I managed to install `5.88.0` versions of the packages (without `5:` prefix) with `sudo pkcon refresh && sudo pkcon update`, but it confusingly refers to it as a "downgrade".
Comment 10 Andrei Rybak 2021-11-20 09:50:38 UTC
(In reply to Andrei Rybak from comment #9)
> (In reply to Andrei Rybak from comment #8)
> > `libkf5coreaddons5` and `libkf5coreaddons-data` are installed with the "incorrect" `5:5.86.0`
> 
> I managed to install `5.88.0` versions of the packages (without `5:` prefix) with `sudo pkcon refresh && sudo pkcon update`

After a reboot, everything seems fine.
Comment 11 fizista 2021-11-20 10:57:55 UTC
(In reply to Andrew D'Addesio from comment #5)
> Very similar to the other bug report - libkf5coreaddons isn't getting
> updated to 5.88.
> 
> Problem - The Neon maintainers changed the version convention for this
> package, making Ubuntu think the old package ("5:5.86.0") is a newer version
> than "5.88.0". The maintainers fixed this by placing an override inside
> /etc/apt/preferences.d/50-kcoreaddons, but this file won't exist unless you
> have the neon-settings-2 package installed.
> 
> Solution - You need to install neon-settings-2, which *should* exist on a
> clean install of KDE Neon. The question is, what's uninstalling this
> package? (In my case, it's because I installed kubuntu-desktop a long time
> ago which conflicts with neon-settings-2 - my system broke during the Neon
> 18.04 -> Neon 20.04 upgrade, and installing that package was the easiest way
> to reinstall all the KDE apps again. But that had the effect of removing
> neon-settings-2 later down the road.)

After installing neon-settings-2, the installation was successful.

Thank you.