[Bug 1372286] Re: unwanted space after directory completion (probably old cruft after upgrades)
Peter Cordes
peter at cordes.ca
Mon Dec 1 21:37:57 UTC 2014
Attached the full-fledged perl script I cooked up to investigate
obsolete conffiles.
grep the output, it doesn't take options.
When removing them, it often leaves empty directories, so don't forget
to remove them, too. (If they aren't owned by some other package...
check with dlocate, or add support to my script for walking up a path
and checking.)
I *highly* recommend etckeeper to save your bacon if you delete something and then wish you hadn't.
sudo git checkout master~4 -- bash_completion.d/mercurial
was far more convenient than re-installing the package. And you have a record of what you did.
** Attachment added: "list all obsolete conffiles that aren't non-obsolete in another package"
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1372286/+attachment/4272472/+files/obs-conffiles
--
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/1372286
Title:
unwanted space after directory completion (probably old cruft after
upgrades)
Status in bash-completion package in Ubuntu:
Confirmed
Bug description:
With bash-completion 2.1, some users are seeing broken completion for
directories, with a space being added at the end, requiring a
[BACKSPACE]/[TAB].
Testcase copied from bug 1000470, which I'm closing because it was
probably from acroread.sh, which is now blacklisted.
Extra space scenario:
find /op<TAB> ==> find /opt<Space>
Backslash scenario:
cd ~
mkdir -p test\ 1/test
find test\ 1/t<TAB>
find test 1/test
find: `test': No such file or directory
find: `1/test': No such file or directory
This bug can get closed when we find out what other old files get left in /etc/bash_completion.d and cause problems, so we can blacklist them, too.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1372286/+subscriptions
More information about the foundations-bugs
mailing list