Red Hat Bugzilla – Bug 1181189
dnf downgrade ./<TAB> doesn't autocomplete
Last modified: 2015-06-26 08:27:29 EDT
Description of problem:
Auto-completion seems not to work for downgrade and local packages. If the command is typed by hand the command correctly finishes, so the auto-complete should also work for dnf. It works correctly for yum.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. prepare locally some RPMs
2. dnf downgrade ./<TAB>
Auto-complete feature working.
Thanks for the report. Fixed in the upstream by Igor (thanks).
dnf-plugins-core-0.1.5-1.fc21,hawkey-0.5.3-2.fc21,dnf-0.6.4-1.fc21 has been submitted as an update for Fedora 21.
Package hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.5.3-2.fc21 dnf-plugins-core-0.1.5-1.fc21 dnf-0.6.4-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
hawkey-0.5.3-2.fc21, dnf-plugins-core-0.1.5-1.fc21, dnf-0.6.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
The problem persist as of today. Today I have done fresh installs on both my laptop and desktop, and auto-complete feature is not working/working wrongly.
Steps to Reproduce:
1. sudo dnf, [TAB] [TAB] => showing items in HOME, not the possible arguments of dnf.
2. sudo dnf ins [TAB] [TAB] => nothing, should complete "install".
3. sudo dnf install lib [TAB] [TAB] => nothing.
(In reply to Titas Chanda from comment #5)
> The problem persist as of today. Today I have done fresh installs on both my
> laptop and desktop, and auto-complete feature is not working/working wrongly.
> How reproducible:
> Steps to Reproduce:
> 1. sudo dnf, [TAB] [TAB] => showing items in HOME, not the possible
> arguments of dnf.
> 2. sudo dnf ins [TAB] [TAB] => nothing, should complete "install".
> 3. sudo dnf install lib [TAB] [TAB] => nothing.
I am afraid I cannot help you, I am reporter, not maintainer of dnf, but it works correctly for me.
$ sudo dnf [TAB} =>
autoremove history remove
builddep check-update repolist
clean info repoquery
config-manager install repository-packages
copr kickstart reposync
debuginfo-install list search
distro-sync makecache updateinfo
downgrade needs-restarting upgrade
download playground upgrade-to
$ sudo dnf ins [TAB] => install
$ sudo dnf install lib [TAB] =>
Display all 4152 possibilities? (y or n)