Can't Install any RPM through Gnome Software

Hi!
I’ve been facing this problem since upgrading from fedora 31 to fedora 32.
I can’t install any rpm that i’ve downloaded from the internet through gnome-software.
Every time i double click it, gnome software would open and a message saying Failed to install file: not supported will appear
874b5065630b7d5cd8120ff5c9e8060b507a0e21.png
This happens on every rpm file i downloaded (e.g google chrome, skype, zoom).
Though, Installing it from dnf localinstall will just do fine.
I wonder is the wrong in my system or is it a bug in gnome software?

Thank you!

Open a terminal and issue this command
killall gnome-software && gnome-software --verbose

Then double click the rpm file and look in the terminal for errors and warnings, if there is any clue on what’s happening.

hi these are error message that i got:
for zoom:

06:06:43:0221 Gs failed to convert file to GsApp: no application was created for running file-to-app with dedupe-flags=7 with refine-flags=require-license,require-url,require-size,require-version,require-history,require-setup-action,require-origin,require-related,require-menu-path,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime,require-screenshots,require-categories,require-project-group,require-developer-name,require-kudos,content-rating with timeout=60 with file=/home/farhanmakarim/Downloads/zoom_x86_64.rpm on plugin=flatpak took 646ms
06:06:43:0222 Gs Disconnecting cancellable 0x5613f98278e0
06:06:43:0285 Gs not handling error download-failed for action file-to-app: cannot update repo ‘fedora-modular’: Cannot prepare internal mirrorlist: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]; Last error: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]

for skype:

06:07:11:0269 Gs not handling error download-failed for action file-to-app: cannot update repo ‘fedora-modular’: Cannot prepare internal mirrorlist: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]; Last error: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]
06:07:11:0269 Gs emitting global finished
06:07:11:0269 Gs failed to convert file to GsApp: no application was created for running file-to-app with dedupe-flags=7 with refine-flags=require-license,require-url,require-size,require-version,require-history,require-setup-action,require-origin,require-related,require-menu-path,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime,require-screenshots,require-categories,require-project-group,require-developer-name,require-kudos,content-rating with timeout=60 with file=/home/farhanmakarim/Downloads/skypeforlinux-64.rpm on plugin=flatpak took 604ms

for chrome:

06:07:14:0753 Gs not handling error download-failed for action file-to-app: cannot update repo ‘fedora-modular’: Cannot prepare internal mirrorlist: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]; Last error: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]
06:07:14:0753 Gs emitting global finished
06:07:14:0753 Gs failed to convert file to GsApp: no application was created for running file-to-app with dedupe-flags=7 with refine-flags=require-license,require-url,require-size,require-version,require-history,require-setup-action,require-origin,require-related,require-menu-path,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime,require-screenshots,require-categories,require-project-group,require-developer-name,require-kudos,content-rating with timeout=60 with file=/home/farhanmakarim/Downloads/google-chrome-stable_current_x86_64.rpm on plugin=flatpak took 612ms

Out of curiosity, what happens if you issue this command?
cd ~/Downloads ; curl -O "https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64"

That’s not how you install software in modern Linux distributions.
You rather want to use software repositories, which exist for rpms and flatpaks.

Gnome Software for example displays (part of) what is available in Fedora’s repositories. In addition, for media stuff for example, people often add rpmfusion.org repositories.

The software you mention seems all available on flathub.org. Check it out!

The disadvantage of that method is that you don’t receive updates unless you reinstall a newer rpm.
Better go with the stuff from the repos and different app stores (Gnome Software and flathub.org)

@florian wait. This is true for some software. Other ones are not in any repository (Fedora, rpmfusion, etc.) but are provided solely as downloadable RPMs
Furthermore, many people prefer to use the RPM even if the software is available in flatpak.

In any case, it is true that installing software outside of repositories is not a good practice (i.e. google-chrome has his repository), but it is still permitted if a user want to do it; and here the problem is that it doesn’t work by double clicking on the rpm file. So, I think, let’s diagnose where the problem is before suggesting workarounds.

@leemu please issue also this command:
pkcon refresh force
What does it say?

nothing come out from terminal:

[farhanmakarim@gamla-stan ~]$ cd ~/Downloads ; curl -O “https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6024 100 6024 0 0 6932 0 --:–:-- --:–:-- --:–:-- 6932

but this file got downloaded:
https://send.firefox.com/download/e29612d36a9de048/#F9K_NkQgO6tpld5DR-R4Pw

i know, but it just bother me how a simple feature like gui installer doesn’t works.
and tho i prefer using repo, you can’t get some apps like zoom and google chrome from fedora repo.

here’s the result:

[farhanmakarim@gamla-stan ~]$ pkcon refresh force
Refreshing cache [=========================]
Starting [=========================]
Querying [=========================]
Finished [=========================]
Fatal error: cannot update repo ‘fedora-modular’: Cannot prepare internal mirrorlist: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]; Last error: Curl error (5): Couldn’t resolve proxy name for https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64 [Unsupported proxy syntax in ‘http://:8080/’]

Google Chrome has an rpm repository btw. You can find it in GNOME software if you enable third party repositories. And however it is eventually installed when you install the rpm.

1 Like

Ok.
I suspect you have the proxy enabled but without any address set.
Please go to Settings → Network and look at the Network Proxy.

ccc368aa3f831cc299f58bd0ecb82038892b8183.png

Is it like this screenshot?

afbfc80b9b53357d29a57dbe3172569dec455c5c.png

If yes, select the Disabled radio button and close the window.

2 Likes

It is!

Then close gnome-software, and evantually issue
killall gnome-software
and retry.

1 Like

Now it works as it should! Thank you!

1 Like

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