Bug 1469667

Summary: dnf should recommend sqlite package so tab completion works correctly
Product: [Fedora] Fedora Reporter: Matthew Miller <mattdm>
Component: dnfAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: fran, hitori.gm, packaging-team-maint, robin.a.meade, rockonthemoonfm, rpm-software-management, vmukhame
Target Milestone: ---Keywords: EasyFix, Triaged, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-03 15:08:44 UTC 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 Matthew Miller 2017-07-11 15:15:19 UTC
Description of problem:

/usr/share/bash-completion/completion/dnf includes references to the sqlite3 command. Without that installed, related completions do not... complete.


Version-Release number of selected component (if applicable):

dnf-2.5.1-1.fc26.noarch

How reproducible:

inherent

Steps to Reproduce:
1. Install Fedora Workstation with default parameters
2. Try to tab complete something like `dnf upgrade sq[TAB]

Actual results:

Nothing

Expected results:

List of packages starting with sq

Additional info:

Install sqlite and watch the results above change.

Recommendation:

Add "Recommends: sqlite" or "Recommends: /usr/bin/sqlite3" to DNF package so sqlite gets pulled in. Please also check for other commands that might be used in the dnf completion file and address similarly.

Comment 1 Igor Gnatenko 2018-01-03 15:08:59 UTC
*** Bug 1479330 has been marked as a duplicate of this bug. ***