Bug 467873

Summary: Every time after rebooting Discover wants me to install the same packages again
Product: [Applications] Discover Reporter: Thomas <thomas.bremer>
Component: Installed pageAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: major CC: aleixpol, miaumiui, nate, sitter
Priority: NOR    
Version First Reported In: 5.27.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: These packages are supposed to updated again and again.
Environment 1
Environment 2
View after restart Discover which came with the distribution.
View after restart Discover with "plasma-discover --backends packagekit".
View after restart Discover with "plasma-discover --backends flatpak".

Description Thomas 2023-03-28 08:29:34 UTC
Created attachment 157660 [details]
These packages are supposed to updated again and again.

SUMMARY
Every time after rebooting Discover wants me to install the same packages again


STEPS TO REPRODUCE
1. Reboot and login to Neon.
2. See the Discover icon  with the blue or red dot in the task bar. Click on it.
3. Click update and wait.
4. When all updates are installed progress with step 1.


OBSERVED RESULT
Updated packages are not updated or not marked/written in the updates database.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.27
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Thomas 2023-03-28 08:31:31 UTC
Created attachment 157661 [details]
Environment 1
Comment 2 Thomas 2023-03-28 08:33:16 UTC
Created attachment 157662 [details]
Environment 2
Comment 3 Thomas 2023-03-28 08:36:51 UTC
When running "sudo pkcon update" from the console I get this result (but Discover still tells me that there are updates available and installs them):

Getting updates               [=========================]         
Finished                      [=========================]         
No packages require updating to newer versions.
Comment 4 Aleix Pol 2023-03-30 22:51:02 UTC
Can you please run "plasma-discover" on the terminal and tell us which output you get?

Can you try it with different backends? I see you also have flatpak apps so try separately:
* plasma-discover --backends packagekit
* plasma-discover --backends flatpak

Maybe it will help us isolate the problem. This is not something I'd heard before.
Comment 5 Thomas 2023-03-31 07:04:48 UTC
Indeed, there is a difference. Please see the pictures that show:

1. Discover system program (which came with the distribution) after restart (shows the problem)
2. Discover started with "plasma-discover --backends packagekit" (seems to work correctly)
3. Discover started with "plasma-discover --backends flatpak" (shows the problem)(In reply to Aleix Pol from comment #4)
> Can you please run "plasma-discover" on the terminal and tell us which
> output you get?
> 
> Can you try it with different backends? I see you also have flatpak apps so
> try separately:
> * plasma-discover --backends packagekit
> * plasma-discover --backends flatpak
> 
> Maybe it will help us isolate the problem. This is not something I'd heard
> before.

Indeed, there is a difference. Please see the pictures that show:

1. Discover system program (which came with the distribution) after restart (shows the problem)
2. Discover started with "plasma-discover --backends packagekit" (seems to work correctly)
3. Discover started with "plasma-discover --backends flatpak" (shows the problem)
Comment 6 Thomas 2023-03-31 07:06:12 UTC
Created attachment 157734 [details]
View after restart Discover which came with the distribution.
Comment 7 Thomas 2023-03-31 07:07:01 UTC
Created attachment 157735 [details]
View after restart Discover with "plasma-discover --backends packagekit".
Comment 8 Thomas 2023-03-31 07:08:28 UTC
Created attachment 157736 [details]
View after restart Discover with "plasma-discover --backends flatpak".
Comment 9 Thomas 2023-03-31 07:21:34 UTC
Console output for "plasma-discover --backends packagekit":

fetch ratings! false
adding empty sources model QStandardItemModel(0x563191360290)
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/BasicListItem.qml:279:18: QML QQuickItem*: Binding loop detected for property "implicitWidth"
no component found for "org.kde.neon.neon"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Comment 10 Thomas 2023-03-31 07:22:49 UTC
Console output for "plasma-discover --backends flatpak":

fetch ratings! false
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/BasicListItem.qml:279:18: QML QQuickItem*: Binding loop detected for property "implicitWidth"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Comment 11 Thomas 2023-03-31 07:29:02 UTC
Output for "plasma-discover":

fetch ratings! false
adding empty sources model QStandardItemModel(0x55b46f29cd70)
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/BasicListItem.qml:279:18: QML QQuickItem*: Binding loop detected for property "implicitWidth"
no component found for "org.kde.neon.neon"
took really long to fetch KNSBackend(0x55b46f1d0690, name = "/usr/share/knsrcfiles/ksplash.knsrc")
took really long to fetch KNSBackend(0x55b46f1d3fe0, name = "/usr/share/knsrcfiles/systemmonitor-faces.knsrc")
took really long to fetch KNSBackend(0x55b46f1d84e0, name = "/usr/share/knsrcfiles/sddmtheme.knsrc")
took really long to fetch KNSBackend(0x55b46f1e3960, name = "/usr/share/knsrcfiles/window-decorations.knsrc")
took really long to fetch KNSBackend(0x55b46f1deb30, name = "/usr/share/knsrcfiles/gtk_themes.knsrc")
took really long to fetch KNSBackend(0x55b46f1dd240, name = "/usr/share/knsrcfiles/kwineffect.knsrc")
took really long to fetch KNSBackend(0x55b46f1ebc20, name = "/usr/share/knsrcfiles/plasma-systemmonitor.knsrc")
took really long to fetch KNSBackend(0x55b46f1e2810, name = "/usr/share/knsrcfiles/plasma-themes.knsrc")
took really long to fetch KNSBackend(0x55b46f1f1f90, name = "/usr/share/knsrcfiles/servicemenu.knsrc")
took really long to fetch KNSBackend(0x55b46f1f5490, name = "/usr/share/knsrcfiles/krunner.knsrc")
took really long to fetch KNSBackend(0x55b46f204200, name = "/usr/share/knsrcfiles/aurorae.knsrc")
took really long to fetch KNSBackend(0x55b46f205700, name = "/usr/share/knsrcfiles/icons.knsrc")
took really long to fetch KNSBackend(0x55b46f1fb210, name = "/usr/share/knsrcfiles/plymouth.knsrc")
took really long to fetch KNSBackend(0x55b46f20b910, name = "/usr/share/knsrcfiles/plasmoids.knsrc")
took really long to fetch KNSBackend(0x55b46f1ec4a0, name = "/usr/share/knsrcfiles/comic.knsrc")
took really long to fetch KNSBackend(0x55b46f211110, name = "/usr/share/knsrcfiles/kwinswitcher.knsrc")
took really long to fetch KNSBackend(0x55b46f2170f0, name = "/usr/share/knsrcfiles/xcursor.knsrc")
took really long to fetch KNSBackend(0x55b46f222c50, name = "/usr/share/knsrcfiles/wallpaper.knsrc")
took really long to fetch KNSBackend(0x55b46f21de20, name = "/usr/share/knsrcfiles/kfontinst.knsrc")
took really long to fetch KNSBackend(0x55b46f2247b0, name = "/usr/share/knsrcfiles/wallpaper-mobile.knsrc")
took really long to fetch KNSBackend(0x55b46f22dd30, name = "/usr/share/knsrcfiles/kwinscripts.knsrc")
took really long to fetch KNSBackend(0x55b46f225b70, name = "/usr/share/knsrcfiles/wallpaperplugin.knsrc")
took really long to fetch KNSBackend(0x55b46f22cf00, name = "/usr/share/knsrcfiles/colorschemes.knsrc")
took really long to fetch KNSBackend(0x55b46f2300a0, name = "/usr/share/knsrcfiles/konsole.knsrc")
took really long to fetch KNSBackend(0x55b46f231510, name = "/usr/share/knsrcfiles/lookandfeel.knsrc")
took really long to fetch KNSBackend(0x55b46f2348e0, name = "/usr/share/knsrcfiles/systemmonitor-presets.knsrc")
took really long to fetch KNSBackend(0x55b46f22c420, name = "/usr/share/knsrcfiles/k3btheme.knsrc")
took really long to fetch FwupdBackend(0x55b46f29feb0)
fwupd: Device not supported: UEFI dbx No releases found: Device only supports version upgrades
fwupd: Device not supported: UEFI dbx
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/ScrollablePage.qml:200:9: QML MouseArea: Binding loop detected for property "implicitHeight"
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
Comment 12 Harald Sitter 2025-01-25 16:34:33 UTC
Is this reproducible?
Comment 13 Thomas 2025-01-26 22:26:24 UTC
It was, but not anymore. I changed OS to Kubuntu.
Comment 14 Harald Sitter 2025-01-27 15:29:04 UTC
Cool