Failed to install rpm by double clicking: sorry something went wrong

Issues related to applications and software problems
Post Reply
password636
Posts: 2
Joined: 2019/07/12 08:19:26

Failed to install rpm by double clicking: sorry something went wrong

Post by password636 » 2019/07/12 08:42:42

Hi,

I tried to install VS Code by doubling click the downloaded rpm file but got an opened Application Installer window saying "Sorry, something went wrong".

The logs are as follows:
Jul 10 09:52:08 localhost journal: failed to call gs_plugin_file_to_app on packagekit-local: [(null)] GetFilesLocal not supported by backend
Jul 10 09:52:08 localhost journal: failed to convert file to GsApp: no application was created for running file-to-app 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 with failure-flags=use-events with timeout=60 with file=/home/lizl/Downloads/code-1.36.1-1562627663.el7.x86_64.rpm on plugin=flatpak took 367ms
I did some search and found one related post:
Cannot install downloaded RPM files from *Nautilus*

The *yum* backend to *PackageKit* does not support getting details about local files. As a consequence, when an RPM file is double clicked in the *Nautilus* file manger, the file is not installed, and the following error message is returned:

Sorry, this did not work, File is not supported

To work around this problem, either install the _gnome-packagekit_ package to handle the double-click action, or manually install the files using the *yum* utility.
I already have gnome-packagekit installed on my machine but it didn't solve the problem.

Code: Select all

$ rpm -qa|grep gnome-packagekit
gnome-packagekit-common-3.28.0-1.el7.x86_64
gnome-packagekit-installer-3.28.0-1.el7.x86_64
gnome-packagekit-3.28.0-1.el7.x86_64
gnome-packagekit-updater-3.28.0-1.el7.x86_64

I'm using CentOS 7.6:

Code: Select all

$ uname -a
Linux localhost.localdomain 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa|grep gnome-software
gnome-software-3.28.2-3.el7.x86_64


Can anyone help?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failed to install rpm by double clicking: sorry something went wrong

Post by TrevorH » 2019/07/12 11:29:17

Use yum.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

password636
Posts: 2
Joined: 2019/07/12 08:19:26

Re: Failed to install rpm by double clicking: sorry something went wrong

Post by password636 » 2019/07/15 03:22:19

TrevorH wrote:
2019/07/12 11:29:17
Use yum.
I don't want to use yum :( . It is best that I can install rpm files by doube clicking. That is one reason why I installed desktop environment :D

Post Reply