On Fri, Dec 28, 2018 at 01:46:30AM +0530, shirish शिरीष wrote: > $ sudo aptitude reinstall bash-completion > [sudo] password for shirish: > The following packages will be REINSTALLED: > bash-completion > 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and > 9 not upgraded. > Need to get 0 B/208 kB of archives. After unpacking 0 B will be used. > (Reading database ... 517477 files and directories currently installed.) > Preparing to unpack .../bash-completion_1%3a2.8-5_all.deb ... > Unpacking bash-completion (1:2.8-5) over (1:2.8-5) ... > Setting up bash-completion (1:2.8-5) ... > Processing triggers for man-db (2.8.4-3) ... > adequate found packaging bugs > ----------------------------- > > bash-completion: broken-symlink > /usr/share/bash-completion/completions/ifdown.disabled -> ifup > bash-completion: broken-symlink > /usr/share/bash-completion/completions/ifstatus -> ifup > bash-completion: py-file-not-bytecompiled > /usr/share/bash-completion/completions/btdownloadheadless.py > bash-completion: py-file-not-bytecompiled > /usr/share/bash-completion/completions/asciidoc.py > bash-completion: py-file-not-bytecompiled > /usr/share/bash-completion/completions/btdownloadcurses.py > bash-completion: py-file-not-bytecompiled > /usr/share/bash-completion/completions/btdownloadgui.py
Thanks for trying my suggestion. > Just to make sure I didn't do anything silly I purged and installed > bash-completion again but still got the same error as above. Thanks for doing this, too. > I do see I have ifupdown2 installed. Maybe something in there messed > up with bash-completion at least the if states . I installed it, too, but it didn't cause these bugs for me (not even after purging then re-installing bash-completion), so I think I'll need your help to investigate this. When you purge bash-completion, does it remove /usr/share/bash-completion entirely? > I did see this however, dunno if these are somehow responsible - > > The last bit is from $ dpkg -L ifupdown2 | tail > > /var/lib/ifupdown2/policy.d > /sbin/ifdown > package diverts others to: /sbin/ifdown.disabled > /sbin/ifquery > package diverts others to: /sbin/ifquery.disabled > /sbin/ifreload > package diverts others to: /sbin/ifreload.disabled > /sbin/ifup > package diverts others to: /sbin/ifup.disabled > /usr/share/ifupdown2/ifupdown2 I don't see anything wrong with this snippet, however, I'm looking into the packaging files for ifupdown2 and I see that it ships (or used to ship) a completion file for ifup. > I am willing to investigate but have no idea about bash-completion > except that it makes my life easier. What is the version of ifupdown2 that you have installed in your machine? Do you know if you updated it recently?