Bug 460662 - Discover does not find updates on Arch LInux, after upgrade to Plasma 5.26
Summary: Discover does not find updates on Arch LInux, after upgrade to Plasma 5.26
Status: RESOLVED DUPLICATE of bug 450381
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (show other bugs)
Version: 5.26.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-18 15:14 UTC by Punky
Modified: 2022-10-21 14:57 UTC (History)
3 users (show)

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


Attachments
Picture of problem... (288.87 KB, image/png)
2022-10-18 15:14 UTC, Punky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Punky 2022-10-18 15:14:40 UTC
Created attachment 153004 [details]
Picture of problem...

SUMMARY

I personally do not use Discover to update packages, but I like the update notifications that Discover provides... also, sometimes I use discover to update flatpak packages....

After Plasma 5.26 update, discover does not show updates from main Arch repos, only for flatpak packages... I tried to delete:

/var/lib/PackageKit/alpm

and restarting packagekit servis, but is still here.

STEPS TO REPRODUCE
1. open Discover
2. go to update tab and try to fetch updates
3. try to update system with pacman


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux, Plasma 5.26
(available in About System)
KDE Plasma Version: 5.26
KDE Frameworks Version: 5.99
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-10-18 19:16:53 UTC
Some questions to help us figure this out:

1. Can you verify that the packagekit library and Discover's packagekit packend packages are installed?
2. If they are, what does `pkcon get-updates` say?
3. If that produces the expected output, can you paste the terminal output of running `plasma-discover --mode Update`?
Comment 2 Punky 2022-10-18 19:42:15 UTC
(In reply to Nate Graham from comment #1)
> Some questions to help us figure this out:
> 
> 1. Can you verify that the packagekit library and Discover's packagekit
> packend packages are installed?
> 2. If they are, what does `pkcon get-updates` say?
> 3. If that produces the expected output, can you paste the terminal output
> of running `plasma-discover --mode Update`?

ANWSER:

1. packagekit and packagekit-qt5 are installed...

2. 
[punky@desktop ~]$ pkcon get-update
get-update-detail   get-updates         
[punky@desktop ~]$ pkcon get-updates
Getting updates               [=========================]         
Finished                      [=========================]         
There are no updates available at this time.

(copied from konsole output)

- There is available update, there is Plasma 5.26.1...

3. When run "plasma-discover --mode Update":

[punky@desktop ~]$ plasma-discover --mode Update
qrc:/qml/DiscoverPage.qml:17:13: QML InlineMessage: Cannot anchor to an item that isn't a parent or sibling.
adding empty sources model QStandardItemModel(0x55a193c8ad40)
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:76:5: QML Binding: Binding loop detected for property "value"
no component found for "org.archlinux.arch"
Comment 3 Nate Graham 2022-10-18 19:48:05 UTC
Ok, if pkcon doesn't see the updates either, that means there is an issue with pacman and packagekit becoming de-synced. This is an issue with one of them; please file a bug report on Arch itself. Thanks!
Comment 4 Patrick Silva 2022-10-18 19:51:35 UTC
*** This bug has been marked as a duplicate of bug 450381 ***
Comment 5 Punky 2022-10-18 19:53:03 UTC
(In reply to Patrick Silva from comment #4)
> 
> *** This bug has been marked as a duplicate of bug 450381 ***

Thanks!
Comment 6 Patrick Silva 2022-10-18 20:05:22 UTC
(In reply to Punky from comment #5)
> (In reply to Patrick Silva from comment #4)
> > 
> > *** This bug has been marked as a duplicate of bug 450381 ***
> 
> Thanks!

There is a workaround in Arch wiki
https://wiki.archlinux.org/title/KDE#Discover_stops_showing_updates_from_Arch_repositories
Comment 7 Punky 2022-10-21 14:57:36 UTC
(In reply to Patrick Silva from comment #6)
> (In reply to Punky from comment #5)
> > (In reply to Patrick Silva from comment #4)
> > > 
> > > *** This bug has been marked as a duplicate of bug 450381 ***
> > 
> > Thanks!
> 
> There is a workaround in Arch wiki
> https://wiki.archlinux.org/title/
> KDE#Discover_stops_showing_updates_from_Arch_repositories

Look at my first post (bug report). :)