You are not logged in.

#1 2021-02-03 12:21:03

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

[SOLVED] KDE Discover store is contantly crashing after systemd update

Greetings!

I have KDE Plasma installed on my Arch installation and used the Discover store to easily update my apps and system components and install flatpak apps. But after applying the systemd 247.3-1 update, it doesn't start anymore, it just crashes on startup.

Here's error log KDE provides every single time I try to open Discover:

Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f9bd031bd99 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f9bd031c299 in g_slice_free1 () at /usr/lib/libglib-2.0.so.0
#6  0x00007f9bd1325da6 in AppStream::Metadata::parseFile(QString const&, AppStream::Metadata::FormatKind) () at /usr/lib/libAppStreamQt.so.2
#7  0x00007f9bbc08623e in  () at /usr/lib/qt/plugins/discover/flatpak-backend.so
#8  0x00007f9bbc0865e3 in  () at /usr/lib/qt/plugins/discover/flatpak-backend.so
#9  0x00007f9bbc087562 in  () at /usr/lib/qt/plugins/discover/flatpak-backend.so
#10 0x00007f9bd1eeddd6 in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f9bd1cd9525 in QFutureWatcherBase::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f9bd2e74752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f9bd1eb6a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f9bd1eb9573 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f9bd1f100a4 in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f9bd02fda84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#17 0x00007f9bd03519b1 in  () at /usr/lib/libglib-2.0.so.0
#18 0x00007f9bd02fc2b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#19 0x00007f9bd1f0f6e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f9bd1eb53fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007f9bd1ebd894 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#22 0x000055af4b8708cc in  ()
#23 0x00007f9bd1881152 in __libc_start_main () at /usr/lib/libc.so.6
#24 0x000055af4b870e6e in _start ()
[Inferior 1 (process 5140) detached]

How can I fix this without re-installing Arch Linux, but without systemd?

(Honestly, f*ck you, systemd with your OS-breaking bugs!)

Last edited by TheFurryWeeb (2021-02-04 11:56:38)


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#2 2021-02-03 16:02:33

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,928

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

Are you completely sure that this is systemd's fault? Appstream was also updated yesterday and it seems a much more plausible culprit given the backtrace. Please try downgrading appstream and appstream-qt

Offline

#3 2021-02-04 09:51:13

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

arojas wrote:

Are you completely sure that this is systemd's fault? Appstream was also updated yesterday and it seems a much more plausible culprit given the backtrace. Please try downgrading appstream and appstream-qt

I can't downgrade AppStream, even if I uninstalled KDE. It has dependency issues.

Last edited by TheFurryWeeb (2021-02-04 09:51:44)


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#4 2021-02-04 09:54:52

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,928

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

what "dependency issues"? please post literal error messages

Offline

#5 2021-02-04 11:11:59

Wu
Member
Registered: 2009-12-27
Posts: 80

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

I have the same issue and downgrading appstream/-qt actually solves it.

Offline

#6 2021-02-04 11:20:16

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

arojas wrote:

what "dependency issues"? please post literal error messages

Resolving dependencies...
error: unable to prepare transaction (unable to meet dependencies)
:: removing appstream breaks the dependency 'appstream' that appstream-qt needs
:: removing appstream-qt breaks the dependency 'appstream-qt' that discover needs
:: removing appstream-qt breaks the dependency 'appstream-qt' that plasma-workspace needs

A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#7 2021-02-04 11:24:35

Wu
Member
Registered: 2009-12-27
Posts: 80

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

TheFurryWeeb wrote:
arojas wrote:

what "dependency issues"? please post literal error messages

Resolving dependencies...
error: unable to prepare transaction (unable to meet dependencies)
:: removing appstream breaks the dependency 'appstream' that appstream-qt needs
:: removing appstream-qt breaks the dependency 'appstream-qt' that discover needs
:: removing appstream-qt breaks the dependency 'appstream-qt' that plasma-workspace needs

If you have a copy of an older version of appstream in /var/cache/pacman/pkg just go there and use

 sudo pacman -U appstream-qt-0.13.1-1-x86_64.pkg.tar.zst

and

 sudo pacman -U appstream-0.13.1-1-x86_64.pkg.tar.zst

(the version number is just an example based on what I had on my machine, replace with your own)

Offline

#8 2021-02-04 11:31:45

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

Wu wrote:
TheFurryWeeb wrote:
arojas wrote:

what "dependency issues"? please post literal error messages

Resolving dependencies...
error: unable to prepare transaction (unable to meet dependencies)
:: removing appstream breaks the dependency 'appstream' that appstream-qt needs
:: removing appstream-qt breaks the dependency 'appstream-qt' that discover needs
:: removing appstream-qt breaks the dependency 'appstream-qt' that plasma-workspace needs

If you have a copy of an older version of appstream in /var/cache/pacman/pkg just go there and use

 sudo pacman -U appstream-qt-0.13.1-1-x86_64.pkg.tar.zst

and

 sudo pacman -U appstream-0.13.1-1-x86_64.pkg.tar.zst

(the version number is just an example based on what I had on my machine, replace with your own)

I didn't have version 0.13 in my cache, so I just downloaded the package file from the Arch Linux Archive and downgraded the package that way.

How can I temporarily blacklist the updates of AppStream and re-enable it after the bugfix update came out?


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#9 2021-02-04 11:35:39

Wu
Member
Registered: 2009-12-27
Posts: 80

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

add the packages in /etc/pacman.conf "IgnorePkg" (should be around line 26), like this:

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = appstream appstream-qt
#IgnoreGroup =

Offline

#10 2021-02-04 11:40:49

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

Wu wrote:

add the packages in /etc/pacman.conf "IgnorePkg" (should be around line 26), like this:

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = appstream appstream-qt
#IgnoreGroup =

Thank you!

One final question: even though I blacklisted the packages, appstream and appstream-qt still appear in Discover. Can I blacklist them in Discover, too?


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#11 2021-02-04 11:45:47

Wu
Member
Registered: 2009-12-27
Posts: 80

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

Thank you!

One final question: even though I blacklisted the packages, appstream and appstream-qt still appear in Discover. Can I blacklist them in Discover, too?

You're welcome.

I'm not sure Discover supports Pacman blacklist feature... I use Discover only for updating Snaps (actually one single Snap application which is not available anywhere else), so it does not see ArchLinux packages in my case.
Maybe someone else does know.

Offline

#12 2021-02-04 11:54:51

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

Wu wrote:

Thank you!

One final question: even though I blacklisted the packages, appstream and appstream-qt still appear in Discover. Can I blacklist them in Discover, too?

You're welcome.

I'm not sure Discover supports Pacman blacklist feature... I use Discover only for updating Snaps (actually one single Snap application which is not available anywhere else), so it does not see ArchLinux packages in my case.
Maybe someone else does know.

Wait, Discover just needed a couple of minutes to read the updated pacman.conf file and start ignoring AppStream updates.


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#13 2021-02-04 11:55:32

TheFurryWeeb
Member
Registered: 2020-08-06
Posts: 66

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

Issue solved.


A computer and Linux nerd, an avid 2D platformer and RPG gamer and a furry combined into one person.

I hope I can help you out with your Arch issues and get myself helped out, as well.

Offline

#14 2021-02-04 11:57:45

Wu
Member
Registered: 2009-12-27
Posts: 80

Re: [SOLVED] KDE Discover store is contantly crashing after systemd update

edit: sorry, slow posting sad

Last edited by Wu (2021-02-04 11:58:49)

Offline

Board footer

Powered by FluxBB