Bug 1167125

Summary: Dnf tab completion broken
Product: [Fedora] Fedora Reporter: czerny.jakub
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: akozumpl, jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-24 20:57:53 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 czerny.jakub 2014-11-23 22:00:43 UTC
Description of problem:
Dnf can't tab-complete names of packages after install command. It prints weird error message.

Version-Release number of selected component (if applicable):
Name        : dnf
Arch        : noarch
Epoch       : 0
Version     : 0.6.2
Release     : 1.fc21


How reproducible:
100%

Steps to Reproduce:
1. Open terminal
2. Type: `sudo dnf install gi` (the prefix of package name can differ)
3. Press 'Tab'

Actual results:
> cut: you must specify a list of bytes, characters, or fields
> Try 'cut --help' for more information.
... is printed after the command. However, misleadingly, this text is not accepted as part of entered command. I.e. Text of input and output seems mixed.


Expected results:
Complete the package name if prefix is unique, or nothing if there are multiple possibilities. (Double 'tab' to print all possibilities.)


Additional info:
Console looks like this:

$ sudo dnf install gicut: you must specify a list of bytes, characters, or fields
Try 'cut --help' for more information.
▊

^ (typing cursor is here)

Comment 1 Honza Silhan 2014-11-24 20:57:53 UTC

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