#994173 completion broken on "apt-get u<tab>"

Package:
bash-completion
Source:
bash-completion
Submitter:
Philipp Marek
Date:
2021-10-10 14:45:03 UTC
Severity:
normal
Tags:
#994173#5
Date:
2021-09-13 08:17:12 UTC
From:
To:
With this new bash-completion (and the associated bash=5.1-3+b1),
the completion is broken.

    $ apt-get u<tab>

now puts all three possibilities on the CLI (instead of letting me
choose); with "a<tab>" nothing is allowed (although there is "autoclean"
and "autoremove").

With the older versions it works fine again.

#994173#10
Date:
2021-10-03 17:38:31 UTC
From:
To:
Hi,

I could not reproduce this bug, even though I tried every version all
the way down to 1:2.10-2. Here's what I get:

  $ apt-get u<TAB>
  $ apt-get up<TAB><TAB>
  update   upgrade

  $ apt-get a<TAB>
  $ apt-get auto<TAB><TAB>
  autoclean   autoremove

If you have more information, I'd be happy to look again.

Cheers,
Gabriel

#994173#17
Date:
2021-10-04 07:01:55 UTC
From:
To:
Hi Gabriel,

Yeah, something else is broken - I had the same problem
with 5.1-2+b3/1:2.11-2 recently.


Perhaps I can find out what went wrong...
do you have any ideas? readline settings,
some shell function interfering (wrong completion load order?), ...??


Next time that happens, I'll dump all functions and env vars,
and compare to a working shell setup...

#994173#22
Date:
2021-10-10 14:43:20 UTC
From:
To:
I don't. There are too many variables. :/

Thanks!