Ask Your Question

dnf bash completion

asked 2015-06-01 06:05:39 -0500

yanoo gravatar image

Does it work? Do I have to install any additional packages? I've made upgrade from F21 to 22 and don't have bash completion on any of them. For yum it works perfectly fine.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2015-06-01 08:45:37 -0500

yanoo gravatar image

Ok, finally found it.

I had broken dnf-plugins-core because of problem with python-requests as described here. After fixing problem with python package dnf completion started working.

edit flag offensive delete link more



Great. Do not forget to mark your answer as the correct one in order helping others with similar problem in future.

NickTux gravatar imageNickTux ( 2015-06-01 08:47:56 -0500 )edit

I have to gain at least 20 points first ;)

yanoo gravatar imageyanoo ( 2015-06-02 08:44:35 -0500 )edit

answered 2015-07-25 13:44:17 -0500

newbeelike gravatar image

Hi, another reason for "broken" dnf bash completion could be hiccup with the dnf "langpacks-plugin" on a "non-english" system.

For instance this could look like:

[user@somewhere folder]$ dnf sea [TAB] [TAB]

are enabled langpacks: languages No search

where dnf bash completion doesn't work at all.

Setting an appropriate value for langpack_locales in file /etc/dnf/plugins/langpacks.conf "restored" dnf bash completion for me.

edit flag offensive delete link more


I think this was my problem...My language was spanish (MX), now I set it to english (US) and bash completion works.

murpholinox peligro gravatar imagemurpholinox peligro ( 2015-09-01 10:57:27 -0500 )edit

answered 2015-06-01 08:30:21 -0500

NickTux gravatar image

I've made a new installation of F22 and dnf bash completion works out of the box. Maybe something happened during the upgrade?

Do you have any dnf-completion.bash file under /etc/bash_completion.d/ folder ? If not, take it from here: dnf-completion.bash and place it under the aforementioned folder.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-01 06:05:39 -0500

Seen: 3,169 times

Last updated: Jul 25 '15