Bug 1648686
| Summary: | TAB autocomplete broken after 28->29 upgrade | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrey Chessnokov <chessnokov> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 29 | CC: | damiannohales, dmach, jberan, mblaha, mhatina, packaging-team-maint, paulo.fidalgo.pt, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-16 11:57:58 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
Andrey Chessnokov
2018-11-11 17:12:46 UTC
Description of problem: 'sudo dnf install [TAB]' does not work, no list of packages output Steps to Reproduce: 1. sudo dnf install [TAB] Actual results: no list of packages Expected results: list of packages I've also found this, I've already tried a dnf clean and rpm --rebuilddb but without luck. is there anything I can do to help the triage? I have the same problem Basically, running "sudo dnf install naut[TAB]" makes dnf hangs, so I have to stroke ctrl-c to get the prompt control back. Seeing at the bash-completion file, I saw the Python code responsible of autocompleting packages and tried to execute that snippet by hand: $ python3 -c "import sys; from dnf.cli import completion_helper as ch;ch.main(sys.argv[1:])" install naut -d 0 -q -C Importing GPG key 0x429476B4: Userid : "Fedora 29 (29) <fedora-29>" Fingerprint: 5A03 B4DD 8254 ECA0 2FDA 1637 A20A A56B 4294 76B4 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-x86_64 Is this ok [y/N]: So this prompt is not letting dnf to show the completions, even by responding Y here, the subsequent execution of the completion command ask to import this key again. *** This bug has been marked as a duplicate of bug 1625674 *** |