Update issue with discover application on Fedora 40 KDE Spin

I am trying to update Fedora 40 (KDE Spin) using Discover. Recently, I encountered the following error:

Package not found:

Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f40&arch=x86_64 [Unsupported proxy syntax in ‘http://:0/’: No host part in the URL]

However, I do not use a proxy, as you can see in the attached image. What should I do? Are there other ways to update my packages besides:

sudo dnf update --refresh
sudo dnf upgrade
flatpak update


Maybe you set the proxy using environment variables in a config file?

From a terminal review what environment variables you have.
You can get a list using the env command.

1 Like

Thank you for your reply. I checked my environment variables and confirmed that there are no proxy variables set, as I have attempted to unset all proxies.

I found the solution by running sudo dnf makecache and then performing the update.

I have the same problem. The solution using dns makecache did not help. This applies only to updates from the fedora40-update repository

1 Like

You are right. This could be a long-standing bug in PackageKit. I’ve found the solution here:

1 Like