Debian install ncurses-term_5.9-6 conflicts with org.jessies.terminator

165 views
Skip to first unread message

A. Costa

unread,
Apr 13, 2012, 12:46:55 AM4/13/12
to terminator-users
An attempted upgrade of 'ncurses-term' reveals that it now has a name
conflict with 'org.jessies.terminator':

<snip>
Preparing to replace ncurses-term 5.9-4 (using .../ncurses-
term_5.9-6_all.deb) ...
Unpacking replacement ncurses-term ...
dpkg: error processing //var/cache/apt/archives/ncurses-
term_5.9-6_all.deb (--install):
trying to overwrite '/usr/share/terminfo/t/terminator', which is also
in package org.jessies.terminator 6.105.3267
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
//var/cache/apt/archives/ncurses-term_5.9-6_all.deb
<snip>

Since 'ncurses-term' is a "Priority: standard", I'd suppose that
future versions of 'org.jessies.terminator' should surrender the
filename '/usr/share/terminfo/t/terminator' to it, if feasible.

HTH...

Ed Porter

unread,
Apr 13, 2012, 1:34:52 PM4/13/12
to terminator-users, A. Costa

A quick look at the Terminfo source ( http://invisible-island.net/datafiles/current/terminfo.src.gz ) reveals it to be our terminfo, albeit with some modifications:


### TERMINATOR
# http://software.jessies.org/terminator/
# Tested using their Debian package org.jessies.terminator 6.104.3256 on 64-bit
# Debian/current -TD (2011/8/20)
#
# There are some packaging problems:
# a) using Java, the program starts off using 50Mb, and climbs from there,
# up to 114Mb after testing (no scrollback).
# b) it insists on reinstalling its terminal description in $HOME/.terminfo
# (two copies, just in case the host happens to be Mac OS X).
# I deleted this after testing with tack.
#
# Issues/features found with tack:
# a) tbc does not work (implying that hts also is broken).
# Comparing with the tabs utility shows a problem with the last tabstop on
# a line.
# b) has xterm-style shifted function-key strings
# meta also is used, but control is ignored.
# c) has xterm-style modifiers for cursor keys (shift, control, shift+control, meta)
# d) some combinations of shift/control send xterm-style sequences for
# insert/delete/home/end.
# e) numeric keypad sends only numbers (compare with vttest).
# f) meta mode (km) is not implemented.
#
# Issues found with ncurses test-program:
# a) bce is inconsistently implemented
# b) widths of Unicode values above 256 do not always agree with wcwidth.
#
# Checked with vttest, found low degree of compatibility there.
#
# Checked with xterm's scripts, found that the 256-color palette is fixed.
#
# Fixes:
# a) add sgr string
# b) corrected sgr0 to reset alternate character set
# c) modified smacs/rmacs to use SCS rather than SI/SO
# d) removed bce
# e) removed km
terminator|Terminator no line wrap,
eo, mir, msgr, xenl, xon,
colors#256, cols#80, it#8, lines#24, lm#0, pairs#32767,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bold=\E[1m, civis=\E[?25l, clear=\E[H\E[2J,
cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr,
cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\007, ed=\E[J, el=\E[K,
el1=\E[1K, enacs=\E(B\E)0, flash=^G, fsl=^G, home=\E[H,
hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L,
ind=^J, is1=\E[?47l\E=\E[?1l,
is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
kf15=\E[28~, kf16=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~,
op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=\E(B,
rmcup=\E[?47l\E8, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m,
rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
s0ds=\E(B, s1ds=\E(0, sc=\E7, setab=\E[48;5;%p1%dm,
setaf=\E[38;5;%p1%dm,
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%;m%?%p9%t\E(0%e\E(B%;,
sgr0=\E[m\E(B, smacs=\E(0, smcup=\E7\E[?47h, smir=\E[4h,
smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]2;%p1,
vpa=\E[%i%p1%dd,


-ed

A. Costa

unread,
May 2, 2012, 12:10:02 AM5/2/12
to terminator-users
How to fix this from the root user level (tho' the package ought to be
fixed too):

1) Uninstall: cupt purge org.jessies.terminator

2) Add diversion: dpkg-divert --package org.jessies.terminator --add /
usr/share/terminfo/t/terminator

3) Reinstall: cupt install org.jessies.terminator

I use the 'cupt' package manager, but replacing that with 'apt-get' or
whatever should also work.

mad

unread,
Oct 27, 2013, 5:40:28 PM10/27/13
to terminat...@googlegroups.com, agc...@gmx.net
> the package ought to be fixed too

I can't say it's "fixed", given the earlier messages in this thread about the flaws in our terminfo and the probably sensible suggestion that we defer to the master, but I have now tried to automate this diversion, which doesn't defer to ncurses-term, in the package.  Thanks.  Sorry that's so belated.
Reply all
Reply to author
Forward
0 new messages