rpmfusion-infra / fedy

Fedy makes it easy to install third-party software in Fedora.
GNU General Public License v3.0
177 stars 20 forks source link

'package' failed #127

Open RDSweb25 opened 6 months ago

RDSweb25 commented 6 months ago

My system is Fedora 38 Need a way to see why 'package' failed. 'package' = any software package, Google Chrome, Filebot, Multimedia codecs and etc. That require root priv to install.

I get Authenticate window asking for password to run as root. When I enter password for root, I get Authentication Failed. But when I enter my password and try to install the 'package'. I then get notification window says 'package' failed. Is there a way to see why the installation package failed?

Or did I miss something when I installed Fedy.

To Reproduce

  1. Launch Fedy
  2. Click on a 'package', I have tried Google Chrome and Filebot.
  3. Authenticate window pop-up, enter password
  4. Then notification will pop-up, 'package' Failed.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version Information: Please run the following commands in the terminal and provide the output after the colon:

Additional context Add any other context about the problem here.

kwizart commented 6 months ago

Can you provide the group for your user ?

$ groups

Fedy might assumes end-user has right to install package using "his password" as sudo like. (not the root password), so end-user should be in the wheel group for this to work by default.

Also can you run and show the outputs ? sudo bash -x /usr/share/fedy/plugins/google-chrome.plugin/install.sh

RDSweb25 commented 6 months ago

Good Morning, Had some system issues, had to reinstall Fedora 37, per your request;Email request; redwolf ~]$ groups robert wheel

@.*** ~]$ sudo bash -x /usr/share/fedy/plugins/google-chrome.plugin/install.sh [sudo] password for robert:

Transaction Summary

Install  2 Packages

Total size: 102 M Total download size: 7.8 k Installed size: 323 M Downloading Packages: liberation-fonts-2.1.5-3.fc37.noarch.rpm                                                            24 kB/s | 7.8 kB     00:00    

Total                                                                                               11 kB/s | 7.8 kB     00:00      Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction   Preparing        :                                                                                                           1/1   Installing       : liberation-fonts-1:2.1.5-3.fc37.noarch                                                                    1/2   Running scriptlet: google-chrome-stable-120.0.6099.199-1.x86_64                                                              2/2   Installing       : google-chrome-stable-120.0.6099.199-1.x86_64                                                              2/2   Running scriptlet: google-chrome-stable-120.0.6099.199-1.x86_64                                                              2/2   Verifying        : liberation-fonts-1:2.1.5-3.fc37.noarch                                                                    1/2   Verifying        : google-chrome-stable-120.0.6099.199-1.x86_64                                                              2/2

Installed:   google-chrome-stable-120.0.6099.199-1.x86_64                        liberation-fonts-1:2.1.5-3.fc37.noarch                       

Complete!

peazip.plugin redwolf ~]$ sudo bash -x /usr/share/fedy/plugins/peazip.plugin/install.sh [sudo] password for robert:

The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr, and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. Error: It wasn't possible to enable this project. Repository 'fedora-37-x86_64' does not exist in project 'brollylssj/PeaZip'.

redwolf ~]$ sudo bash -x /usr/share/fedy/plugins/codecs.plugin/install.sh bash: /usr/share/fedy/plugins/codecs.plugin/install.sh: No such file or directory @.*** ~]$ ls -al /usr/share/fedy/plugins/codecs.plugin total 4 drwxr-xr-x. 1 root root   26 Jan  4 07:30 . drwxr-xr-x. 1 root root 5302 Jan  4 07:30 .. -rw-r--r--. 1 root root  526 Sep 18 10:59 metadata.json

Robert Dale Stanifer Phone: (919) 880-0795 Email: @.***

On Wednesday, January 3, 2024 at 07:42:14 AM EST, Nicolas Chauvet (kwizart) ***@***.***> wrote:  

Can you provide the group for your user ?

$ groups

Fedy might assumes end-user has right to install package using "his password" as sudo like. (not the root password)

Also can you run and show the outputs ? sudo bash -x /usr/share/fedy/plugins/google-chrome.plugin/install.sh

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kwizart commented 6 months ago

There is no install.sh for any plugin, but seems like installing peazip failed (so I will remove the fedy plugin as there is no alternative)

kwizart commented 6 months ago

Does you initial permission issue was fixed by reinstalling fedora ?

Also note that f37 is EOL, you will not have further fedy releases...

RDSweb25 commented 6 months ago

I did find peazip, and install it. But not using fedy for it.Went to peazip.github.io/peazip-linux.html -> click on TechSpot to download.Select package to download, deb. rpm, etc.Download and install.  

Robert Dale Stanifer Phone: (919) 880-0795 Email: @.***

On Friday, January 5, 2024 at 06:54:12 AM EST, Nicolas Chauvet (kwizart) ***@***.***> wrote:  

There is no install.sh for any plugin, but seems like installing peazip failed (so I will remove the fedy plugin as there is no alternative)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

RDSweb25 commented 6 months ago

No, Having the same problem with Multimedia codecs.I think you need a window explaining why the install failed.

Robert Dale Stanifer Phone: (919) 880-0795 Email: @.***

On Friday, January 5, 2024 at 06:54:36 AM EST, Nicolas Chauvet (kwizart) ***@***.***> wrote:  

Does you initial permission issue was fixed by reinstalling fedora ?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kwizart commented 6 months ago

About multimedia codecs, I've found some issue that can be solved recently, but it requires fedora 38 and newer fedy (unreleased)

Can you try this install.sh ? (using bash -x ) https://github.com/rpmfusion-infra/fedy/commit/464dd6bd74c68a8ff99f6437937ec74bd9f0fb5d#diff-d08d3b20c026d05a5cfa0d58d740c31f8b18db64c513873f8b5bbf57fef4efcd