Bug#678220: bash-completion: when running aptitude purge I get error

June 19th, 2012 - 08:00 pm ET by Ben Whyall | Report spam
Package: bash-completion
Version: 1:2.0-1
Severity: normal

Dear Maintainer,

When I try and auto complete a package name when doing aptitude purge I get the
following two error messages appear on pressing the tab

ash: /etc/completions/dpkg: No such file or directory
-bash: _comp_dpkg_installed_packages: command not found

Where I would normally expect the package name to be completed.

Thanks

Ben



Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii bash 4.2-2
ii dpkg 1.16.4.3

bash-completion recommends no packages.

bash-completion suggests no packages.




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Similar topics

Replies

#1 David Paleino
June 20th, 2012 - 02:50 am ET | Report spam

tags 678220 upstream unreproducible moreinfo
thanks

Hello,

On Wed, 20 Jun 2012 00:14:52 +0100, Ben Whyall wrote:

When I try and auto complete a package name when doing aptitude purge I get
the following two error messages appear on pressing the tab

ash: /etc/completions/dpkg: No such file or directory
-bash: _comp_dpkg_installed_packages: command not found

Where I would normally expect the package name to be completed.



I can't reproduce this.

Could you please do a "set -x", and then "aptitude purge <TAB>"? (don't press
TAB to complete "aptitude" or "purge", otherwise your debug output would get
messy)

Thanks,
David

. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 -|- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Ben Whyall
June 20th, 2012 - 05:30 am ET | Report spam
Hi David

I attempted to reproduce the problem to provide the debug output you
requested.

I could not reproduce it in a new terminal. So I returned to the original
and the problem was there. However upon closing and reopening it the
problem went away.

So I suggest closing the bug as unreprucible.

Sorry for wasting your time.

Ben





David Paleino wrote:
tags 678220 upstream unreproducible moreinfo
thanks

Hello,

On Wed, 20 Jun 2012 00:14:52 +0100, Ben Whyall wrote:

When I try and auto complete a package name when doing aptitude purge I
get
the following two error messages appear on pressing the tab

ash: /etc/completions/dpkg: No such file or directory
-bash: _comp_dpkg_installed_packages: command not found

Where I would normally expect the package name to be completed.



I can't reproduce this.

Could you please do a "set -x", and then "aptitude purge <TAB>"? (don't
press
TAB to complete "aptitude" or "purge", otherwise your debug output would
get
messy)

Thanks,
David





Ben Whyall




To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search