Red Hat Bugzilla – Bug 1070902
dnf autocomplete for install ./* + <TAB> takes ages
Last modified: 2015-10-13 02:52:54 EDT
Description of problem:
When used dnf install with ./ prefix (or other file path prefix) it should presume it is local install and it should autocomplete RPMs only from the specified path like yum do.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build / download some RPM binary package to your local filesystem, e.g. grep-2.18-1.fc21.x86_64.rpm
2. yum install ./grep + <TAB>
3. dnf install ./grep + <TAB>
The first command returns immediately and correctly autocompletes the name.
It takes very long time for the second (dnf) command to autocomplete the name.
Immediate autocomplete for dnf as yum do.
Hello, thank you for the report. I will keep it with low priority for now.
Elad, would you mind taking this? Thanks.
Sure, I'll take a look.
It might take me few days until I find a proper time to do so, unfortunately, but I'll get to it as soon as I have time.
(In reply to Jaroslav Škarvada from comment #0)
> When used dnf install with ./ prefix (or other file path prefix) it should
> presume it is local install and it should autocomplete RPMs only from the
> specified path like yum do.
I have experienced this issue as well, but installing dnf-plugins-core somehow makes auto-completion from both the database and local directories extremely fast (much faster than yum).
I'm re-writing bash-completion from scratch. this functionality will be added.
dnf-0.6.2-1.fc21 has been submitted as an update for Fedora 21.
* 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 dnf-0.6.2-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 20 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.
dnf-0.6.4-6.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14323
dnf-0.6.4-7.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b
dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update dnf'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b
dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.