when trying to access the autocompletion in ubuntu 19.10 it always throw an error:

awk: line 18: function gensub never defined

I think there are some system libs have wrong version or linked to wrong version of dependencies.

Any idea how to fix this or work around it?

  • @starkus please provide that as answer so I can accept it. – Wang Nov 10 '19 at 9:39
  • 1
    naughty ubuntu, it seems the main awk got switch to mawk and gawk is not in the dependencies. – Wang Nov 10 '19 at 9:42

As you can read here: bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1845529

sudo apt install gawk can avoid this problem

In the last answer of this report a guy pointed out to the debian bug, also already reported: bugs.debian.org/cgi-bin/bugreport.cgi?bug=933934

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.