Description of problem: Bash autocomplete for "dnf" is broken in F30 (beta) Version-Release number of selected component (if applicable): dnf-4.2.2-1.fc30.noarch How reproducible: 100% Steps to Reproduce: 1. I just updated to Fedora 30 (beta) 2. In bash type "sudo dnf ins" <TAB> Actual results: 3. Nothing happens Expected results: The "ins" is autocompleted to "install". Additional info: Package names are not autocompleted either, e.g. "sudo dnf info kern"<TAB> -> nothing "sudo dnf install golang"<TAB> -> nothing (there are 100's of "golang*" packages) bash-completion is installed but I believe dnf autocomplete is provided by dnf package: $ rpm -qf /usr/share/bash-completion/completions/dnf dnf-4.2.2-1.fc30.noarch $ echo $BASH_VERSION 5.0.2(1)-release Other auto-completions do work fine, e.g. "ls --"<TAB> shows options that "ls" can take, "rpm -ql kern"<TAB> shows packages matching "kern*" and so on.
I believe it is because the file /usr/lib/python3.7/site-packages/dnf/cli/completion_helper.py is missing from the installation.
PR: https://github.com/rpm-software-management/dnf/pull/1367
Thank you, the PR has been merged.
*** Bug 1692028 has been marked as a duplicate of this bug. ***
dnf-4.2.2-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4555b39d6c
dnf-4.2.2-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-157a96961d
dnf-4.2.2-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4555b39d6c
dnf-4.2.2-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-157a96961d
dnf-4.2.2-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
dnf-4.2.2-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
This bug appears to still be there after updating to dnf-4.2.2-2 Installed: dnf-0:4.2.2-2.fc30.noarch at Fri 19 Apr 2019 09:21:34 PM GMT When trying to use tab completion dnf stops responding, must ^C twice to break the process System info: cat /etc/system-release Fedora release 30 (Thirty) cat /etc/system-release-cpe cpe:/o:fedoraproject:fedora:30 Please advise on any diagnostics you require
Hi Bryan, I think this might be an unrelated issue. Can you please open new bug report?
Hi, same problem here, but in my case it was related to https://bugzilla.redhat.com/show_bug.cgi?id=1625674