Bug 2373014

Summary: PackageKit-command-not-found: Failed to obtain authentication
Product: [Fedora] Fedora Reporter: Osama Albahrani <osalbahr>
Component: PackageKitAssignee: Rex Dieter <rdieter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: awilliam, gnome-sig, rdieter, rhughes
Target Milestone: ---Keywords: Desktop, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-04 00:37:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Osama Albahrani 2025-06-16 14:32:41 UTC
PackageKit-command-not-found not working on a new installation of Fedora 43 Rawhide 20250616.n.0 nightly compose.

Reproducible: Always

Steps to Reproduce:
1. Run an uninstalled program, such as fastfetch
2. Respond with "y" to the installation prompt
3. Error appears
Actual Results:
$ fastfetch
bash: fastfetch: command not found...
Install package 'fastfetch' to provide command 'fastfetch'? [N/y] y


 * Waiting in queue... 
 * Loading list of packages.... 
The following packages have to be installed:
 fastfetch-2.44.0-1.fc43.x86_64	Fast neofetch-like system information tool
 yyjson-0.11.1-1.fc43.x86_64	A high performance JSON library written in ANSI C
Proceed with changes? [N/y] y


 * Waiting in queue... 
 * Waiting for authentication... 
 * Waiting in queue... 
 * Downloading packages... 
 * Waiting in queue... 
 * Waiting for authentication... Failed to install packages: Failed to obtain authentication.

$ cowsay test
bash: cowsay: command not found...
Install package 'cowsay' to provide command 'cowsay'? [N/y] y


 * Waiting in queue... 
 * Loading list of packages.... 
The following packages have to be installed:
 cowsay-3.8.4-2.fc42.noarch	Configurable speaking/thinking cow
Proceed with changes? [N/y] y


 * Waiting in queue... 
 * Waiting for authentication... 
 * Waiting in queue... 
 * Downloading packages... 
 * Waiting in queue... 
 * Waiting for authentication... Failed to install packages: Failed to obtain authentication.


Expected Results:
Package installed and runs

Additional Information:
Installed Fedora on a 2017 MacBook Pro (Intel-based).

Comment 1 Osama Albahrani 2025-08-26 20:26:53 UTC
This still happens with today's F43 branched nightly compose.

Comment 2 Osama Albahrani 2025-09-12 16:56:42 UTC
This still happens with Fedora-Workstation-Live-43_Beta-1.3.x86_64.iso (Fedora 43 Beta 1.3)

Comment 3 Adam Williamson (Red Hat non-Fedora) 2025-09-29 15:15:43 UTC
Can you try again with latest libdnf? This may have been a symptom of https://bugzilla.redhat.com/show_bug.cgi?id=2372978 . Thanks!

Comment 4 Osama Albahrani 2025-09-29 15:19:22 UTC
Seems to be fixed now!

Comment 5 Adam Williamson (Red Hat non-Fedora) 2025-10-04 00:37:50 UTC
Thanks for the confirmation.

*** This bug has been marked as a duplicate of bug 2372978 ***