dnf tab completion hangs
Clash Royale CLAN TAG#URR8PPP
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)
bash fedora autocomplete dnf
add a comment |
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)
bash fedora autocomplete dnf
Any repeated patterns, such as reading the same file over and over would be an indication. You might also want to "massage" the data to remove timestamps and such, and usesort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.
– l0b0
Feb 7 at 1:52
@l0b0 Thanks. By not including timestamps and using your commands plus reverse sorting, here are the lines that show up 10 or more times in the log file: paste.fedoraproject.org/paste/DQ1rt0t63463sS6xbFE-bg Any clues?
– adatum
Feb 7 at 7:40
@l0b0 I noticed in the full log file that there are someEACCES (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...
– adatum
Feb 7 at 7:51
add a comment |
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)
bash fedora autocomplete dnf
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)
bash fedora autocomplete dnf
bash fedora autocomplete dnf
edited Feb 18 at 6:59
adatum
asked Feb 7 at 0:58
adatumadatum
9710
9710
Any repeated patterns, such as reading the same file over and over would be an indication. You might also want to "massage" the data to remove timestamps and such, and usesort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.
– l0b0
Feb 7 at 1:52
@l0b0 Thanks. By not including timestamps and using your commands plus reverse sorting, here are the lines that show up 10 or more times in the log file: paste.fedoraproject.org/paste/DQ1rt0t63463sS6xbFE-bg Any clues?
– adatum
Feb 7 at 7:40
@l0b0 I noticed in the full log file that there are someEACCES (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...
– adatum
Feb 7 at 7:51
add a comment |
Any repeated patterns, such as reading the same file over and over would be an indication. You might also want to "massage" the data to remove timestamps and such, and usesort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.
– l0b0
Feb 7 at 1:52
@l0b0 Thanks. By not including timestamps and using your commands plus reverse sorting, here are the lines that show up 10 or more times in the log file: paste.fedoraproject.org/paste/DQ1rt0t63463sS6xbFE-bg Any clues?
– adatum
Feb 7 at 7:40
@l0b0 I noticed in the full log file that there are someEACCES (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...
– adatum
Feb 7 at 7:51
Any repeated patterns, such as reading the same file over and over would be an indication. You might also want to "massage" the data to remove timestamps and such, and use
sort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.– l0b0
Feb 7 at 1:52
Any repeated patterns, such as reading the same file over and over would be an indication. You might also want to "massage" the data to remove timestamps and such, and use
sort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.– l0b0
Feb 7 at 1:52
@l0b0 Thanks. By not including timestamps and using your commands plus reverse sorting, here are the lines that show up 10 or more times in the log file: paste.fedoraproject.org/paste/DQ1rt0t63463sS6xbFE-bg Any clues?
– adatum
Feb 7 at 7:40
@l0b0 Thanks. By not including timestamps and using your commands plus reverse sorting, here are the lines that show up 10 or more times in the log file: paste.fedoraproject.org/paste/DQ1rt0t63463sS6xbFE-bg Any clues?
– adatum
Feb 7 at 7:40
@l0b0 I noticed in the full log file that there are some
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 file Packages
that is ~300MB, is that normal? I'm just making blind guesses here...– adatum
Feb 7 at 7:51
@l0b0 I noticed in the full log file that there are some
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 file Packages
that is ~300MB, is that normal? I'm just making blind guesses here...– adatum
Feb 7 at 7:51
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499195%2fdnf-tab-completion-hangs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499195%2fdnf-tab-completion-hangs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Any repeated patterns, such as reading the same file over and over would be an indication. You might also want to "massage" the data to remove timestamps and such, and use
sort | uniq -c | sort -k1 -n
(untested) to see if there are any lines which stand out as extremely frequent.– l0b0
Feb 7 at 1:52
@l0b0 Thanks. By not including timestamps and using your commands plus reverse sorting, here are the lines that show up 10 or more times in the log file: paste.fedoraproject.org/paste/DQ1rt0t63463sS6xbFE-bg Any clues?
– adatum
Feb 7 at 7:40
@l0b0 I noticed in the full log file that there are some
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...– adatum
Feb 7 at 7:51