Control: severity -1 wishlist

On 2019-07-30 13:25 +0800, Ryan Lue wrote:

> Package: ncurses-term
> Version: 6.1+20190713-1
> Severity: important
>
> Dear Maintainer,
>
> The latest version of this package bundles a terminfo file for the
> alacritty terminal emulator (/usr/share/terminfo/a/alacritty).
> This terminfo file is also provided by the official alacritty repo,
> when built and installed with cargo-deb:
>
>     $ cargo deb --install --manifest-path alacritty/Cargo.toml
>     ...
>     Preparing to unpack .../alacritty_0.3.3_amd64.deb ...
>     Unpacking alacritty (0.3.3) ...
>     dpkg: error processing archive 
> /home/rlue/tmp/alacritty/target/debian/alacritty_0.3.3_amd64.deb (--install):
>      trying to overwrite '/usr/share/terminfo/a/alacritty', which is also in 
> package ncurses-term 6.1+20190713-1
>     Processing triggers for mime-support (3.62) ...
>     Errors were encountered while processing:
>      /home/rlue/tmp/alacritty/target/debian/alacritty_0.3.3_amd64.deb
>     cargo-deb: installation failed, because dpkg -i returned error
>
> I am not sure whether this constitutes an issue in the official
> ncurses-term debian package or in alacritty’s cargo-deb packaging
> configuration, but I am assuming it is the former. In any case, I have
> filed an issue on alacritty’s GitHub tracker for cross-referencing
> purposes:
>
> https://github.com/jwilm/alacritty/issues/2685

As mentioned by Christian Duerr in that bug report, this is not a bug in
ncurses-term, since we cannot possibly monitor random github
repositories.  In any case, it has been agreed that alacritty's .deb
needs to move its file out of the way.  Once that has been accomplished,
I will probably add a versioned Replaces on alacritty to ncurses-term so
that other users do not stumble upon this issue.

In the meantime, you can

- add a diversion for the conflicting file so that ncurses-term and
  alacritty can peacefully coexist:

# dpkg-divert --package ncurses-term --rename --add 
/usr/share/terminfo/a/alacritty

- test the patch which I pushed to github[1] and comment on the issue
  you opened.

Cheers,
       Sven


1. 
https://github.com/zwenna/alacritty/commit/95982960f61f160b05cbb49185dfc2788eb40a8a

Reply via email to