Bug 1167125 - Dnf tab completion broken
Summary: Dnf tab completion broken
Keywords:
Status: CLOSED DUPLICATE of bug 1151231
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-23 22:00 UTC by czerny.jakub
Modified: 2014-11-24 20:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-24 20:57:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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