Bug 2232052

Summary: Unable to use dnf tab completion after upgrading from F38 -> F39
Product: [Fedora] Fedora Reporter: grumpey0
Component: dnfAssignee: rpm-software-management
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: daniel.mach, jmracek, jrohel, mblaha, packaging-team-maint, pkratoch, rpm-software-management
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description grumpey0 2023-08-15 03:45:34 UTC
Description of problem:
when attempting to utilize tab completion. 

sudo dnf install bash
Error: in prepare, no such column: bash%
  select pkg from available where pkg like "bash%" and pkg not in (select pkg fr
                             error here ---^

Version-Release number of selected component (if applicable):
4.16.2
  Installed: dnf-0:4.16.2-2.fc39.noarch at Tue 15 Aug 2023 02:54:45 AM GMT
  Built    : Fedora Project at Fri 04 Aug 2023 11:19:30 AM GMT

  Installed: rpm-0:4.18.92-1.fc39.x86_64 at Tue 15 Aug 2023 02:54:13 AM GMT
  Built    : Fedora Project at Wed 02 Aug 2023 05:06:29 PM GMT


How reproducible:
every time currently

Steps to Reproduce:
1.sudo dnf install bash
2.hit tab to autocomplete entry
3.

Actual results:
Error: in prepare, no such column: bash%
  select pkg from available where pkg like "bash%" and pkg not in (select pkg fr
                             error here ---^

Expected results:

package name autocompleted. 
Additional info: