Bug 2236786 - Bash completion is broken: "Error: in prepare, no such column: mutter%"
Summary: Bash completion is broken: "Error: in prepare, no such column: mutter%"
Keywords:
Status: CLOSED DUPLICATE of bug 2232052
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-01 14:00 UTC by Michael Catanzaro
Modified: 2023-09-01 14:17 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-01 14:17:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Catanzaro 2023-09-01 14:00:42 UTC
I typed `sudo dnf install mutter` then hit tab to invoke bash completion. A strange error message including an SQL query is printed:

$ sudo dnf install mutterError: in prepare, no such column: mutter%
  select pkg from available where pkg like "mutter%" and pkg not in (select pkg 
                             error here ---^
-^C

This is using dnf-0:4.16.2-2.fc39

Reproducible: Always

Comment 1 Jan Kolarik 2023-09-01 14:17:51 UTC
Hello, this issue is already reported in https://bugzilla.redhat.com/show_bug.cgi?id=2232052. In Rawhide, it should be already fixed in dnf-4.17.0-1.fc40 (see https://bodhi.fedoraproject.org/updates/FEDORA-2023-8782a26bc2). In F39, it should be fixed in about two weeks after the beta freeze is unlocked.

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


Note You need to log in before you can comment on or make changes to this bug.