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

Launchpad Bug Tracker 1358154 at bugs.launchpad.net
Thu Aug 27 16:32:54 UTC 2015


This bug was fixed in the package bash-completion - 1:2.1-4ubuntu0.1

---------------
bash-completion (1:2.1-4ubuntu0.1) trusty-proposed; urgency=medium

  * debian/patches/14-add-apt-bts747094.patch:
    - Add support for the new "apt" command. (LP: #1358154)

 -- Simon Deziel <simon.deziel at gmail.com>  Fri, 14 Aug 2015 08:03:55
-0700

** Changed in: bash-completion (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
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 bash-completion package in Debian:
  New

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