[Bug 1358154] Re: Bash autocompletion not working for apt command

Mathew Hodson mathew.hodson at gmail.com
Thu Mar 17 17:04:19 UTC 2016


** Package changed: bash-completion (Debian) => apt (Debian)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1358154

Title:
  Bash autocompletion not working for apt command

Status in bash-completion package in Ubuntu:
  Fix Released
Status in bash-completion source package in Trusty:
  Fix Released
Status in apt package in Debian:
  Fix Released

Bug description:
  [Impact]

  Bash completion is not working for the apt tool.

  With the apt-get utility, you could do apt-g<tab> upg<tab> and hit
  enter and be done. With the new apt tool, you can no longer do this
  and instead have to type in apt list/update/upgrade/full-upgrade.

  [Test Case]

  * Type "apt upd".

  * Press Tab key.

  * Command should complete to "apt update".

  * Repeat with the first three letters of other frequently used
  commands such as install/remove/purge/upgrade/full-upgrade/edit-
  sources.

  * For the install command, the package name should be completed based
  on packages available in the repositories.

  * For the remove/purge command, the package name should be completed
  based on packages installed on the system.

  [Regression Potential]

  There shouldn't be any regression since bash-completion didn't
  previously support apt at all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1358154/+subscriptions



More information about the foundations-bugs mailing list