Software Repositories and Discover

Hi,
My openSUSE Tumbleweed installation is running really well, with just one minor issue: The application Discover starts up but gets stuck for a minute on the “Loading” screen. It does the same thing when I click the Updates tab in Discover, staying on “Fetching Updates” for at-least a minute.

This makes me wonder if there’s an issue with my software repositories. Could anyone offer some advice and perhaps help me with a sanity check of my current repository setup?

Thanks!

zypper lr -uEP
#  | Alias                                | Name  | Enabled | GPG Check | Refresh | Priority | URI
---+--------------------------------------+-------+---------+-----------+---------+----------+--------------------------------------------------------------------------
 2 | ftp.gwdg.de-openSUSE_Tumbleweed      | Pac-> | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
 1 | NVIDIA_Proprietary_G06               | NVI-> | Yes     | (r ) Yes  | Yes     |   99     | https://download.nvidia.com/opensuse/tumbleweed/
 4 | https-download.opensuse.org-57b01892 | har-> | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/repositories/hardware/openSUSE_Tumbleweed/
 5 | https-download.opensuse.org-6617333c | ope-> | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/tumbleweed/repo/oss/
 6 | https-download.opensuse.org-e1383527 | sec-> | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/repositories/security/openSUSE_Factory/
 7 | https-download.opensuse.org-fae5bc25 | ope-> | Yes     | (r ) Yes  | Yes     |   99     | https://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/
 8 | openSUSE:repo-non-oss                | rep-> | Yes     | (r ) Yes  | Yes     |   99     | http://cdn.opensuse.org/tumbleweed/repo/non-oss
 9 | openSUSE:repo-openh264               | rep-> | Yes     | (r ) Yes  | Yes     |   99     | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed
10 | openSUSE:repo-oss                    | rep-> | Yes     | (r ) Yes  | Yes     |   99     | http://cdn.opensuse.org/tumbleweed/repo/oss
13 | openSUSE:update-tumbleweed           | upd-> | Yes     | (r ) Yes  | Yes     |   99     | http://cdn.opensuse.org/update/tumbleweed
14 | vivaldi                              | viv-> | Yes     | (r ) Yes  | Yes     |   99     | https://repo.vivaldi.com/archive/rpm/x86_64

Loading times depend on various factors:

  • your interent speed
  • your LAN/WLAN hardware capabilities
  • amount of repos
  • your general hardware setup (HDD?)

Additionally, Discover checks for Flatpaks and firmware which also might increase the loading time. Discover also uses packagekit.
https://www.google.com/search?q=plasma+discover+loading+time

Repository 4 and 6 can be removed as the came from 1-click installations and are duplicates.

Thank you very much sir. I removed the two obsolete repositories.
Unfortunately, Discover still takes at least a minute to load the grid of applications.
When I try to debug the application, I get the following output which I am not sure is normal or not. `plasma-discover
libs QList(“/usr/lib64/qt6/plugins”, “/usr/bin”)
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x56381cbf7b20)
packagekitqt.offline: Cannot process “org.freedesktop.PackageKit” as “org.freedesktop.PackageKit.Offline”

** (process:7692): WARNING **: 14:18:31.783: Metadata file ‘/var/cache/swcatalog/xml/https-download.opensuse.org-fae5bc25.xml.gz’ does not exist.

** (process:7692): WARNING **: 14:18:31.783: Metadata file ‘/var/cache/swcatalog/xml/openSUSE_repo-non-oss.xml.gz’ does not exist.

** (process:7692): WARNING **: 14:18:31.783: Metadata file ‘/var/cache/swcatalog/xml/openSUSE_repo-oss.xml.gz’ does not exist.

** (process:7692): WARNING **: 14:18:32.046: Found icon of unknown type ‘unknown’ in ‘system/package/os/org.opensuse.opensuse_welcome/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.192: Found icon of unknown type ‘unknown’ in ‘system/package/os/io.github.bit_team.back_in_time.gui/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.200: Found icon of unknown type ‘unknown’ in ‘system/package/os/io.github.syllo.nvtop/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.206: Found icon of unknown type ‘unknown’ in ‘system/package/os/org.naev.Naev/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.443: Found icon of unknown type ‘unknown’ in ‘system/package/os/org.luanti.luanti/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.449: Found icon of unknown type ‘unknown’ in ‘system/package/os/com.kdocker.KDocker.desktop/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.492: Found icon of unknown type ‘unknown’ in ‘system/package/os/im.dino.Dino/*’, skipping it.

** (process:7692): WARNING **: 14:18:32.578: Found icon of unknown type ‘unknown’ in ‘system/package/os/org.musescore.MuseScore/*’, skipping it.
PackageKitBackend: No distro component found for “org.opensuse.opensuse-tumbleweed”
packagekitqt.offline: Cannot process “org.freedesktop.PackageKit” as “org.freedesktop.PackageKit.Offline”
packagekitqt.offline: Cannot process “org.freedesktop.PackageKit” as “org.freedesktop.PackageKit.Offline”
AppStreamIntegration: No distro component found for “org.opensuse.opensuse-tumbleweed”
packagekitqt.offline: Cannot process “org.freedesktop.PackageKit” as “org.freedesktop.PackageKit.Offline”`

Would like to report back, for anyone facing the same issue, that I fixed the issue as follows:
sudo zypper install PackageKit-backend-zypp
sudo zypper clean --all
sudo systemctl restart packagekit
sudo pkcon refresh force
sudo appstreamcli refresh --force
rm -rf ~/.cache/discover/*
plasma-discover (or start Discover from the desktop)

Now, it starts again without having to “Load” for a minute.

Are you saying that this package was not present after installation?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.