Thanks for digging and giving me all the details!

The completion file is still part of the package but a recent change in
setup.py is preventing its installation.

I will be fixing this issue in the next release.

Thanks!
Julien

On Sat, Dec 29, 2018 at 6:39 PM Gabriel F. T. Gomes <
gabr...@inconstante.net.br> wrote:

> On 28 Dec 2018, Gabriel F. T. Gomes wrote:
>
> Shirish,
>
> Thanks for the report and for reassigning the bug against ifupdown2.
>
> Julien,
>
> Shirish and I investigated a problem he found with bash-completion
> (/usr/share/bash-completion/completions/ifup was missing), and we
> noticed that the problem occurs after an upgrade of ifupdown2 (from
> version 2_1.0~git20170314-1 to version 1.2.2-1).
>
> In order to reproduce it, you may follow the following steps
> (bash-completion must be installed):
>
> >Here are the steps to reproduce it:
> >
> >1. Install ifupdown2 version (ifupdown2_1.0~git20170314-1_all.deb)
> >
> >  # dpkg -i ifupdown2_1.0~git20170314-1_all.deb
> >
> >2. Check that it installs files under /usr/share/bash-completion
> >
> >  # dpkg --search /usr/share/bash-completion/completions/ifup
> >  diversion by ifupdown2 from: /usr/share/bash-completion/completions/ifup
> >  diversion by ifupdown2 to:
> /usr/share/bash-completion/completions/ifup.disabled
> >  ifupdown2, bash-completion: /usr/share/bash-completion/completions/ifup
> >
> >3. See that ifup is actually there:
> >
> >  # ls /usr/share/bash-completion/completions/ifup
> >  /usr/share/bash-completion/completions/ifup
> >
> >4. Upgrade ifupdown2:
> >
> >  # aptitude upgrade ifupdown2
> >
> >5. Repeat steps 2 and 3 (then see that the file is missing):
> >
> >  # dpkg --search /usr/share/bash-completion/completions/ifup
> >  diversion by ifupdown2 from: /usr/share/bash-completion/completions/ifup
> >  diversion by ifupdown2 to:
> /usr/share/bash-completion/completions/ifup.disabled
> >  bash-completion: /usr/share/bash-completion/completions/ifup
> >
> >  # ls /usr/share/bash-completion/completions/ifup
> >  ls: cannot access '/usr/share/bash-completion/completions/ifup': No
> such file or directory
>
> I think that this may be a problem with ifupdown2, rather than with
> bash-completion, so I suggested that this bug be reassigned against
> ifupdown2.
>
> Apparently, ifupdown2 used to ship the completion file for ifup, but it
> no longer does it (which is great in my opinion, because it removes the
> conflict with bash-completion).  However, I don't know why, after the
> update, bash-completion is unable to install the completion file for
> ifup.  There must be something in apt blocking it to do so.
>

Reply via email to