Tab completion is hanging when attempting to complete package names. eg dnf info fire[TAB]
. How can I fix this?
It works in general for bash, and also for completing dnf
options, but not for package names. It appears to freeze the command line and I have to hit Ctrl-C twice to get back the command prompt.
Tab completion used to work on Fedora 28, and this issue started after upgrading to Fedora 29.
I have the bash-completion
and sqlite
packages installed, which are required for completion.
Using sudo strace -pXXXX -fro /tmp/strace.log
(where XXXX is the process ID of the bash terminal where tab completion is being attempted) from here generated a 9MB 80k+ line log file and attached 55 processes. Suggestions of what hints to look for in there?
Observations on dnf
package name tab completion
- does not work for my user
- works for root
- does not work after
dnf install
ordnf info
- works after
dnf remove
(including for my user)
sort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.EACCES (Permission denied)
entries regarding access to/var/lib/rpm
and files within it such as.dbenv.lock
and.rpm.lock
. Also in that directory is a binary filePackages
that is ~300MB, is that normal? I'm just making blind guesses here...